This was covered in a couple of WWDC talks. Look for the sessions on debugging.
-jcr On Sep 9, 2010, at 12:23 PM, Sean McBride wrote: > On Fri, 3 Sep 2010 19:52:54 -0700, Jerry Krinock said: > >> http://developer.apple.com/mac/library/technotes/tn2004/tn2124.html > >> "Architecture Considerations" > > Sadly this awesome technote has not been updated in 3 years. We should > all file bugs. :) > >> But there's a problem. I see you've got a 64-bit machine. The first >> article says that "64-bit Intel restores sanity to the equation by >> passing arguments in registers", but he doesn't say which registers, and >> neither does the Apple Technical Note. >> >> I'm going to have to get a 64-bit Mac one of these days. Does anyone >> know the register mapping for Intel 64? > > Forgot where I got this (ie credit not mine), but: > > given: > -(id)method:(id)arg2 bar:(id)arg3 baz:(id)arg4 > > ppc/ppc64: x86_64: i386: > arg0 (self) $r3 $rdi *(id*)($ebp + 8) > arg1 (_cmd) $r4 $rsi *(SEL*)($ebp + 12) > arg2 $r5 $rdx *(id*)($ebp + 16) > arg3 $r6 $rcx *(id*)($ebp + 20) > arg4 $r7 $r8 ? > arg5 $r8 $r9 ? > > -- > ____________________________________________________________ > Sean McBride, B. Eng s...@rogue-research.com > Rogue Research www.rogue-research.com > Mac Software Developer Montréal, Québec, Canada > > > _______________________________________________ > > 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/jcr%40mac.com > > This email sent to j...@mac.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