]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gdb/coffread.c
Slightly simplify minsym creation
authorTom Tromey <tom@tromey.com>
Sat, 2 Mar 2019 00:37:30 +0000 (17:37 -0700)
committerTom Tromey <tom@tromey.com>
Fri, 15 Mar 2019 22:02:07 +0000 (16:02 -0600)
commit3db066bcd5bac9a8d6be85ea4cfa8f52dbdcc600
treef02e90d1b855a0277be4e00d47a0bc615bcf3b0c
parent2219ae0b0ebe14373850b000c2abaa31dab1d741
Slightly simplify minsym creation

Only one caller of minimal_symbol_reader::record_with_info was using
the return value, so this patch simplifies this code by having it
return void and changing that caller to use record_full instead.

gdb/ChangeLog
2019-03-15  Tom Tromey  <tom@tromey.com>

* minsyms.h (class minimal_symbol_reader) <record_with_info>:
Don't return the symbol.
* coffread.c (record_minimal_symbol): Use record_full.
gdb/ChangeLog
gdb/coffread.c
gdb/minsyms.h