summaryrefslogtreecommitdiff
path: root/gdb/gdbtk/library/prefs.tcl
diff options
context:
space:
mode:
authorFernando Nasser <fnasser@redhat.com>2001-01-03 15:13:16 +0000
committerFernando Nasser <fnasser@redhat.com>2001-01-03 15:13:16 +0000
commit6ec8be22a841462bf09834c483793a8809c8c1da (patch)
tree150fa34d482598e55f9687fc91fcc286a4c55e86 /gdb/gdbtk/library/prefs.tcl
parent57b1d4c4e1432764cd88d80942c60bcb60b43241 (diff)
downloadgdb-6ec8be22a841462bf09834c483793a8809c8c1da.tar.gz
2001-01-03 Fernando Nasser <fnasser@totem.toronto.redhat.com>
* library/prefs.tcl (pref_set_defaults): Define gdb/src/top_control to allow the source window controls to be placed at the top. * library/srcwin.itb (_build_win): Test for gdb/src/top_control and place the controls accordingly.
Diffstat (limited to 'gdb/gdbtk/library/prefs.tcl')
-rw-r--r--gdb/gdbtk/library/prefs.tcl1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/gdbtk/library/prefs.tcl b/gdb/gdbtk/library/prefs.tcl
index 26676c6a5f3..dc1037ba232 100644
--- a/gdb/gdbtk/library/prefs.tcl
+++ b/gdb/gdbtk/library/prefs.tcl
@@ -305,6 +305,7 @@ proc pref_set_defaults {} {
pref define gdb/src/tab_size 8
pref define gdb/src/linenums 1
pref define gdb/src/thread_fg pink
+ pref define gdb/src/top_control 0; # 1 srctextwin controls on top, 0 bottom
# Define the run button's functions. These are defined here in case
# we do a "run" with an exec target (which never causes target.tcl to