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 (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com