• 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: How to Inspect Method/Function Args Under GCC 4.2
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to Inspect Method/Function Args Under GCC 4.2


  • Subject: Re: How to Inspect Method/Function Args Under GCC 4.2
  • From: Gideon King <email@hidden>
  • Date: Tue, 16 Mar 2010 09:48:06 +1000

So what's the equivalent for a 64 bit app?


(gdb) po *(id*)($ebp + 8)
Argument to arithmetic operation not a number or boolean.

Is there some new trickery needed now?

I doubt it.  I suspect you're unintentionally running a 64-bit (x86_64) build rather than a 32-bit (i386) build.  The above _expression_ only makes sense for i386.



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: How to Inspect Method/Function Args Under GCC 4.2
      • From: Keary Suska <email@hidden>
References: 
 >How to Inspect Method/Function Args Under GCC 4.2 (From: Keary Suska <email@hidden>)
 >Re: How to Inspect Method/Function Args Under GCC 4.2 (From: Ken Thomases <email@hidden>)
 >Re: How to Inspect Method/Function Args Under GCC 4.2 (From: Keary Suska <email@hidden>)

  • Prev by Date: SOLVED: Strange inheritance?
  • Next by Date: Debugging issue with XCode/GDB on SnowLeopard
  • Previous by thread: Re: How to Inspect Method/Function Args Under GCC 4.2
  • Next by thread: Re: How to Inspect Method/Function Args Under GCC 4.2
  • Index(es):
    • Date
    • Thread