[PATCH] Add "set debug minsyms" command
Simon Marchi
simon.marchi@polymtl.ca
Wed Dec 26 17:24:00 GMT 2018
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
More information about the Gdb-patches
mailing list