technical question on GDB for MacOS

Jeff Roberts jeffr@radgametools.com
Mon Jun 4 21:43:00 GMT 2007


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

Perfect, thank you!

->Jeff
RAD Game Tools

----- Original Message ----- 
From: "Daniel Jacobowitz" <drow@false.org>
To: "Jeff Roberts" <jeffr@radgametools.com>
Cc: <gdb@sourceware.org>
Sent: Monday, June 04, 2007 3:55 AM
Subject: Re: technical question on GDB for MacOS


> 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