aboutsummaryrefslogtreecommitdiff
path: root/gdb/c-valprint.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/c-valprint.c')
-rw-r--r--gdb/c-valprint.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/c-valprint.c b/gdb/c-valprint.c
index d76a206..2009e95 100644
--- a/gdb/c-valprint.c
+++ b/gdb/c-valprint.c
@@ -488,7 +488,7 @@ c_val_print (struct type *type, const gdb_byte *valaddr,
{
struct type *unresolved_type = type;
- CHECK_TYPEDEF (type);
+ type = check_typedef (type);
switch (TYPE_CODE (type))
{
case TYPE_CODE_ARRAY: