Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Hui Zhu <teawater@gmail.com>
Cc: tromey@redhat.com, msnyder@vmware.com, dje@google.com,
	mark.kettenis@xs4all.nl, gdb-patches@sourceware.org
Subject: Re: Add a new modifier /c to "disassemble" command to make it output	binary code
Date: Sat, 11 Jul 2009 12:42:00 -0000	[thread overview]
Message-ID: <8363dzy38t.fsf@gnu.org> (raw)
In-Reply-To: <daef60380907110146k57b06220r13690242b20660@mail.gmail.com>

> Date: Sat, 11 Jul 2009 16:46:28 +0800
> From: Hui Zhu <teawater@gmail.com>
> Cc: gdb-patches ml <gdb-patches@sourceware.org>
> 
> @@ -1454,6 +1458,7 @@ With two args if one is empty it stands
>  Disassemble a specified section of memory.\n\
>  Default is the function surrounding the pc of the selected frame.\n\
>  With a /m modifier, source lines are included (if available).\n\
> +With a /r modifier, instruction in hex are included.\n\

 With a /r modifier, raw instructions in hex are included.

(Use "raw" explicitly to help people remember why there's an `r' in
"/r".)

> +++ b/doc/gdb.texinfo
> @@ -6178,9 +6178,11 @@ Variables}).
>  @cindex listing machine instructions
>  @item disassemble
>  @itemx disassemble /m
> +@itemx disassemble /r
>  This specialized command dumps a range of memory as machine
>  instructions.  It can also print mixed source+disassembly by specifying
> -the @code{/m} modifier.
> +the @code{/m} modifier and print the instruction in hex as well as in
> +symbolic form by specifying the @code{/r}.

 and print the raw instructions in hex as well as in symbolic form

Again, please use the word "raw" in the text.

Also, what about NEWS? didn't we agree that an entry there would be a
Good Thing?


  reply	other threads:[~2009-07-11  9:32 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-09 12:22 Hui Zhu
2009-07-09 19:22 ` Tom Tromey
2009-07-09 19:40   ` Eli Zaretskii
2009-07-11  9:28   ` Hui Zhu
2009-07-11 12:42     ` Eli Zaretskii [this message]
2009-07-11 14:15       ` Hui Zhu
2009-07-11 17:54         ` Eli Zaretskii
2009-07-11 17:59           ` Hui Zhu
2009-07-11 18:16             ` Regression for mi-disassemble.exp [Re: Add a new modifier /c to "disassemble" command to make it output binary code] Jan Kratochvil
2009-07-17 17:09               ` [commit] Fix mi-disassemble.exp regression Ulrich Weigand
2009-07-18  5:45                 ` Hui Zhu
2009-07-09 19:53 ` Add a new modifier /c to "disassemble" command to make it output binary code Eli Zaretskii
2009-07-09 22:00 ` Michael Snyder
2009-07-09 23:44 ` Doug Evans
2009-07-10  9:33   ` Eli Zaretskii
2009-07-10 14:34   ` Mark Kettenis

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8363dzy38t.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=dje@google.com \
    --cc=gdb-patches@sourceware.org \
    --cc=mark.kettenis@xs4all.nl \
    --cc=msnyder@vmware.com \
    --cc=teawater@gmail.com \
    --cc=tromey@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox