http://sourceware.org/ml/gdb-patches/2013-07/msg00059.html
authorAndrew Burgess <aburgess@broadcom.com>
Thu, 4 Jul 2013 11:11:25 +0000 (11:11 +0000)
committerAndrew Burgess <aburgess@broadcom.com>
Thu, 4 Jul 2013 11:11:25 +0000 (11:11 +0000)
commit691a26f5ddd5f061ae8cd1be7c68212041da6ac2
tree95b547fc6ca271d69f2947f9c7f0022aaa7a6225
parenta58e2656df4e2a614bc276159ef9b20368cdb8ca
sourceware.org/ml/gdb-patches/2013-07/msg00059.html

gdb/ChangeLog

        * stack.c (read_frame_arg): No longer fetch lazy values.
        * value.c (value_optimized_out): If the value is not already
        marked optimized out, and is lazy then fetch it.
        (value_primitive_field): Move optimized out check to later in the
        function, after we have loaded any lazy values.
        (value_fetch_lazy): Use optimized out flag directly rather than
        calling optimized_out method.

gdb/testsuite/ChangeLog

        * gdb.dwarf2/dw2-reg-undefined.exp: New file.
        * gdb.dwarf2/dw2-reg-undefined.c: Likewise.
        * gdb.dwarf2/dw2-reg-undefined.S: Likewise.
gdb/ChangeLog
gdb/stack.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.dwarf2/dw2-reg-undefined.S [new file with mode: 0644]
gdb/testsuite/gdb.dwarf2/dw2-reg-undefined.c [new file with mode: 0644]
gdb/testsuite/gdb.dwarf2/dw2-reg-undefined.exp [new file with mode: 0644]
gdb/value.c