aboutsummaryrefslogtreecommitdiff
path: root/gdb/dwarf2read.c
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2010-07-21 18:08:27 +0000
committerPedro Alves <palves@redhat.com>2010-07-21 18:08:27 +0000
commit23bd0f7c5e23178ccc1c00925813c8e6f17c5eb2 (patch)
tree4cfdfb22181a0c5593cc9c8bc98338a991cb338a /gdb/dwarf2read.c
parentae30dc00b43017845ab092fd3fbb2004bfb36d63 (diff)
downloadgdb-23bd0f7c5e23178ccc1c00925813c8e6f17c5eb2.zip
gdb-23bd0f7c5e23178ccc1c00925813c8e6f17c5eb2.tar.gz
gdb-23bd0f7c5e23178ccc1c00925813c8e6f17c5eb2.tar.bz2
gdb/
2010-07-21 Pedro Alves <pedro@codesourcery.com> PR symtab/11827 Revert: 2010-05-21 Pierre Muller <muller@ics.u-strasbg.fr> * dwarf2read.c (process_die): Also allow DW_TAG_const_type and DW_TAG_volatile_type. (new_symbol): Likewise. gdb/testsuite/ 2010-07-21 Pedro Alves <pedro@codesourcery.com> PR symtab/11827 * gdb.base/printcmds.c (enum some_volatile_enum): New enum. (some_volatile_enum): New variable. * gdb.base/printcmds.exp (test_print_enums): New. <top level>: Call it.
Diffstat (limited to 'gdb/dwarf2read.c')
-rw-r--r--gdb/dwarf2read.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c
index 288d777..9387964 100644
--- a/gdb/dwarf2read.c
+++ b/gdb/dwarf2read.c
@@ -4192,8 +4192,6 @@ process_die (struct die_info *die, struct dwarf2_cu *cu)
case DW_TAG_base_type:
case DW_TAG_subrange_type:
case DW_TAG_typedef:
- case DW_TAG_const_type:
- case DW_TAG_volatile_type:
/* Add a typedef symbol for the type definition, if it has a
DW_AT_name. */
new_symbol (die, read_type_die (die, cu), cu);
@@ -10001,8 +9999,6 @@ new_symbol (struct die_info *die, struct type *type, struct dwarf2_cu *cu)
break;
case DW_TAG_base_type:
case DW_TAG_subrange_type:
- case DW_TAG_const_type:
- case DW_TAG_volatile_type:
SYMBOL_CLASS (sym) = LOC_TYPEDEF;
SYMBOL_DOMAIN (sym) = VAR_DOMAIN;
add_symbol_to_list (sym, cu->list_in_scope);