Re: x86 inline assembler to stop in debugger
Re: x86 inline assembler to stop in debugger
- Subject: Re: x86 inline assembler to stop in debugger
- From: Brad Oliver <email@hidden>
- Date: Mon, 30 Jan 2006 10:04:25 -0700
On Jan 30, 2006, at 9:57 AM, email@hidden wrote:
Sorry; I ignored the PPC side of your code earlier. :) On PPC, you'll
want this:
#define DebugBreak() if (AmIBeingDebugged()) { __asm__ volatile
("trap"); }
OK, I have a dumb question. :-) Why wouldn't calling Debugger() work
for these cases instead of using inline assembler targeting a
specific CPU?
--
Brad Oliver
email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden