* library/prefs.tcl (pref_read): Read preferences file if environment
variable INSIGHT_FORCE_READ_PREFERENCES is set (regardless of -nx).
* README: Mention INSIGHT_FORCE_READ_PREFERENCES.
+2005-11-29 Andrew Stubbs <andrew.stubbs@st.com>
+
+ * library/prefs.tcl (pref_read): Read preferences file if environment
+ variable INSIGHT_FORCE_READ_PREFERENCES is set (regardless of -nx).
+ * README: Mention INSIGHT_FORCE_READ_PREFERENCES.
+
2005-11-11 Keith Seitz <keiths@redhat.com>
From Spencer Oliver <spencer.oliver@anglia.com>:
GDBTK_DEBUGFILE Filename to send debug output
GDBTK_TEST_RUNNING Testsuite variable. See gdb/testsuite/gdb.gdbtk/README
for more information.
+ INSIGHT_FORCE_READ_PREFERENCES
+ If set, read .gdbtkinit (or gdb.ini on windows)
+ even when -nx is passed to GDB.
All of the environment variables for controlling Insight are well documented
in gdb/gdbtk/library/main.tcl. Search for "env" to find them all.
set prefs_init_filename ".gdbtkinit"
}
- if {!$GDBStartup(inhibit_prefs)} {
+ if {!$GDBStartup(inhibit_prefs) \
+ || [info exists env(INSIGHT_FORCE_READ_PREFERENCES)]} {
set file_opened 0
if {[file exists $prefs_init_filename]} {
if {[catch {open $prefs_init_filename r} fd]} {