home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: gnu.gdb.bug
- Path: sparky!uunet!convex!darwin.sura.net!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!matis.UUCP!amir
- From: amir@matis.UUCP (Amir Katz)
- Subject: gdb 4.6 and Sun 'acc' - matter and anti-matter?
- Message-ID: <9209081008.AA10360@simpson.ingr.com>
- Sender: gnulists@ai.mit.edu
- Reply-To: matis!amir@ai.mit.edu
- Organization: SEE Technologies Ltd.
- Distribution: gnu
- Date: Tue, 8 Sep 1992 12:08:41 GMT
- Approved: bug-gdb@prep.ai.mit.edu
- Lines: 35
-
- Gdb people,
- [I've posted this twice, but have not seen it appear, maybe due to mailer
- problems, so I'm reposting. Sorry for wasted bandwidth, if any.]
-
- If I compile anything with Sun ANSI-C compiler, [version "SC1.0 1Mar1991"],
- gdb 4.6 dumps core (seg. fault) when it tries to debug the executable.
- It only happens if the source was compiled with -g.
- Am I correct in assuming that the format of symbol information in the object
- files is different and gdb does not support it (yet)?
- BTW, Sun's plain-vanilla dbx (not the one that comes with the compiler) does
- not crash.
-
- Here's a backtrace of gdb when it crashed:
-
- #0 0x2b680 in decode_line_1 (argptr=0xf7fff514, funfirstline=1, default_symtab=0x0,
- default_line=0) at symtab.c:1803
- #1 0x2b9d0 in decode_line_spec (string=0x1051b9 "", funfirstline=1) at symtab.c:1883
- #2 0xfdac in select_source_symtab (s=0x0) at source.c:138
- #3 0x2b2e4 in decode_line_1 (argptr=0xf7fff70c, funfirstline=1, default_symtab=0x0,
- default_line=0) at symtab.c:1727
- #4 0x9df0 in break_command_1 (arg=0x15498b "4395", tempflag=0, from_tty=0) at breakpoint.c:1493
- #5 0xa1bc in break_command (arg=0x15498b "4395", from_tty=0) at breakpoint.c:1578
- #6 0x363c in execute_command (p=0x15498b "4395", from_tty=0) at main.c:915
- #7 0x38e0 in command_loop () at main.c:976
- #8 0x25a4 in read_command_file (stream=0x12ded4) at main.c:409
- #9 0x5730 in source_command (args=0x1005d8 ".gdbinit", from_tty=0) at main.c:2009
- #10 0x32a0 in main (argc=2, argv=0xf7fffa84) at main.c:816
-
- --
- /* ----------------------------------------------------------- */
- /* Amir J. Katz | amir@matis.ingr.COM */
- /* System Specialist | Voice: +972 52-584684 */
- /* SEE Technologies Ltd. | Fax: +972 52-543917 */
- /* ............ Solaris 2.0 - The Final Frontier ? ........... */
-
-