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: technical question on GDB for MacOS


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



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