🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gdb.bug
Article #8889

gdb problem in gdb 4.5.4

#8889
From: Na Choon Piaw
Date: Wed, 15 Jul 1992 23:00
68 lines
3411 bytes
Here's the stack backtrace:

lachesis> gdb gdb2
GDB is free software and you are welcome to distribute copies of it
 under certain conditions; type "show copying" to see the conditions.
There is absolutely no warranty for GDB; type "show warranty" for details.
GDB 4.5.4, Copyright 1992 Free Software Foundation, Inc...

No symbol table is loaded.  Use the "file" command.

Setting up the environment for debugging gdb.
During symbol reading, bad block start address patched.
Breakpoint 1 at 0x39b30: file utils.c, line 279.
Breakpoint 2 at 0x4a44: file main.c, line 1615.
(top-gdb) run
Starting program: /local_mount/usr/fuji/gnu/src/gdb/gdb2 
GDB is free software and you are welcome to distribute copies of it
 under certain conditions; type "show copying" to see the conditions.
There is absolutely no warranty for GDB; type "show warranty" for details.
GDB 4.5.4, Copyright 1992 Free Software Foundation, Inc.

No symbol table is loaded.  Use the "file" command.

Setting up the environment for debugging gdb.
No symbol table is loaded.  Use the "file" command.
(gdb) cd /usr/fuji/piaw/pure/speed
Working directory /usr/fuji/piaw/pure/speed
 (canonically /local_mount/usr/fuji/piaw/pure/speed).
(gdb) file speed
Reading symbols from speed...
Program received signal 11, Segmentation fault
During symbol reading, bad block start address patched.
0x60c38 in read_dbx_symtab (section_offsets=0x25dd30, 
    objfile=0x160d08, text_addr=8224, text_size=81888)
    at ./partial-stab.h:518
518		      if (pst->textlow == 0)
(top-gdb) bt
#0  0x60c38 in read_dbx_symtab (section_offsets=0x25dd30, 
    objfile=0x160d08, text_addr=8224, text_size=81888)
    at ./partial-stab.h:518
#1  0x5dd5c in dbx_symfile_read (objfile=0x160d08, 
    section_offsets=0x25dd30, mainline=1) at ./dbxread.c:469
#2  0x2def0 in syms_from_objfile (objfile=0x160d08, addr=0, 
    mainline=1, verbo=1) at symfile.c:450
#3  0x2e194 in symbol_file_add (name=0x146f78 "speed", from_tty=1, 
    addr=0, mainline=1, mapped=0, readnow=0) at symfile.c:581
#4  0x2e4f4 in symbol_file_command (args=0x14700d "speed", from_tty=1)
    at symfile.c:682
#5  0x4114c in file_command (arg=0x14700d "speed", from_tty=1)
    at exec.c:198
#6  0x360c in execute_command (p=0x14700d "speed", from_tty=1)
    at main.c:888
#7  0x38b0 in command_loop () at main.c:949
#8  0x33b0 in main (argc=1, argv=0xf7fff92c) at main.c:826
(top-gdb) up
#1  0x5dd5c in dbx_symfile_read (objfile=0x160d08, 
    section_offsets=0x25dd30, mainline=1) at ./dbxread.c:469
469			   bfd_section_size (sym_bfd, DBX_TEXT_SECT (objfile)));
(top-gdb) 

I'm running on SPARC IPC, 24MB of RAM, running:

SunOS Release 4.1.2 (GENERIC_SMALL) #2: Wed Oct 23 10:51:14 PDT 1991

Thanks,
Piaw
"I'm afraid, by the way we grow old..."
		--- Kate Bush, "Warm and Soothing."
Technical Details
Message-ID: <9207152300.AA20953@pure.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!pure.COM!piaw

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f5053,16d621109c352,start
X-Google-Attributes: gidf5053,public
X-Google-ArrivalTime: 1992-07-16 00:50:40 PST
Newsgroups: gnu.gdb.bug
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!pure.COM!piaw
From: piaw@pure.COM (Na Choon Piaw)
Subject: gdb problem in gdb 4.5.4
Message-ID: <9207152300.AA20953@pure.com>
Sender: gnulists@ai.mit.edu
Organization: GNUs Not Usenet
Distribution: gnu
Date: Wed, 15 Jul 1992 23:00:08 GMT
Approved: bug-gdb@prep.ai.mit.edu
Lines: 69