Re: debugging a 64 bit app
Re: debugging a 64 bit app
- Subject: Re: debugging a 64 bit app
- From: "Sean McBride" <email@hidden>
- Date: Thu, 27 Aug 2009 17:39:18 -0400
- Organization: Rogue Research Inc.
On 8/27/09 2:23 PM, email@hidden said:
>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?
See:
<http://www.clarkcox.com/blog/2009/02/04/inspecting-obj-c-parameters-in-gdb/>
--
____________________________________________________________
Sean McBride, B. Eng email@hidden
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
_______________________________________________
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