Re: debugging a 64 bit app
Re: debugging a 64 bit app
- Subject: Re: debugging a 64 bit app
- From: Nick Zitzmann <email@hidden>
- Date: Thu, 27 Aug 2009 15:39:42 -0600
On Aug 27, 2009, at 3:23 PM, email@hidden 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 (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