diff options
Diffstat (limited to 'gdb/darwin-nat-info.c')
-rw-r--r-- | gdb/darwin-nat-info.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/darwin-nat-info.c b/gdb/darwin-nat-info.c index d4dba55..9e56207 100644 --- a/gdb/darwin-nat-info.c +++ b/gdb/darwin-nat-info.c @@ -724,7 +724,7 @@ info_mach_region_command (const char *exp, int from_tty) expression_up expr = parse_expression (exp); val = evaluate_expression (expr.get ()); - if (TYPE_IS_REFERENCE (value_type (val))) + if (TYPE_IS_REFERENCE (val->type ())) { val = value_ind (val); } |