diff options
author | Tom Tromey <tromey@redhat.com> | 2010-11-17 19:53:37 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2010-11-17 19:53:37 +0000 |
commit | ba19bb4d8d07d9eb9a93fb2aa5af19cff5688b5d (patch) | |
tree | 6fbcdf4b0616a9c387a303a43ae44c2a6912b1e3 /gdb/value.c | |
parent | 8c21d9c72e3c7a520d32d1593a99a7c2a736f258 (diff) | |
download | fsf-binutils-gdb-ba19bb4d8d07d9eb9a93fb2aa5af19cff5688b5d.zip fsf-binutils-gdb-ba19bb4d8d07d9eb9a93fb2aa5af19cff5688b5d.tar.gz fsf-binutils-gdb-ba19bb4d8d07d9eb9a93fb2aa5af19cff5688b5d.tar.bz2 |
* value.c (value_entirely_optimized_out): Check the
'check_any_valid' field.
Diffstat (limited to 'gdb/value.c')
-rw-r--r-- | gdb/value.c | 2 |
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); } |