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

Re: debugging on Intel macs


  • Subject: Re: debugging on Intel macs
  • From: Chris Espinosa <email@hidden>
  • Date: Fri, 7 Apr 2006 23:42:07 -0700


On Apr 7, 2006, at 10:57 PM, Aurélien Hugelé wrote:

Thanks albert, trying to play with GDB and using your explanations, i've succeeded to get what i want!


just a last question, is it possible to create some gdb macros ?

for exemple instead of typing

gdb) po *(int *) ($esp + 8)

to get self

i would just have to type po SELF or something like that.

Of course i want the macros to be saved and usable in all my projects...


do not bother to read the doc for me if you do not know how to do this immediatly ;-)


See http://developer.apple.com/documentation/developertools/gdb/gdb/gdb_21.html#SEC203

define commandname
Define a command named commandname. If there is already a command by that name, you are asked to confirm that you want to redefine it. The definition of the command is made up of other GDB command lines, which are given following the define command. The end of these commands is marked by a line containing end.

 _______________________________________________
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: Jim Ingham <email@hidden>
References: 
 >Re: debugging on Intel macs (From: Aurélien Hugelé <email@hidden>)
 >Re: debugging on Intel macs (From: Eric Albert <email@hidden>)
 >Re: debugging on Intel macs (From: Aurélien Hugelé <email@hidden>)
 >Re: debugging on Intel macs (From: Eric Albert <email@hidden>)
 >Re: debugging on Intel macs (From: Aurélien Hugelé <email@hidden>)

  • Prev by Date: Re: debugging on Intel macs
  • Next by Date: Re: built app not unzippable
  • Previous by thread: Re: debugging on Intel macs
  • Next by thread: Re: debugging on Intel macs
  • Index(es):
    • Date
    • Thread