* dwarf2read.c (new_symbol): Use SYMBOL_SEARCH_NAME rather than
[deliverable/binutils-gdb.git] / gdb / dwarf2read.c
index ecef2b88ffd6ac28c6bf6db9f478f47b2eed516f..bc430468564ee060cd944a902dc6c2e4b9b609d1 100644 (file)
@@ -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);
              }
          }
This page took 0.025635 seconds and 4 git commands to generate.