diff options
author | Tom Tromey <tromey@redhat.com> | 2009-03-20 22:00:11 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2009-03-20 22:00:11 +0000 |
commit | cb249c71f6bfb565578d4258eaab9144a45716fe (patch) | |
tree | bdd83d740e1e8665d41cb61f8db67d4f22a2779c /gdb/ada-lang.c | |
parent | 4bf27aa9bace1519a934017fe12cdc5a60da43ad (diff) | |
download | gdb-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/ada-lang.c')
-rw-r--r-- | gdb/ada-lang.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/ada-lang.c b/gdb/ada-lang.c index b95a303..e4fdd24 100644 --- a/gdb/ada-lang.c +++ b/gdb/ada-lang.c @@ -1783,6 +1783,7 @@ decode_packed_array_type (struct type *type) return NULL; } shadow_type = SYMBOL_TYPE (sym); + CHECK_TYPEDEF (shadow_type); if (TYPE_CODE (shadow_type) != TYPE_CODE_ARRAY) { |