aboutsummaryrefslogtreecommitdiff
path: root/gdb/d-valprint.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/d-valprint.c')
-rw-r--r--gdb/d-valprint.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/d-valprint.c b/gdb/d-valprint.c
index 89efb05..5f4df32 100644
--- a/gdb/d-valprint.c
+++ b/gdb/d-valprint.c
@@ -80,7 +80,7 @@ d_val_print (struct type *type, const gdb_byte *valaddr, int embedded_offset,
{
int ret;
- CHECK_TYPEDEF (type);
+ type = check_typedef (type);
switch (TYPE_CODE (type))
{
case TYPE_CODE_STRUCT: