This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] -nx-except-gdbtkinit option
> Date: Fri, 18 Nov 2005 11:17:49 +0000
> From: Andrew STUBBS <andrew.stubbs@st.com>
> Cc: Eli Zaretskii <eliz@gnu.org>, gdb-patches@sources.redhat.com
>
> .gdbtkinit is not a TCL file. It's rather more like a Microsoft .ini
> file (indeed on windows it is known as gdbtk.ini). Does that format have
> a name? I don't know.
>
> I suppose it wouldn't be impossible to screw around with the tcl to get
> it to load on a command, although I don't know how right now. However,
> would Insight then save the file again, as it should, as the end of the
> session? Would this really make sense to a user?
>
> Also, this file is used to define the initial state of the GUI (which
> windows are open and where and what size, as well as with what icons and
> fonts). It probably doesn't make sense to open this much after startup.
Would it make sense to not inhibit its loading under -nx? After all,
we don't inhibit loading ~/.inputrc under -nx, right? Why should the
toolkit be different?
> I much prefer it the way I have done it.
Of course. But you see, I don't like this new feature: I think it
will add to user's confusion.