diff options
Diffstat (limited to 'gdb/stack.c')
-rw-r--r-- | gdb/stack.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/stack.c b/gdb/stack.c index e034033..220a411 100644 --- a/gdb/stack.c +++ b/gdb/stack.c @@ -179,6 +179,8 @@ print_this_frame_argument_p (struct symbol *sym) print the non-scalar ones. */ type = CHECK_TYPEDEF (SYMBOL_TYPE (sym)); + while (TYPE_CODE (type) == TYPE_CODE_REF) + type = CHECK_TYPEDEF (TYPE_TARGET_TYPE (type)); switch (TYPE_CODE (type)) { case TYPE_CODE_ARRAY: |