diff options
author | Jim Ingham <jingham@apple.com> | 2000-04-04 00:17:47 +0000 |
---|---|---|
committer | Jim Ingham <jingham@apple.com> | 2000-04-04 00:17:47 +0000 |
commit | ddb03bda6f805b1eae788ca79ffe5726bef6ffa9 (patch) | |
tree | ebcdc378b577d812b00813bf4c5162f61b1a7a57 /gdb/gdbtk | |
parent | 067af7af3c3042c3a9132bbada722eb36607abc3 (diff) | |
download | gdb-ddb03bda6f805b1eae788ca79ffe5726bef6ffa9.tar.gz |
2000-04-03 Steve Johnson <sbjohnson@ozemail.com.au>
* regwin.itb (dimensions): Use rows from preference file rather
than hard-coding a preference.
* prefs.tcl (pref_set_defaults): Add gdb/reg/rows preference.
Diffstat (limited to 'gdb/gdbtk')
-rw-r--r-- | gdb/gdbtk/library/ChangeLog | 12 | ||||
-rw-r--r-- | gdb/gdbtk/library/prefs.tcl | 1 | ||||
-rw-r--r-- | gdb/gdbtk/library/regwin.itb | 2 |
3 files changed, 14 insertions, 1 deletions
diff --git a/gdb/gdbtk/library/ChangeLog b/gdb/gdbtk/library/ChangeLog index 1b5abca232a..7430bef1e51 100644 --- a/gdb/gdbtk/library/ChangeLog +++ b/gdb/gdbtk/library/ChangeLog @@ -1,3 +1,14 @@ +2000-04-03 Steve Johnson <sbjohnson@ozemail.com.au> + + * regwin.itb (dimensions): Use rows from preference file rather + than hard-coding a preference. + * prefs.tcl (pref_set_defaults): Add gdb/reg/rows preference. + +2000-04-03 James Ingham <jingham@leda.cygnus.com> + + * util.tcl (find_iwidgets_library): Follow links in determining + the location of the executable. + 2000-03-30 Fernando Nasser <fnasser@totem.to.cygnus.com> * variables.tcl (edit): Remove call to close, which caused editing @@ -10,6 +21,7 @@ (open): Make sure to abort any ongoing edit. This was causing problems when someone tried to expand an structure while editing its pointer. +>>>>>>> 1.12 2000-03-28 James Ingham <jingham@leda.cygnus.com> * managedwin.itb (ManagedWin::startup): Open the SrcWin, this does diff --git a/gdb/gdbtk/library/prefs.tcl b/gdb/gdbtk/library/prefs.tcl index 668fbddec50..b1639ce7dc8 100644 --- a/gdb/gdbtk/library/prefs.tcl +++ b/gdb/gdbtk/library/prefs.tcl @@ -310,6 +310,7 @@ proc pref_set_defaults {} { # Register Window pref define gdb/reg/highlight_fg blue + pref define gdb/reg/rows 16 # Global Prefs Dialogs pref define gdb/global_prefs/save_fg red diff --git a/gdb/gdbtk/library/regwin.itb b/gdb/gdbtk/library/regwin.itb index 02f1d472153..f393a92d4bf 100644 --- a/gdb/gdbtk/library/regwin.itb +++ b/gdb/gdbtk/library/regwin.itb @@ -347,7 +347,7 @@ body RegWin::reg_select { r } { # register window # ------------------------------------------------------------------ body RegWin::dimensions {} { - set rows 16 + set rows [pref get gdb/reg/rows] # set rows [expr int(floor(sqrt($num_regs)))] set cols [expr {int(ceil(sqrt($num_regs)))}] |