Use setter and getter for demangled_name.
authorSami Wagiaalla <swagiaal@redhat.com>
Fri, 16 Jul 2010 19:00:56 +0000 (19:00 +0000)
committerSami Wagiaalla <swagiaal@redhat.com>
Fri, 16 Jul 2010 19:00:56 +0000 (19:00 +0000)
commitb250c185b3caee6fe956a82b5a5e3fb333eac4fd
tree246eef89103cf70adf3118f9a33fc327104549de
parentafa167257180d762c37b049af6ac6dd9ac0e7dbc
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.
gdb/ChangeLog
gdb/dwarf2read.c
gdb/symtab.c
gdb/symtab.h