• 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 on Intel macs
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

debugging on Intel macs


  • Subject: debugging on Intel macs
  • From: AurĂ©lien HugelĂ© <email@hidden>
  • Date: Wed, 15 Feb 2006 08:26:57 +0100

Hi list !

currently, on my PowerPC Mac, i use gdb pr/print function to display the content of the registers (i'm coding in cocoa):
$r3 (self), $r4 (_cmd), $r5->rX (arguments)


i've read somewhere that, due to the reduced number of registers in Intel processors, the arguments are passed by the stack and not by registers. I fear not to be able to continue to use my favorite registers in GDB

Can someone confirm my fears ? will I be able to print "self" in $r3, the current selector in $r4 and arguments in $r5 -> rX ? or things will be different ?

thanks!

Aurelien
_______________________________________________
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: debugging on Intel macs
      • From: Jonas Maebe <email@hidden>
  • Prev by Date: Re: Preprocessing .nib files?
  • Next by Date: Re: Multiple symbol warning coming from libmx and libSystem..
  • Previous by thread: Re: Multiple symbol warning coming from libmx and libSystem..
  • Next by thread: Re: debugging on Intel macs
  • Index(es):
    • Date
    • Thread