This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: using continue from .gdbinit


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]