Re: Need some help with .gdbinit
Re: Need some help with .gdbinit
- Subject: Re: Need some help with .gdbinit
- From: Mark Bessey <email@hidden>
- Date: Thu, 21 Jul 2005 10:40:32 -0700
On Jul 21, 2005, at 1:40 AM, Jonathan del Strother wrote:
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...
Any suggestions?
The easy solution is to just remove the breakpoint number after the
"commands" command. By default, GDB will apply the commands to the
last breakpoint you entered.
-Mark
_______________________________________________
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