aboutsummaryrefslogtreecommitdiff
path: root/gdb/dwarf2read.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2009-03-20 22:00:11 +0000
committerTom Tromey <tromey@redhat.com>2009-03-20 22:00:11 +0000
commitcb249c71f6bfb565578d4258eaab9144a45716fe (patch)
treebdd83d740e1e8665d41cb61f8db67d4f22a2779c /gdb/dwarf2read.c
parent4bf27aa9bace1519a934017fe12cdc5a60da43ad (diff)
downloadgdb-cb249c71f6bfb565578d4258eaab9144a45716fe.zip
gdb-cb249c71f6bfb565578d4258eaab9144a45716fe.tar.gz
gdb-cb249c71f6bfb565578d4258eaab9144a45716fe.tar.bz2
2009-03-20 Tom Tromey <tromey@redhat.com>
Jan Kratochvil <jan.kratochvil@redhat.com> * dwarf2read.c (process_die): Handle DW_TAG_typedef. * eval.c (evaluate_subexp_standard) <OP_TYPE>: Strip a single typedef. * ada-lang.c (decode_packed_array_type): Call CHECK_TYPEDEF on the SYMBOL_TYPE result. * ada-typeprint.c (print_array_type): Do the NULL check unconditionally.
Diffstat (limited to 'gdb/dwarf2read.c')
-rw-r--r--gdb/dwarf2read.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c
index feb57b0..cf8f458 100644
--- a/gdb/dwarf2read.c
+++ b/gdb/dwarf2read.c
@@ -2849,6 +2849,7 @@ process_die (struct die_info *die, struct dwarf2_cu *cu)
case DW_TAG_base_type:
case DW_TAG_subrange_type:
+ case DW_TAG_typedef:
/* Add a typedef symbol for the type definition, if it has a
DW_AT_name. */
new_symbol (die, read_type_die (die, cu), cu);