diff options
author | Tom Tromey <tom@tromey.com> | 2019-03-02 13:19:44 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2019-11-26 14:02:57 -0700 |
commit | 5a79c10755d00b71b33b8715e5a665bfd78c9222 (patch) | |
tree | c87caab20f43574be702e9acbb017f19e6f44d65 /gdb/frame.c | |
parent | aa36950904393728b2d5e75fb5bca7a25418c00f (diff) | |
download | gdb-5a79c10755d00b71b33b8715e5a665bfd78c9222.zip gdb-5a79c10755d00b71b33b8715e5a665bfd78c9222.tar.gz gdb-5a79c10755d00b71b33b8715e5a665bfd78c9222.tar.bz2 |
Defer minimal symbol name-setting
Currently the demangled name of a minimal symbol is set when creating
the symbol. However, there is no intrinsic need to do this. This
patch instead arranges for the demangling to be done just before the
minsym hash tables are filled. This will be useful in a later patch.
gdb/ChangeLog
2019-11-26 Tom Tromey <tom@tromey.com>
* symtab.h (struct minimal_symbol) <name_set>: New member.
* minsyms.c (minimal_symbol_reader::record_full): Copy name.
Don't call symbol_set_names.
(minimal_symbol_reader::install): Call symbol_set_names.
Change-Id: I4fe3993b99fb3a43968067806e294d48e377fd76
Diffstat (limited to 'gdb/frame.c')
0 files changed, 0 insertions, 0 deletions