mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-02-17 13:10:12 +08:00
Send minsym logging to gdb_stdlog
This changes minsyms.c to send logging output to gdb_stdlog. This is part of PR gdb/7233. Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=7233
This commit is contained in:
parent
0bc1fe382e
commit
ed670d4118
@ -1187,9 +1187,10 @@ minimal_symbol_reader::record_full (gdb::string_view name,
|
||||
return (NULL);
|
||||
|
||||
if (symtab_create_debug >= 2)
|
||||
printf_unfiltered ("Recording minsym: %-21s %18s %4d %.*s\n",
|
||||
mst_str (ms_type), hex_string (address), section,
|
||||
(int) name.size (), name.data ());
|
||||
fprintf_unfiltered (gdb_stdlog,
|
||||
"Recording minsym: %-21s %18s %4d %.*s\n",
|
||||
mst_str (ms_type), hex_string (address), section,
|
||||
(int) name.size (), name.data ());
|
||||
|
||||
if (m_msym_bunch_index == BUNCH_SIZE)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user