This is the mail archive of the gdb-patches@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: Setting up GDB init files broken in DJGPP


Joel Brobecker (brobecker@adacore.com):

> > 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.
> 
> Ah - I understand, now. Thanks for catching this. Your patch is OK
> to commit.

Now commited; thanks.

About the help message, I was actually wrong: get_init_files could be
moved after the handling of --help. print_gdb_help calls
get_init_files as well, and this function would compute gdbinit
locations if they have not been computed yet.  So if you feel that the
call to get_init_files should be moved past the interpreter
initialization, you can go ahead.


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