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:
Tom Tromey 2021-12-26 18:37:58 -07:00
parent 0bc1fe382e
commit ed670d4118

View File

@ -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)
{