• 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
debugging a 64 bit app
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

debugging a 64 bit app


  • Subject: debugging a 64 bit app
  • From: "email@hidden" <email@hidden>
  • Date: Thu, 27 Aug 2009 14:23:58 -0700

with a 32 bit app, when i hit a breakpoint in gdb, i could select a stack frame and enter the following into the gdb console:

	(gdb) po *(int *)($ebp+<XXX>)

where <XXX> was 8 to see the receiver of the message, 16 to see the first "meaningful" parameter, etc.

however, i'm not building a 64 bit app and using synthesized iVars and when i type the above on the gdb console, i get:

	Argument to arithmetic operation not a number or boolean.

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

thanx,
ken

_______________________________________________

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


  • Follow-Ups:
    • Re: debugging a 64 bit app
      • From: "Sean McBride" <email@hidden>
    • Re: debugging a 64 bit app
      • From: Nick Zitzmann <email@hidden>
  • Prev by Date: Re: Making failed NSAsserts crash an app
  • Next by Date: Re: debugging a 64 bit app
  • Previous by thread: Re: Launching a document-based app with no document
  • Next by thread: Re: debugging a 64 bit app
  • Index(es):
    • Date
    • Thread