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: [PATCH] -nx-except-gdbtkinit option


Daniel Jacobowitz wrote:
It sounds like there's no GDB command to process .gdbtkinit, which is a
TCL file rather than a GDB CLI script file.  Andrew, is that right?  If
so, have you considered adding such a command to Insight, instead?

Sorry, I think I understand what you are getting at now. Ignore my last response to this question.


.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.

I much prefer it the way I have done it.

Andrew Stubbs


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