From: Simon Marchi <simon.marchi@polymtl.ca>
To: Eli Zaretskii <eliz@gnu.org>
Cc: tom@tromey.com, jhb@freebsd.org, gdb-patches@sourceware.org
Subject: Re: [PATCH] Add "set debug minsyms" command
Date: Wed, 26 Dec 2018 17:24:00 -0000 [thread overview]
Message-ID: <5502e4a5-5df6-d240-fc30-536e54d330f2@polymtl.ca> (raw)
In-Reply-To: <83tvj06wa8.fsf@gnu.org>
On 2018-12-26 12:19 p.m., Eli Zaretskii wrote:
> Btw, when I "set debug symtab-create 1" (or even a very large value),
> I see no symbols, just the files from which those symbols are loaded.
> Where's the code that shows the symbols? Could it be that this
> happens only on ELF platforms?
I use "set debug symtab-create 2" and see lines like:
Recording minsym: mst_text 0x403578 0 EnterCriticalSection
The code that prints this is in minsyms.c line 1143, function
minimal_symbol_reader::record_full [1]. It should be common to all binary formats.
Maybe you are based on an older commit? This was added last week.
Simon
[1] https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=blob;f=gdb/minsyms.c;h=e0f3122a974f5547f732ffd952ee0b56ae8189fb;hb=HEAD#l1142
next prev parent reply other threads:[~2018-12-26 17:24 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20181221214706.26981-1-simon.marchi@ericsson.com>
2018-12-21 21:59 ` John Baldwin
2018-12-21 23:07 ` Simon Marchi
[not found] ` <798386c1-43f5-862e-1ee4-6e439ccf3133@FreeBSD.org>
2018-12-22 2:20 ` Simon Marchi
2018-12-22 7:29 ` Eli Zaretskii
2018-12-22 15:17 ` Simon Marchi
2018-12-24 20:51 ` Tom Tromey
2018-12-26 16:43 ` Simon Marchi
2018-12-26 17:19 ` Eli Zaretskii
2018-12-26 17:24 ` Simon Marchi [this message]
2018-12-26 18:48 ` Eli Zaretskii
2018-12-29 18:55 ` 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=5502e4a5-5df6-d240-fc30-536e54d330f2@polymtl.ca \
--to=simon.marchi@polymtl.ca \
--cc=eliz@gnu.org \
--cc=gdb-patches@sourceware.org \
--cc=jhb@freebsd.org \
--cc=tom@tromey.com \
/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