On Aug 27, 2009, at 3:23 PM, kvic...@pobox.com wrote:

what is the proper way to see stack parameters with cocoa 64 bit apps with gdb?

<http://www.x86-64.org/documentation/abi.pdf>

If you're developing for X86-64, you really ought to read the part about calling conventions. Basically, unless you're hitting a case where class MEMORY is hit when calling a function (which is not common, especially in objc programs), then argument 0 (self) will be in $rdi, argument 1 (_cmd) will be in $rsi, etc...

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

Reply via email to