This is the mail archive of the gdb-patches@sources.redhat.com 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]

Re: Patch for --cd=... bug and for reading .gdbinit in exec dir


> From: Sinisa Milivojevic <sinisa@mysql.com>
> Date: Mon, 5 Nov 2001 20:00:22 +0200
> 
> I have made a patch for gdb/main.c, that accomplishes the following
> functionality: 
> 
> * If --cd=... directive is then directory is changed first, and then
>   .gdbinit  is stated
> 
> * If there is no .gdbinit in current directory and executable /
>   symfile is specified, directory where executable resides is tested
>   for the presence of .gdbinit. If it is different from the one in
>   $HOME  it is read and executed.

Thanks.

I think these changes need to be described in the docs (gdb.texinfo).


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