aboutsummaryrefslogtreecommitdiff
path: root/gdb/expprint.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/expprint.c')
-rw-r--r--gdb/expprint.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gdb/expprint.c b/gdb/expprint.c
index 5949475..3131044 100644
--- a/gdb/expprint.c
+++ b/gdb/expprint.c
@@ -388,8 +388,7 @@ print_subexp_standard (struct expression *exp, int *pos,
its type; print the value in the type of the MEMVAL. */
(*pos) += 4;
val = value_at_lazy (exp->elts[pc + 1].type,
- (CORE_ADDR) exp->elts[pc + 5].longconst,
- NULL);
+ (CORE_ADDR) exp->elts[pc + 5].longconst);
value_print (val, stream, 0, Val_no_prettyprint);
}
else