Fix bug in value_bits_valid.
authorAndrew Burgess <aburgess@broadcom.com>
Mon, 8 Jul 2013 10:21:33 +0000 (10:21 +0000)
committerAndrew Burgess <aburgess@broadcom.com>
Mon, 8 Jul 2013 10:21:33 +0000 (10:21 +0000)
commitad0f030310315704eeb4651460edb548fad21a02
tree5f7d47afaf072ba282cb361eaa1cf43319a13620
parent0cbbe1b85eef405c0ddb22389f85a65d8a8bf28c
Fix bug in value_bits_valid.

http://sourceware.org/ml/gdb-patches/2013-07/msg00174.html

* value.c (value_bits_valid): If the value is not lval_computed
or has no check validity handler then the answer is the
optimized_out flag, otherwise defer to the handler.
gdb/ChangeLog
gdb/value.c