aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2021-12-26 18:37:58 -0700
committerTom Tromey <tom@tromey.com>2021-12-29 10:47:48 -0700
commited670d411821495478cf5e1a9e870cabd03b4cf6 (patch)
treecb3dce1067e2b088c0ee4062381bb97a0fcba663 /gdb
parent0bc1fe382ec7e9b68f9331e5c74586fa88e0199c (diff)
downloadfsf-binutils-gdb-ed670d411821495478cf5e1a9e870cabd03b4cf6.zip
fsf-binutils-gdb-ed670d411821495478cf5e1a9e870cabd03b4cf6.tar.gz
fsf-binutils-gdb-ed670d411821495478cf5e1a9e870cabd03b4cf6.tar.bz2
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
Diffstat (limited to 'gdb')
-rw-r--r--gdb/minsyms.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/gdb/minsyms.c b/gdb/minsyms.c
index 5f4cf54..d3a5fb4 100644
--- a/gdb/minsyms.c
+++ b/gdb/minsyms.c
@@ -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)
{