> -----Original Message----- > From: gcc-help-owner@xxxxxxxxxxx [mailto:gcc-help-owner@xxxxxxxxxxx] On > Behalf Of Bob Fang > Sent: Saturday, January 03, 2015 8:08 AM > To: gcc-help@xxxxxxxxxxx > Subject: GDB: look at the assembly at certain address? > > Dear all, > > Hi! > I am working on some JIT compiler and I am using GDB to debut it, my > code crashes at some point (segment fault), but it crashes at the > jitted code (they are generated on the fly) so I do not get the stack > frame information, But I got the following backtrace: > > #0 0x0000000001d98f22 in ?? () // JITTED CODE > #1 0x000000000000001d in ?? () // JITTED CODE > #2 ...callattribuite function.... > > I am wondering if it is possible for GDB to disassemble the code at > location 0x0000000001d98f22 and display it to me. I tried ``disas > 0x0000000001d98f22`` but GDB complained ``No function contains > specified address.`` > > Best, > Bob I truthfully don't know the answer to this. However, your question seems as though it is centric to gdb rather than gcc. I think you'd be better served if you asked on a gdb centric forum. Andy