diff options
author | Sami Wagiaalla <swagiaal@redhat.com> | 2010-07-16 19:00:56 +0000 |
---|---|---|
committer | Sami Wagiaalla <swagiaal@redhat.com> | 2010-07-16 19:00:56 +0000 |
commit | b250c185b3caee6fe956a82b5a5e3fb333eac4fd (patch) | |
tree | 246eef89103cf70adf3118f9a33fc327104549de /gdb/symtab.h | |
parent | afa167257180d762c37b049af6ac6dd9ac0e7dbc (diff) | |
download | gdb-b250c185b3caee6fe956a82b5a5e3fb333eac4fd.zip gdb-b250c185b3caee6fe956a82b5a5e3fb333eac4fd.tar.gz gdb-b250c185b3caee6fe956a82b5a5e3fb333eac4fd.tar.bz2 |
Use setter and getter for demangled_name.
2010-07-16 Sami Wagiaalla <swagiaal@redhat.com>
* symtab.h (symbol_set_demangled_name): New function.
(symbol_get_demangled_name): New function.
* symtab.c (symbol_set_demangled_name): New function.
(symbol_get_demangled_name): New function.
(symbol_init_language_specific): Use demangled_name setter and getter.
(symbol_set_names): Ditto.
(symbol_natural_name): Ditto.
(symbol_demangled_name): Ditto.
* dwarf2read.c (new_symbol): Ditto.
Diffstat (limited to 'gdb/symtab.h')
-rw-r--r-- | gdb/symtab.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/symtab.h b/gdb/symtab.h index 30de42d..7f18fb3 100644 --- a/gdb/symtab.h +++ b/gdb/symtab.h @@ -154,6 +154,10 @@ struct general_symbol_info struct obj_section *obj_section; }; +extern void symbol_set_demangled_name (struct general_symbol_info *, char *); + +extern char *symbol_get_demangled_name (const struct general_symbol_info *); + extern CORE_ADDR symbol_overlayed_address (CORE_ADDR, struct obj_section *); /* Note that all the following SYMBOL_* macros are used with the |