🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gdb.bug
Article #492

Segmentation fault on symtab.c

#492
From: Shie-Rei Huang
Date: Tue, 29 Sep 1992 15:55
20 lines
1263 bytes
Dear GDB developers,

I recently upgrade my GDB to version 4.6 but ran into a new problem which
was not there in version 4.5.  I have an executable which has some C
functions linked in that are not called by the main flow of the program.
However, I use them while I am in GDB to spit out useful internal 
information for me.  When I issue "call func" in GDB 4.6, I got 
segmentation fault.  

I went to debug GDB using GDB, it fails in line 1803 of symtab.c inside
function decode_line_1().  The reason was that the variable "sym" pointing
to a symbol structure whose "value" part is NULL.  

Could you investigate this problem to see if this is a bug in GDB 4.6 or 
I did not do the right thing?  Thanks.

Shie-rei Huang
Hitachi Computer Products
s_huang@hitachi.com
408-492-9070 x-264
Technical Details
Message-ID: <9209291555.AA02748@ipd.hitachi.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!ames!elroy.jpl.nasa.gov!usc!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!ipd.hitachi.COM!shuang

Show Full Headers
Complete Article Headers
Newsgroups: gnu.gdb.bug
Path: arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!ames!elroy.jpl.nasa.gov!usc!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!ipd.hitachi.COM!shuang
From: shuang@ipd.hitachi.COM (Shie-Rei Huang)
Subject: Segmentation fault on symtab.c
Message-ID: <9209291555.AA02748@ipd.hitachi.com>
Sender: gnulists@ai.mit.edu
Organization: GNUs Not Usenet
Distribution: gnu
Date: Tue, 29 Sep 1992 15:55:18 GMT
Approved: bug-gdb@prep.ai.mit.edu
Lines: 21