This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: using continue from .gdbinit
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: Bob <bob at mroczka dot com>
- Cc: gdb at sourceware dot org
- Date: Mon, 12 Mar 2012 08:39:24 +0100
- Subject: Re: using continue from .gdbinit
- References: <4F5D4A9D.5010703@mroczka.com>
On Mon, 12 Mar 2012 02:00:13 +0100, Bob wrote:
> My .gdbinit file has the following:
+
> but it appears the continue is executed by gdb before the daemon is loaded.
Please read: $ info '(gdb)Startup'
I guess yout .gdbinit is in $HOME directory, you should place it to current
directory somewhere else then $HOME (even if $HOME is your current directory).
Primarily I would rather recomment to call that file like myscript and use:
xterm -T {} -e gdb /usr/lib/cyrus-imapd/imapd {} -x /tmp/myscript
Without relying on .gdbinit files which may be tricky.
Regards,
Jan