Package: gdb
Version: 6.8-3
Tags: patch
User: [EMAIL PROTECTED]
Usertags: origin-ubuntu ubuntu-patch intrepid

Hi!

With more recent glibc and gcc versions, gdb stack traces for stripped
binaries have become by and large useless. Most stack traces just have
a few ?? in them, and not even function names or libraries (which must
be present *somewhere* after all, otherwise the dynamic linker
couldn't even work).

This problem has been discussed in depth in a SUSE bug:
https://bugzilla.novell.com/show_bug.cgi?id=390722

Michael Matz wrote a patch which makes gdb resolve a lot more symbols.
I can't claim that I understand it at all, but since nobody from
Novell submitted this upstream, I play the messenger here. Please have
a look there for the entire discussion.

I monkey-patched it to cover x86_64 as well, and it works well for me:

http://patches.ubuntu.com/g/gdb/extracted/handle-nodebuginfo-better.patch

(See https://launchpad.net/bugs/111869)

I originally tried to create an upstream bug report, and just tried it
again, but this horrible piece of bug tracker [1] just sends them into
oblivion. So I send it here, maybe you know how to drive this thing.
:-)

Thank you!

[1] http://sourceware.org/cgi-bin/gnatsweb.pl?cmd=create&database=gdb

-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to