diff options
author | Doug Evans <xdje42@gmail.com> | 2015-09-18 22:30:22 -0700 |
---|---|---|
committer | Doug Evans <xdje42@gmail.com> | 2015-09-18 22:30:22 -0700 |
commit | 615b3f6299d95db8507b2a68dda2704d08bcd1d0 (patch) | |
tree | 1acc00a504a234ba224064686870d74467fdff20 /gdb/symtab.c | |
parent | 015d2e7e49056e0d5fea1c18bf8de9b1be7c096f (diff) | |
download | gdb-615b3f6299d95db8507b2a68dda2704d08bcd1d0.zip gdb-615b3f6299d95db8507b2a68dda2704d08bcd1d0.tar.gz gdb-615b3f6299d95db8507b2a68dda2704d08bcd1d0.tar.bz2 |
symtab.h (general_symbol_info) <mangled_lang>: delete and move up only member.
gdb/ChangeLog:
* symtab.h (general_symbol_info) <mangled_lang>: Delete struct,
move only member demangled_name up. All uses updated.
Diffstat (limited to 'gdb/symtab.c')
-rw-r--r-- | gdb/symtab.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/symtab.c b/gdb/symtab.c index f65e809..90204cd 100644 --- a/gdb/symtab.c +++ b/gdb/symtab.c @@ -596,11 +596,11 @@ symbol_set_demangled_name (struct general_symbol_info *gsymbol, else { gsymbol->ada_mangled = 1; - gsymbol->language_specific.mangled_lang.demangled_name = name; + gsymbol->language_specific.demangled_name = name; } } else - gsymbol->language_specific.mangled_lang.demangled_name = name; + gsymbol->language_specific.demangled_name = name; } /* Return the demangled name of GSYMBOL. */ @@ -615,7 +615,7 @@ symbol_get_demangled_name (const struct general_symbol_info *gsymbol) /* Fall through. */ } - return gsymbol->language_specific.mangled_lang.demangled_name; + return gsymbol->language_specific.demangled_name; } |