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 4617630..fadbc5b 100644
--- a/gdb/c-valprint.c
+++ b/gdb/c-valprint.c
@@ -210,7 +210,7 @@ print_unpacked_pointer (struct type *type, struct type *elttype,
if (wsym)
{
- wtype = SYMBOL_TYPE (wsym);
+ wtype = wsym->type ();
}
else
{