This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: patch to use target specific .gdbinit file
- From: Felix Lee <felix dot 1 at canids dot net>
- To: gdb at sources dot redhat dot com
- Date: Fri, 10 Jan 2003 14:42:28 -0800
- Subject: Re: patch to use target specific .gdbinit file
"Kris Warkentin" <kewarken@qnx.com>:
> The following code will allow backend writers to define
> EXTRA_GDBINIT_FILENAME to be an alternate filename for sourcing on startup.
> For example, since we have gdb versions for 5 different CPU targets, we
> allow users to create a $HOME/.ntoCPU-gdbinit.
1, I'd rather it be a generalized name, like maybe
.gdbinit-$TARGET. making the name something chosen by the
backend writer feels like it adds unnecessary irregularity.
2, this is going to make it more awkward to create a single
gdb that will debug multiple targets.
--