This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Disassemble arbitrary memory with disas?
- From: Joel Brobecker <brobecker at adacore dot com>
- To: Toshi Morita <tm314159 at yahoo dot com>
- Cc: gdb at sourceware dot org
- Date: Fri, 22 May 2009 14:44:18 -0700
- Subject: Re: Disassemble arbitrary memory with disas?
- References: <987444.33167.qm@web50611.mail.re2.yahoo.com>
> I'm currently debugging a JIT which dynamically generates code, and
> I'd like to disassemble it with the "disas" command in GDB.
>
> However, since there isn't any symbolic information for the buffer in
> which the code is generated, GDB refuses to disassemble.
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.
--
Joel