This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PING (docs)] Re: [PATCH] [1/2] Add new 'z' format for print command
- From: Eli Zaretskii <eliz at gnu dot org>
- To: Andrew Burgess <aburgess at broadcom dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Wed, 24 Jul 2013 17:34:57 +0300
- Subject: Re: [PING (docs)] Re: [PATCH] [1/2] Add new 'z' format for print command
- References: <51DAF728 dot 4040309 at broadcom dot com> <51EFA750 dot 2070707 at broadcom dot com>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> Date: Wed, 24 Jul 2013 11:07:12 +0100
> From: "Andrew Burgess" <aburgess@broadcom.com>
> cc: "Eli Zaretskii" <eliz@gnu.org>
>
> I just need a docs review on the change below please.
Sorry for missing it.
> gdb/NEWS
>
> * New 'z' formatter for print and examine memory commands, displays the
> value as hexadecimal zero padded to the size of the type.
The comma before "displays" should be removed. Also, "for printing
and examining", rather than "print and examine".
More importantly, I have a difficulty understanding what does
"hexadecimal zero padded to the size ..." mean. More accurately, if
my interpretation of what you say (that 'z' produces "00"s for
non-existing data, then why does this "padding" make sense, when we
are targeting a human consumer?
Thanks.