From: Jonny Grant <jg@jguk.org>
To: gdb@sourceware.org
Subject: gdb nearest symbol backtrace
Date: Wed, 21 Oct 2020 16:15:36 +0100 [thread overview]
Message-ID: <64e9012a-7609-54c8-c118-32e3e304ea88@jguk.org> (raw)
Is there a quick way to get some symbols near the backtrace in a binary without symbols? and show which binary or library it came from?
The ELF file is stripped. Can gdb figure out which libraries were loaded?
eg if i use "layout asm" I can see _ZdlPv in the assembler.
$ c++filt _ZdlPv
operator delete(void*)
It's interesting the _ZdlPv symbol wasn't stripped.
Thanks
Jonny
reply other threads:[~2020-10-21 15:15 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=64e9012a-7609-54c8-c118-32e3e304ea88@jguk.org \
--to=jg@jguk.org \
--cc=gdb@sourceware.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).