Your message dated Sun, 15 Feb 2009 17:08:15 +0100
with message-id <[email protected]>
and subject line Re: Bug#498030: gdb: make gdb print %ebp based backtraces
has caused the Debian Bug report #498030,
regarding gdb: make gdb print %ebp based backtraces
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
498030: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=498030
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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)



--- End Message ---
--- Begin Message ---
Daniel Jacobowitz [2008-09-06  8:58 -0400]:
> Do you have an example where it makes a difference on x86_64?

I don't have had an amd64 machine at hand for a a long time, so let's
just forget about this for now. Closing.

Thanks,

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


--- End Message ---

Reply via email to