aboutsummaryrefslogtreecommitdiff
path: root/gdb/value.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/value.c')
-rw-r--r--gdb/value.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/value.c b/gdb/value.c
index 31111cf..d1ca3dc 100644
--- a/gdb/value.c
+++ b/gdb/value.c
@@ -519,7 +519,7 @@ value_entirely_optimized_out (const struct value *value)
if (!value->optimized_out)
return 0;
if (value->lval != lval_computed
- || !value->location.computed.funcs->check_validity)
+ || !value->location.computed.funcs->check_any_valid)
return 1;
return !value->location.computed.funcs->check_any_valid (value);
}