Disassemble arbitrary memory with disas?
Joel Brobecker
brobecker@adacore.com
Fri May 22 21:44:00 GMT 2009
> 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
More information about the Gdb
mailing list