From 78485d59c67238c52451c48fe22fed2b865ef4e2 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Thu, 26 Mar 2009 01:27:45 +0000 Subject: * gdbtypes.h (CHECK_TYPEDEF): Don't yield a value. * stack.c (print_this_frame_argument_p): Use check_typedef. --- gdb/stack.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gdb/stack.c') diff --git a/gdb/stack.c b/gdb/stack.c index 8146979..bf9e576 100644 --- a/gdb/stack.c +++ b/gdb/stack.c @@ -181,9 +181,9 @@ print_this_frame_argument_p (struct symbol *sym) /* The user asked to print only the scalar arguments, so do not print the non-scalar ones. */ - type = CHECK_TYPEDEF (SYMBOL_TYPE (sym)); + type = check_typedef (SYMBOL_TYPE (sym)); while (TYPE_CODE (type) == TYPE_CODE_REF) - type = CHECK_TYPEDEF (TYPE_TARGET_TYPE (type)); + type = check_typedef (TYPE_TARGET_TYPE (type)); switch (TYPE_CODE (type)) { case TYPE_CODE_ARRAY: -- cgit v1.1