This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Disassemble arbitrary memory with disas?
- From: Toshi Morita <tm314159 at yahoo dot com>
- To: Joel Brobecker <brobecker at adacore dot com>, Jonas Maebe <jonas dot maebe at elis dot ugent dot be>
- Cc: gdb at sourceware dot org
- Date: Fri, 22 May 2009 15:44:53 -0700 (PDT)
- Subject: Re: Disassemble arbitrary memory with disas?
Thanks a lot!!
Will try it when I get back in the office on Tuesday!
Toshi
--- On Fri, 5/22/09, Jonas Maebe <jonas.maebe@elis.ugent.be> wrote:
> From: Jonas Maebe <jonas.maebe@elis.ugent.be>
> Subject: Re: Disassemble arbitrary memory with disas?
> To: "Joel Brobecker" <brobecker@adacore.com>
> Cc: "Toshi Morita" <tm314159@yahoo.com>, gdb@sourceware.org
> Date: Friday, May 22, 2009, 2:51 PM
>
> On 22 May 2009, at 23:44, Joel Brobecker wrote:
>
> > I think that the "x /i" command should work. Have a
> look at the GDB
> > documentation on the "x" command, it should give you
> more details
> > about how to use the /something modifiers.
>
> Indeed. An alternative is "disassemble
> <start_address> <stop_address>". "x/10i
> <address>" is easier to type though :)
>
>
> Jonas
>