This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: Setting up GDB init files broken in DJGPP
Joel Brobecker (brobecker@adacore.com):
> > 2009-04-17 Jerome Guitton <guitton@adacore.com>
> >
> > * main.c (captured_main): Move gdbinit lookups after gdb_init.
>
> This looks fine, but I propose we move this call further down, past
> the blocks that do an early exist if --version or --help is specified,
> as well as past the interpreter initialization. If those fail, no point
> in spending time computing these files. That also corresponds better
> to what used to be done before.
Look out, this should be done before the printing of the help message.
The help message tells the user which gdbinit files will be sourced.