technical question on GDB for MacOS

Daniel Jacobowitz drow@false.org
Mon Jun 4 10:55:00 GMT 2007


On Sun, Jun 03, 2007 at 08:21:31PM -0700, Jeff Roberts wrote:
> I'm using GDB on MacOS

We can't help you much with this - GNU GDB releases don't support
MacOS X.  Apple has extensive changes.  Fortunately your question is
mostly platform independent.

> 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.

Right.  You can use "display/i $pc" and "x/i <addr>" to show the
assembly anyway.

-- 
Daniel Jacobowitz
CodeSourcery



More information about the Gdb mailing list