summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2000-04-14 14:45:37 +0000
committerTom Tromey <tromey@redhat.com>2000-04-14 14:45:37 +0000
commit6c5d5255c243da3206d78b074b8f9f3930d410d2 (patch)
tree5b827b5817bd7d5545b94cd89efb251f2aceae31
parent8e91aae8ac4c3832701b08bd487b088583f11b67 (diff)
downloadgdb-6c5d5255c243da3206d78b074b8f9f3930d410d2.tar.gz
* console.itb (Console::_complete): Dequoted first argument to
switch. Window name is `$_twin', not `_twin'.
-rw-r--r--gdb/gdbtk/library/ChangeLog10
-rw-r--r--gdb/gdbtk/library/console.itb4
-rw-r--r--gdb/gdbtk/library/srctextwin.itb4
3 files changed, 14 insertions, 4 deletions
diff --git a/gdb/gdbtk/library/ChangeLog b/gdb/gdbtk/library/ChangeLog
index dd64e795549..87bdf5721ea 100644
--- a/gdb/gdbtk/library/ChangeLog
+++ b/gdb/gdbtk/library/ChangeLog
@@ -1,3 +1,13 @@
+2000-04-13 Tom Tromey <tromey@cygnus.com>
+
+ * console.itb (Console::_complete): Dequoted first argument to
+ switch. Window name is `$_twin', not `_twin'.
+
+2000-04-10 Tom Tromey <tromey@cygnus.com>
+
+ * srctextwin.itb (SrcTextWin::build_popups): Don't set actibe
+ background on popup menu item.
+
2000-04-08 Tom Tromey <tromey@cygnus.com>
* console.itb (Console::_build_win): Make Control-a, Control-u,
diff --git a/gdb/gdbtk/library/console.itb b/gdb/gdbtk/library/console.itb
index 8c167d45f9a..51dd270ca13 100644
--- a/gdb/gdbtk/library/console.itb
+++ b/gdb/gdbtk/library/console.itb
@@ -566,10 +566,10 @@ body Console::_complete {} {
# is one match, complete the command and print a space.
# If two or more matches, complete the command and beep.
# If no match, just beep.
- switch {[llength $choices]} {
+ switch [llength $choices] {
0 {}
1 {
- _twin insert end "$completion "
+ $_twin insert end "$completion "
set _saw_tab 0
return
}
diff --git a/gdb/gdbtk/library/srctextwin.itb b/gdb/gdbtk/library/srctextwin.itb
index 8ed09887a3d..67f06f612b7 100644
--- a/gdb/gdbtk/library/srctextwin.itb
+++ b/gdb/gdbtk/library/srctextwin.itb
@@ -215,11 +215,11 @@ body SrcTextWin::build_popups {} {
menu $popups(bp) -tearoff 0
if {!$Browsing && [pref get gdb/control_target]} {
- addPopup bp "Continue to Here" "$this continue_to_here" green 0 0
+ addPopup bp "Continue to Here" "$this continue_to_here" {} 0 0
$popups(bp) add separator
}
- addPopup bp "Delete Breakpoint" "$this remove_bp_at_line" $bp_fg
+ addPopup bp "Delete Breakpoint" "$this remove_bp_at_line"
# Currently you cannot set a tracepoint and a breakpoint at the same line...
#