diff options
author | Tom Tromey <tom@tromey.com> | 2018-05-16 21:52:04 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2018-10-04 13:40:10 -0600 |
commit | 22068491adac735905948fd4c2e9aaacf9e22e06 (patch) | |
tree | 13bb37631065cb21ef3f0e71a5a8e98de685dc39 /gprof/README | |
parent | 9fdd7193e7fd041e9ff311a69dc02aecef53070f (diff) | |
download | gdb-22068491adac735905948fd4c2e9aaacf9e22e06.zip gdb-22068491adac735905948fd4c2e9aaacf9e22e06.tar.gz gdb-22068491adac735905948fd4c2e9aaacf9e22e06.tar.bz2 |
Use filtered printing when reading symbols
While working on this series, I found some unfiltered prints that
didn't make sense -- many things, like complaints, are filtered, while
their context (in this case the "Reading symbols ..." messages) may
not be.
This patch changes some spots in symbol reading to use filtered
prints. I think this is preferable overall; in fact I'd go farther
and say that unfiltered printing should just be removed.
One of these spots was not strictly related (the change to
dump_psymtab), but I left it in partly because it makes psymtab.c
"unfiltered-clean", and partly because it is an example of filtered
and unfiltered printing being mixed in the same function.
gdb/ChangeLog
2018-10-04 Tom Tromey <tom@tromey.com>
* symfile.c (symbol_file_add_with_addrs, symbol_file_clear)
(separate_debug_file_exists, find_separate_debug_file)
(add_symbol_file_command, reread_symbols, allocate_symtab)
(allocate_compunit_symtab): Use filtered printing, not
unfiltered.
* psymtab.c (require_partial_symbols, dump_psymtab)
(allocate_psymtab): Use filtered printing, not unfiltered.
Diffstat (limited to 'gprof/README')
0 files changed, 0 insertions, 0 deletions