* dxladebug halts CDE on 4.0C
@ 1997-08-21 4:00 Peter M. Juhl
1997-08-26 4:00 ` Piergiorgio Alotto
0 siblings, 1 reply; 2+ messages in thread
From: Peter M. Juhl @ 1997-08-21 4:00 UTC (permalink / raw)
Hi,
I recently got a 433au with Digital UNIX 4.0C preinstalled. In 4.0C
the common desktop environment (CDE) is the default environment.
I tried to debug the traditional 'Hello world' program with the
various debugging tools. The program was compiled using cc -g hello.c
It works fine using dbx and ladebug. However if I try using dxladebug
the CDE halts immediately after I load my excecutable (a.out). It is
possible to start dxladebug a command line without an executable, but
as soon as the excecutable is loaded using 'Run new program' I am
brought back the the text screen as it appears just before the CDE
starts.
It is still possible to log on from another computer, so the system has
not crashed. However, if I try to use dxladebug from another computer
the CDE still halts on the 433au as I load an excecutable, and if I
try to make a step in the dxladebugger (which has not crashed at this
moment) the 433au crashes. I am not using the root account to do this.
Note that the ladebug works fine for the excecutable.
Can anyone use dxladebug on a 433au?
best regards
Peter
--
Peter M. Juhl | E-mail: pmj@dat.dtu.dk D T U
Technical University of Denmark | http://www.dat.dtu.dk/~pmj -----+
Department of Acoustic Technology | Telephone <>-<>|
Building 352 | Direct : +45 4525 3954 <>-<>|
DK-2800 Lyngby | Secretary: +45 4588 1622 <>-<>|
Denmark | Fax: +45 4588 0577 |
+------------------------------------------------------------+ /
| Insanity is hereditary. You get it from your kids. | /
+------------------------------------------------------------+ /
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: dxladebug halts CDE on 4.0C
1997-08-21 4:00 dxladebug halts CDE on 4.0C Peter M. Juhl
@ 1997-08-26 4:00 ` Piergiorgio Alotto
0 siblings, 0 replies; 2+ messages in thread
From: Piergiorgio Alotto @ 1997-08-26 4:00 UTC (permalink / raw)
To: Peter M. Juhl
Dear Peter,
I had the same problem on my 433au. Digital suggested this fix, which
actually worked:
dbx -k /vmunix
assign db_enable = 0
quit
dbx /vmunix
patch db_enable = 0
quit
in this way we modify the running version of the kernel and the kernel
file on disk. If you do not want to do this every time you rebuild the
kernel you must also comment out the line containing KDEBUG in the file
/sys/config
if I understood correctly DU4.0c has some "minor problems" and so the
kernel is compiled in some debug mode which prevents the debugger to
debug user-code
Hope this helps,
Pier
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1997-08-26 4:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-08-21 4:00 dxladebug halts CDE on 4.0C Peter M. Juhl
1997-08-26 4:00 ` Piergiorgio Alotto
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox