This is the mail archive of the
mailing list for the GDB project.
Re: gdb - persistent "set" settings
If you use "quit" command to exit gdb, then you could add a hook to that
You can also define your command to exit gdb.
See here -
Ashwin Pathmudi wrote:
On 7/24/06, Riley <firstname.lastname@example.org> wrote:
I dont think gdb can do that.
"Ashwin Pathmudi" <email@example.com> writes:
> Put in all the commands you need gdb to have executed in a
> '.gdbinit' file in that particular directory. gdb executes the
> in this file before showing you the prompt.
Thanks. Is it possible to default to gdb doing this for me when I exit
gdb? I see ddd does this for you.
Codito Technologies Pvt. Ltd. (www.codito.com)
Office: +91 20 26051367 ext. 133
Mobile: +91 98230 28171