aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFred Fish <fnf@specifix.com>1996-06-21 18:20:12 +0000
committerFred Fish <fnf@specifix.com>1996-06-21 18:20:12 +0000
commit4149b5f44a9e3b13b73aeb8da6432a5ddf4f3479 (patch)
tree57829bab10b48ff03abf588ad20eea0d08206e0f
parentab5c0a12f97020fa8530b8c53cfd907e394f9478 (diff)
downloadgdb-4149b5f44a9e3b13b73aeb8da6432a5ddf4f3479.zip
gdb-4149b5f44a9e3b13b73aeb8da6432a5ddf4f3479.tar.gz
gdb-4149b5f44a9e3b13b73aeb8da6432a5ddf4f3479.tar.bz2
* gdbtk.tcl (populate_register_window): Make initial window one
line taller to account for new column header line.
-rw-r--r--gdb/ChangeLog2
-rw-r--r--gdb/gdbtk.tcl2
2 files changed, 3 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 6b1baa2..9516c86 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -3,6 +3,8 @@ Fri Jun 21 11:04:47 1996 Fred Fish <fnf@cygnus.com>
* gdbtk.tcl (create_register_windows): Include missing '$'s.
Add global declarations for various reg_format_* variables.
+ * gdbtk.tcl (populate_register_window): Make initial window one
+ line taller to account for new column header line.
Fri Jun 21 09:46:47 1996 Fred Fish <fnf@cygnus.com>
diff --git a/gdb/gdbtk.tcl b/gdb/gdbtk.tcl
index 04d5fa6..f517245 100644
--- a/gdb/gdbtk.tcl
+++ b/gdb/gdbtk.tcl
@@ -1977,7 +1977,7 @@ proc populate_reg_window {} {
set width [expr $max_regname_width + 15]
- set height [llength $regnames]
+ set height [expr [llength $regnames] + 1]
if {$height > 60} {set height 60}