diff options
author | Tom Tromey <tromey@redhat.com> | 2010-07-01 15:21:11 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2010-07-01 15:21:11 +0000 |
commit | b65c7efe9761a99b77fa8b629b4f3cc5f916f4cf (patch) | |
tree | 78c5b67752206419ecdbcd46b1baf3d3445d4571 /gdb/value.c | |
parent | cef3d14b438107ee5161c22e906fe108d819c15e (diff) | |
download | gdb-b65c7efe9761a99b77fa8b629b4f3cc5f916f4cf.zip gdb-b65c7efe9761a99b77fa8b629b4f3cc5f916f4cf.tar.gz gdb-b65c7efe9761a99b77fa8b629b4f3cc5f916f4cf.tar.bz2 |
* value.h (struct lval_funcs) <check_any_valid>: Rename from
check_all_valid.
* value.c (value_entirely_optimized_out): Invert result. Update
for new function name.
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 64ac563..edcd4d0 100644 --- a/gdb/value.c +++ b/gdb/value.c @@ -521,7 +521,7 @@ value_entirely_optimized_out (const struct value *value) if (value->lval != lval_computed || !value->location.computed.funcs->check_validity) return 1; - return value->location.computed.funcs->check_all_valid (value); + return !value->location.computed.funcs->check_any_valid (value); } int |