diff options
author | Tom Tromey <tom@tromey.com> | 2020-04-24 15:35:01 -0600 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2020-04-24 15:35:04 -0600 |
commit | 7151c1af38e250fa4d024fa53f1cd5b3fc199314 (patch) | |
tree | 6aadcdd62889c14c77f421d9dd7f7b1a4930402b /gdb/symtab.h | |
parent | 906bb4c58faa8e2c1c62e295f8054e75e910e5e8 (diff) | |
download | gdb-7151c1af38e250fa4d024fa53f1cd5b3fc199314.zip gdb-7151c1af38e250fa4d024fa53f1cd5b3fc199314.tar.gz gdb-7151c1af38e250fa4d024fa53f1cd5b3fc199314.tar.bz2 |
Remove symbol_get_demangled_name
Now that symbol_get_demangled_name is only used by general_symbol_info
methods, and because these methods already check the symbol's language
to decide what to return, symbol_get_demangled_name is no longer
needed. This patch removes it.
gdb/ChangeLog
2020-04-24 Tom Tromey <tom@tromey.com>
* symtab.h (symbol_get_demangled_name): Don't declare.
* symtab.c (symbol_get_demangled_name): Remove.
(general_symbol_info::natural_name)
(general_symbol_info::demangled_name): Update.
Diffstat (limited to 'gdb/symtab.h')
-rw-r--r-- | gdb/symtab.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/gdb/symtab.h b/gdb/symtab.h index ee570f9..5c5db0f 100644 --- a/gdb/symtab.h +++ b/gdb/symtab.h @@ -542,9 +542,6 @@ struct general_symbol_info short section; }; -extern const char *symbol_get_demangled_name - (const struct general_symbol_info *); - extern CORE_ADDR symbol_overlayed_address (CORE_ADDR, struct obj_section *); /* Return the address of SYM. The MAYBE_COPIED flag must be set on |