From: Joel Brobecker Date: Tue, 15 Feb 2005 17:13:06 +0000 (+0000) Subject: * dwarf2read.c (new_symbol): Use SYMBOL_SEARCH_NAME rather than X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=77ef991de16155506c1057b349e482a86c376df8;p=binutils-gdb.git * dwarf2read.c (new_symbol): Use SYMBOL_SEARCH_NAME rather than SYMBOL_NATURAL_NAME to set type names. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 12de4c891d7..87c7d96d241 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2004-02-15 Joel Brobecker + + From Paul Hilfinger + * dwarf2read.c (new_symbol): Use SYMBOL_SEARCH_NAME rather than + SYMBOL_NATURAL_NAME to set type names. + 2005-02-15 Andrew Cagney Mark up add_com, add_info and add_prefix_cmd. diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c index ecef2b88ffd..bc430468564 100644 --- a/gdb/dwarf2read.c +++ b/gdb/dwarf2read.c @@ -6924,7 +6924,7 @@ new_symbol (struct die_info *die, struct type *type, struct dwarf2_cu *cu) this objfile, so we don't need to duplicate it for the type. */ if (TYPE_NAME (SYMBOL_TYPE (sym)) == 0) - TYPE_NAME (SYMBOL_TYPE (sym)) = SYMBOL_NATURAL_NAME (sym); + TYPE_NAME (SYMBOL_TYPE (sym)) = SYMBOL_SEARCH_NAME (sym); add_symbol_to_list (typedef_sym, list_to_add); } }