summaryrefslogtreecommitdiff
path: root/gdb/stack.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2009-03-26 01:27:44 +0000
committerTom Tromey <tromey@redhat.com>2009-03-26 01:27:44 +0000
commita7715162f759ef281588c9ddd4e54253db16305f (patch)
treed76d816222fbe3dfeb242b080fe069eb9f36349b /gdb/stack.c
parentbae36faa443bd8c26a356b7f10853ded46bfe4c5 (diff)
downloadgdb-a7715162f759ef281588c9ddd4e54253db16305f.tar.gz
* gdbtypes.h (CHECK_TYPEDEF): Don't yield a value.
* stack.c (print_this_frame_argument_p): Use check_typedef.
Diffstat (limited to 'gdb/stack.c')
-rw-r--r--gdb/stack.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/stack.c b/gdb/stack.c
index 8146979cc48..bf9e5762dd1 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: