home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / gnu / gdb / bug / 1031 < prev    next >
Encoding:
Text File  |  1992-09-08  |  2.3 KB  |  49 lines

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