Resue 'z' formatter from mi register display code.
authorAndrew Burgess <aburgess@broadcom.com>
Thu, 25 Jul 2013 10:39:39 +0000 (10:39 +0000)
committerAndrew Burgess <aburgess@broadcom.com>
Thu, 25 Jul 2013 10:39:39 +0000 (10:39 +0000)
commitfdc8aae84831d0ae839672f4ee47e53f295a7869
treec27df8427c8d8689477fd525a02f8dca5cc67edb
parent6fbe845e0c00ca40e98aa23401e0b5490717a646
Resue 'z' formatter from mi register display code.

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

gdb/ChangeLog

        * mi/mi-main.c (output_register): Make MI 'r' format use standard
        'z' format code.  Remove error for optimized out values, standard
        code will handle these fine.

gdb/testsuite/ChangeLog

        * gdb.mi/mi-reg-undefined.exp: New file.
        * gdb.mi/mi-reg-undefined.c: Likewise.
        * gdb.mi/mi-reg-undefined.S: Likewise.
gdb/ChangeLog
gdb/mi/mi-main.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.mi/mi-reg-undefined.S [new file with mode: 0644]
gdb/testsuite/gdb.mi/mi-reg-undefined.c [new file with mode: 0644]
gdb/testsuite/gdb.mi/mi-reg-undefined.exp [new file with mode: 0644]