value_fetch_lazy, ensure parent is not lazy and check parent for validity.
authorAndrew Burgess <aburgess@broadcom.com>
Tue, 30 Jul 2013 15:05:01 +0000 (15:05 +0000)
committerAndrew Burgess <aburgess@broadcom.com>
Tue, 30 Jul 2013 15:05:01 +0000 (15:05 +0000)
commitb0c54aa509c4f909648c59837a4877ec27b64135
treeb00e275b58a0b200e895cb0e6d5992a0ad8c0fad
parent97c85fc673064bcd05bbdf1dd7a76eb7a9e6a1d2
value_fetch_lazy, ensure parent is not lazy and check parent for validity.

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

gdb/ChangeLog

        * value.c (value_fetch_lazy): Ensure parent value is not lazy
        before checking which bits of the parent, not the child, value are
        valid.

gdb/testsuite/ChangeLog

        * gdb.dwarf2/pieces-optimized-out.exp: New file.
        * gdb.dwarf2/pieces-optimized-out.c: New file.
        * gdb.dwarf2/pieces-optimized-out.S: New file.
gdb/ChangeLog
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.dwarf2/pieces-optimized-out.S [new file with mode: 0644]
gdb/testsuite/gdb.dwarf2/pieces-optimized-out.c [new file with mode: 0644]
gdb/testsuite/gdb.dwarf2/pieces-optimized-out.exp [new file with mode: 0644]
gdb/value.c