| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
On Jan 30, 2006, at 9:04 AM, Brad Oliver wrote:
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?
-Eric
_______________________________________________ Do not post admin requests to the list. They will be ignored. Xcode-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/xcode-users/email@hidden
| References: | |
| >Re: x86 inline assembler to stop in debugger (From: Brad Oliver <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.