Re: Usage of .gdbinit to automate xcode gdb configuration
Re: Usage of .gdbinit to automate xcode gdb configuration
- Subject: Re: Usage of .gdbinit to automate xcode gdb configuration
- From: Jim Ingham <email@hidden>
- Date: Tue, 10 Feb 2004 09:23:12 -0800
Most gdb commands that ask the user questions will automatically answer
"yes" when run in non-interactive mode. So for instance
add-symbol-file will actually add the symbol file if run in your
.gdbinit file without asking you for confirmation. In this case, gdb
actually asks the question, which is a little bogus, but then it
answers it for you...
Jim
On Feb 10, 2004, at 8:01 AM, Michael Cashwell wrote:
On Jan 30, 2004, at 5:29 PM, Mike Pinkerton wrote:
email@hidden wrote on 1/30/2004, 3:23 PM:
Just typ[e] 'fb [NSException raise]'. This stands for
'forward-break'.
to answer the original question, .gdbinit files work. I use one and it
works perfectly for setting up a bunch of breakpoints and macros at
startup.
Put the above line in your ~/.gdbinit file to achieve desired results.
Is there any way to put "add-symbol-file" commands in this file? gdb
has what I consider the extremely annoying behavior that when I tell
it this command it asks me if I'm sure I want it to do it. Grrr. That
interaction seems to defeat the ability to put the command in my .
gdbinit file.
I am new to CLI gdb, so I may have just missed something obvious, but
any solution to this would be appreciated.
-Mike
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.
_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
Jim Ingham
email@hidden
Developer Tools - gdb
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.