Consistent display of "<optimized out>" for register values.
authorAndrew Burgess <aburgess@broadcom.com>
Wed, 18 Sep 2013 14:02:31 +0000 (14:02 +0000)
committerAndrew Burgess <aburgess@broadcom.com>
Wed, 18 Sep 2013 14:02:31 +0000 (14:02 +0000)
commite4c6a2c42df650ad28efcb081244d41954d91353
treef34d306eedefd9eadbde3f53696b9814c8ca5b85
parent25f686c226fe67017e54670302cd5c040d8a4ae9
Consistent display of "<optimized out>" for register values.

  https://sourceware.org/ml/gdb-patches/2013-08/msg00170.html

gdb/ChangeLog

        * infcmd.c (default_print_one_register_info): Add detection of
        optimized out values.
        (default_print_registers_info): Switch to using
        get_frame_register_value.

gdb/testsuite/ChangeLog

        * gdb.dwarf2/dw2-reg-undefined.exp: Change pattern for info
        register to "<optimized out>", and also print the registers.
gdb/ChangeLog
gdb/infcmd.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.dwarf2/dw2-reg-undefined.exp