• 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: Immediate Nib Loading Error
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Immediate Nib Loading Error


  • Subject: Re: Immediate Nib Loading Error
  • From: Nick Zitzmann <email@hidden>
  • Date: Tue, 6 Jan 2009 10:02:44 -0700


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 (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: 
 >Immediate Nib Loading Error (From: Steve Cronin <email@hidden>)
 >Re: Immediate Nib Loading Error (From: "Kyle Sluder" <email@hidden>)

  • Prev by Date: Re: NSBorderlessWindowMask and Leopard's Spaces
  • Next by Date: Re: Localize Attributed Strings?
  • Previous by thread: Re: Immediate Nib Loading Error
  • Next by thread: Synchronizing QTMovieLayers
  • Index(es):
    • Date
    • Thread