technical question on GDB for MacOS

Jeff Roberts jeffr@radgametools.com
Mon Jun 4 03:24:00 GMT 2007


I'm using GDB on MacOS and we do a lot of dynamically generated code in our
products.  This is all done safely on various platforms with valloc and
mprotect, and everything runs fine.  However, when I want to debug, I can't
convince GDB to display the disassembly for my generated code.  It silently
steps and nexts just fine, but it never shows me my asm.  I can't even use
the disass <addr> command, because it tells me that there is not any
functions at that address.

Is there a way to convince it to show this?

->Jeff
RAD Game Tools




More information about the Gdb mailing list