aboutsummaryrefslogtreecommitdiff
path: root/gdb/symtab.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/symtab.c')
-rw-r--r--gdb/symtab.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/symtab.c b/gdb/symtab.c
index adf9e08..79c5fde 100644
--- a/gdb/symtab.c
+++ b/gdb/symtab.c
@@ -839,7 +839,7 @@ symbol_set_names (struct general_symbol_info *gsymbol,
{
/* In Ada, we do the symbol lookups using the mangled name, so
we can save some space by not storing the demangled name. */
- if (!copy_name && linkage_name_copy == linkage_name)
+ if (!copy_name)
gsymbol->name = linkage_name;
else
{