mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-21 01:12:32 +08:00
* value.c (value_entirely_optimized_out): Check the
'check_any_valid' field.
This commit is contained in:
parent
8c21d9c72e
commit
ba19bb4d8d
@ -1,3 +1,8 @@
|
||||
2010-11-17 Tom Tromey <tromey@redhat.com>
|
||||
|
||||
* value.c (value_entirely_optimized_out): Check the
|
||||
'check_any_valid' field.
|
||||
|
||||
2010-11-16 Jan Kratochvil <jan.kratochvil@redhat.com>
|
||||
|
||||
* ada-lang.c (modify_general_field): Remove.
|
||||
|
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user