aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/dwarf2/read.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/gdb/dwarf2/read.c b/gdb/dwarf2/read.c
index b45afa1..94d98fe 100644
--- a/gdb/dwarf2/read.c
+++ b/gdb/dwarf2/read.c
@@ -19352,15 +19352,11 @@ new_symbol (struct die_info *die, struct type *type, struct dwarf2_cu *cu,
}
}
break;
- case DW_TAG_typedef:
- sym->set_aclass_index (LOC_TYPEDEF);
- sym->set_domain (VAR_DOMAIN);
- list_to_add = cu->list_in_scope;
- break;
case DW_TAG_unspecified_type:
if (cu->lang () == language_ada)
break;
/* FALLTHROUGH */
+ case DW_TAG_typedef:
case DW_TAG_array_type:
case DW_TAG_base_type:
case DW_TAG_subrange_type: