diff options
author | Andrew Burgess <aburgess@broadcom.com> | 2013-07-25 10:16:08 +0000 |
---|---|---|
committer | Andrew Burgess <aburgess@broadcom.com> | 2013-07-25 10:16:08 +0000 |
commit | 6fbe845e0c00ca40e98aa23401e0b5490717a646 (patch) | |
tree | 6e6cd06893ba6d7525ea00f4922fdc741dc7af62 /gdb/testsuite/gdb.base/display.exp | |
parent | db6a5d5f908a3139924421da1d80d8edf479646c (diff) | |
download | gdb-6fbe845e0c00ca40e98aa23401e0b5490717a646.zip gdb-6fbe845e0c00ca40e98aa23401e0b5490717a646.tar.gz gdb-6fbe845e0c00ca40e98aa23401e0b5490717a646.tar.bz2 |
Add new 'z' format for print command.
http://sourceware.org/ml/gdb-patches/2013-07/msg00235.html
gdb/ChangeLog
* NEWS: Mention new 'z' formatter.
* printcmd.c (print_scalar_formatted): Add new 'z' formatter.
(_initialize_printcmd): Mention 'z' formatter in help text of the
'x' command.
gdb/doc/ChangeLog
* gdb.texinfo (Output Formats): Mention the new 'z' formatter.
gdb/testsuite/ChangeLog
* gdb.base/printcmds.exp (test_print_int_arrays): Add tests for x,
z, o, and t output formats.
* gdb.base/display.exp: Use 'k' as an undefined format now that
'z' is defined.
Diffstat (limited to 'gdb/testsuite/gdb.base/display.exp')
-rw-r--r-- | gdb/testsuite/gdb.base/display.exp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.base/display.exp b/gdb/testsuite/gdb.base/display.exp index 5db84cc..9a0b1dd 100644 --- a/gdb/testsuite/gdb.base/display.exp +++ b/gdb/testsuite/gdb.base/display.exp @@ -168,7 +168,7 @@ gdb_test "printf \"%p\\n\", 1" "0x1" # play with "print", too # -gdb_test "print/z j" ".*Undefined output format.*" +gdb_test "print/k j" ".*Undefined output format.*" gdb_test "print/d j" " = 0\[\\r\\n\]+" "debug test output 1" gdb_test "print/r j" " = 0\[\\r\\n\]+" "debug test output 1a" gdb_test "print/x j" " = 0x0\[\\r\\n\]+" "debug test output 2" |