From: Jan Kratochvil <jan.kratochvil@redhat.com>
To: Jon Grant <jg@jguk.org>
Cc: gdb@sourceware.org
Subject: Re: gdb backtrace include library as well as symbol name
Date: Mon, 26 Sep 2011 06:33:00 -0000 [thread overview]
Message-ID: <20110926063307.GA1031@host1.jankratochvil.net> (raw)
In-Reply-To: <4E7FAB5E.5020705@jguk.org>
On Mon, 26 Sep 2011 00:29:50 +0200, Jon Grant wrote:
> Is there a way to get the "bt" command to output the library or ELF
> binary file that the symbol orginates in? Would be handy if this
> could even be the default:
Yes, this is common RFE. It was discussed in the thread:
Re: [patch] GDB 7.2: new feature for "backtrace" that cuts path to file (remain filename)
http://sourceware.org/ml/gdb-patches/2011-07/msg00796.html
> #0 0xb7773424 in __kernel_vsyscall ()
> #0 Doesn't show lib. I think this is glibc.
It is Linux kernel provided [vdso], it has DWARF info.
Regards,
Jan
next prev parent reply other threads:[~2011-09-26 6:33 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-25 22:30 Jon Grant
2011-09-26 6:33 ` Jan Kratochvil [this message]
2011-09-26 15:36 ` Joel Brobecker
2011-10-05 18:47 ` Tom Tromey
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20110926063307.GA1031@host1.jankratochvil.net \
--to=jan.kratochvil@redhat.com \
--cc=gdb@sourceware.org \
--cc=jg@jguk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).