Re: Immediate Nib Loading Error
Re: Immediate Nib Loading Error
- Subject: Re: Immediate Nib Loading Error
- From: Nick Zitzmann <email@hidden>
- Date: Tue, 6 Jan 2009 10:02:44 -0700
On Jan 6, 2009, at 3:55 AM, Kyle Sluder wrote:
If
you're on i386, self is at EBP[8] anyway (I'm unfamiliar with the
x86_64 calling convention).
It's pretty complicated, and documented here in case anyone is
wondering: <http://www.x86-64.org/documentation/abi.pdf>
In this case, the X86-64 equivalent of $ebp+8 would be $rdi.
Did you try just `po ($ebp+8)`?
In 32-bit Intel programs, I always use "po *(int *)($ebp+8)" to print
the value of the first argument when it is a pointer to an ObjC
object, and it works for me.
Nick Zitzmann
<http://www.chronosnet.com/>
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden