From 6fbe845e0c00ca40e98aa23401e0b5490717a646 Mon Sep 17 00:00:00 2001 From: Andrew Burgess Date: Thu, 25 Jul 2013 10:16:08 +0000 Subject: 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. --- gdb/NEWS | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gdb/NEWS') diff --git a/gdb/NEWS b/gdb/NEWS index a4238d0..6ee8ad7 100644 --- a/gdb/NEWS +++ b/gdb/NEWS @@ -128,6 +128,9 @@ qXfer:libraries-svr4:read's annex 'qXfer:traceframe-info:read'. It has the id of the collected trace state variables. +* New 'z' formatter for printing and examining memory, this displays the + value as hexadecimal zero padded on the left to the size of the type. + *** Changes in GDB 7.6 * Target record has been renamed to record-full. -- cgit v1.1