Re: Need some help with .gdbinit
Re: Need some help with .gdbinit
- Subject: Re: Need some help with .gdbinit
- From: Jonathan del Strother <email@hidden>
- Date: Fri, 22 Jul 2005 11:51:39 +0100
On 21 Jul 2005, at 14:01, Damien Bobillot wrote:
Le 21 juil. 05 à 10:40, Jonathan del Strother a écrit : I'm currently running this sequence of commands every time I debug my program in XCode's debugger :
(gdb) br ptrace Breakpoint 6 at 0x900541f4 (gdb) comm 6 >return >cont >end (gdb) restart
I'd like to put this into .gdbinit, but can't see how, as the breakpoint number will change each time, so "comm 6" won't work...
In Xcode 2.1, you may setup commands associated to a breakpoint from the breakpoint window.
- menu Debug > Breakpoints - click on the grey triangle before the breakpoint name - click the + button
Ahh, handy. Hadn't noticed that before |
_______________________________________________
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