[1933] in Athena Bugs
(RTPC) Version 6.1B: dbx dumps core
daemon@ATHENA.MIT.EDU (Jonathan I. Kamens)
Mon Mar 20 07:36:33 1989
Date: Mon, 20 Mar 89 07:36:18 EST
From: Jonathan I. Kamens <jik@ATHENA.MIT.EDU>
To: bugs@ATHENA.MIT.EDU
System type, version: (RTPC) Version 6.1B
System name: pit-manager
What's wrong:
This has happened to me numerous times. I compile a binary with
symbol tables and try to run it under dbx on my RT:
pit-manager% dbx xscreensaver
dbx version 3.5 of 3/3/89 20:31 (minos).
Type 'help' for help.
reading symbolic information ...Segmentation violation (core dumped)
Not only is it somewhat irritating to have a debugger dump core, it's
worse when you're trying to use that debugger to find out the origin
of a core dump in the current working directory -- the new core file
overwrites the old one, and you lose.
I wanted to run the core dump of dbx through dbx using a version of
dbx with a symbol table, but of course there's no unstripped version
of dbx in /minos/source/rt/ucb/dbx. Is there one anywhere?
What should have happened:
1) Dbx should not core dump.
2) The source directories should have an unstripped dbx.
3) My program should work right the first time so I don't have to use
dbx at all :-)
I have preserved the binary that causes dbx to dump core and will
gladly illustrate this to any and all interested parties.
jik