This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Disassemble arbitrary memory with disas?


> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]