public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] Fix "-nx"
@ 2002-08-01 10:57 Keith Seitz
  0 siblings, 0 replies; only message in thread
From: Keith Seitz @ 2002-08-01 10:57 UTC (permalink / raw)
  To: Insight Maling List

Hi,

Ever try running "-nx" option to insight/gdb? Doesn't work, does it? The
testsuite doesn't, either!

Turns out to be a simple goof. I've committed the following patch to fix
it.

Keith

ChangeLog
2002-08-01  Keith Seitz  <keiths@redhat.com>

        * library/prefs.tcl (pref_read): Don't suppress setting the default
        colors if the user has suppressed reading the preferences file.

Patch
Index: library/prefs.tcl
===================================================================
RCS file: /cvs/src/src/gdb/gdbtk/library/prefs.tcl,v
retrieving revision 1.17
diff -p -r1.17 prefs.tcl
*** library/prefs.tcl	7 Jun 2002 09:22:44 -0000	1.17
--- library/prefs.tcl	1 Aug 2002 17:56:05 -0000
*************** proc pref_read {} {
*** 139,147 ****
      # now set global options
      set gdb_ImageDir [file join $GDBTK_LIBRARY [pref get gdb/ImageDir]]

-     # finally set colors, from system if possible
-     pref_set_colors
    }
  }

  # ------------------------------------------------------------------
--- 139,148 ----
      # now set global options
      set gdb_ImageDir [file join $GDBTK_LIBRARY [pref get gdb/ImageDir]]

    }
+
+   # finally set colors, from system if possible
+   pref_set_colors
  }

  # ------------------------------------------------------------------

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-08-01 17:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-08-01 10:57 [PATCH] Fix "-nx" Keith Seitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).