diff options
author | Joel Brobecker <brobecker@gnat.com> | 2005-02-15 17:13:06 +0000 |
---|---|---|
committer | Joel Brobecker <brobecker@gnat.com> | 2005-02-15 17:13:06 +0000 |
commit | 67c1c12e937f4592aa6432a2230485bc909cc1c3 (patch) | |
tree | 239fbbc517083a252413b3e5a6b678aaa45c3cad /gdb/dwarf2read.c | |
parent | 72872563bd4c90cab88d266ae303491f01dd32bc (diff) | |
download | gdb-67c1c12e937f4592aa6432a2230485bc909cc1c3.tar.gz |
* dwarf2read.c (new_symbol): Use SYMBOL_SEARCH_NAME rather than
SYMBOL_NATURAL_NAME to set type names.
Diffstat (limited to 'gdb/dwarf2read.c')
-rw-r--r-- | gdb/dwarf2read.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); } } |