projects
/
binutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0bc1fe3
)
Send minsym logging to gdb_stdlog
author
Tom Tromey
<tom@tromey.com>
Mon, 27 Dec 2021 01:37:58 +0000
(18:37 -0700)
committer
Tom Tromey
<tom@tromey.com>
Wed, 29 Dec 2021 17:47:48 +0000
(10:47 -0700)
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
gdb/minsyms.c
patch
|
blob
|
blame
|
history
diff --git
a/gdb/minsyms.c
b/gdb/minsyms.c
index 5f4cf54c66378aa0bedfaff573aa5375b7d55913..d3a5fb40e5a5cc47d1176860773e39fa7dcb2b94 100644
(file)
--- 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)
{
This page took
0.032358 seconds
and
4
git commands to generate.