• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: debugging a 64 bit app
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >debugging a 64 bit app (From: "email@hidden" <email@hidden>)

  • Prev by Date: debugging a 64 bit app
  • Next by Date: Re: debugging a 64 bit app
  • Previous by thread: debugging a 64 bit app
  • Next by thread: Re: debugging a 64 bit app
  • Index(es):
    • Date
    • Thread