This is the mail archive of the
gdb-prs@sources.redhat.com
mailing list for the GDB project.
gdb/174: GDB cannot read debugging symbols of small shared libraries
- To: gdb-gnats at sources dot redhat dot com
- Subject: gdb/174: GDB cannot read debugging symbols of small shared libraries
- From: Christophe dot BERNARD at cmm dot ensmp dot fr
- Date: 13 Jul 2001 16:30:24 -0000
- Reply-To: Christophe dot BERNARD at cmm dot ensmp dot fr
>Number: 174
>Category: gdb
>Synopsis: GDB cannot read debugging symbols of small shared libraries
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Jul 13 09:38:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: Christophe BERNARD
>Release: gdb-5.0 and later releases
>Organization:
>Environment:
Linux (Redhat 7.1) gcc-2.95, kernel 2-4.4
>Description:
See attached archive for an example.
When stepping through the program 'main', displaying the symbol
'test' (defined in the shared library 'test.so') gives
'text variable, no debug info', instead of a type information.
like "{void ()} 0x40013580 <test>".
Moreover, it is not possible to set a breakpoint in that
function. This worked in the previous version of gdb (4.18)
is was using. So I believe this bug was introduced in some
rewriting of the GDB code.
>How-To-Repeat:
make
gdb ./test
break main
r
n
p test
break test
scratch head
>Fix:
I wish I knew how to fix that.
>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/x-tar; name="test-so.tar.gz"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="test-so.tar.gz"
H4sIAPIgTzsAA+2WT2vbMBjGfbU+hfB2kEvtynbiQNrsUNqNwbbCmnWXQVEkOTFV5GA7hTD63SdL
zlJKWU/JaHl/B1v/nlfC8Dzy9PJ6en118pXdyaJU0tsHNKE0Hww8ahjl7p30/Y4szTw6Ms88NW1q
1mem62G6l9M8Yd20rMbYm8las1r8Y52sm0Mc6LBcXJ7/+DSJ5nMxyxBiSo3xkpUat7Jp46ZCqOu5
sZgjf845fk+sKOwHcaSEwlFluwj1wrGrUDlJ1CxYLcVO6iY71d+N3FCv67eK+BMJR4gryfQY+fUS
R8XusNtCGP3vT/qqmDr/u4+7pz1e8n+SJp3/aZrnSZINzfp0mFPw/yF4V2qu1kLis6YVZRUvPiB0
X5XC2ol0rfA38ld1qduCBJ+N1xYSC1WtpDZ+VuWsZvUGx/EvHYSn6AGB+14Xvf9dlO9pjxfv/2G6
9X86ogPr/ywH/x+CZ/y/GxKq4NpGQrtZSSELbKOBHN18XGseung4df8IJEQmKOz80YJpoeSkzwkS
xCf95Rwc4+/TLxe3365+Gp1vy+BigokrKFSzWRKnPg46TRcqj9PHXvfbtPEL8nj6nPE7XD675gH5
EEwAAAAAAAAAAAAAAAAAAAAAAAAAALxx/gAzdv2YACgAAA==