summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2001-10-13 00:16:17 +0000
committerTom Tromey <tromey@redhat.com>2001-10-13 00:16:17 +0000
commit91db2a30a6464d918fc063627a9cb7c614b72b20 (patch)
treef31d2191c7b2939231d452bc684f29a7525fa1e3
parentab9662007c76c0573d44c74b6f5e6f53122b600e (diff)
downloadgdb-91db2a30a6464d918fc063627a9cb7c614b72b20.tar.gz
* library/console.itb (Console::_build_win): Bind Control-m and
Control-j.
-rw-r--r--gdb/gdbtk/ChangeLog5
-rw-r--r--gdb/gdbtk/library/console.itb2
2 files changed, 7 insertions, 0 deletions
diff --git a/gdb/gdbtk/ChangeLog b/gdb/gdbtk/ChangeLog
index 4a221537ed5..87d43aa848c 100644
--- a/gdb/gdbtk/ChangeLog
+++ b/gdb/gdbtk/ChangeLog
@@ -1,3 +1,8 @@
+2001-10-12 Tom Tromey <tromey@redhat.com>
+
+ * library/console.itb (Console::_build_win): Bind Control-m and
+ Control-j.
+
2001-10-12 Daniel Jacobowitz <drow@mvista.com>
* generic/gdbtk-cmds.c (gdb_listfuncs): Use ALL_BLOCK_SYMBOLS.
diff --git a/gdb/gdbtk/library/console.itb b/gdb/gdbtk/library/console.itb
index 8c2db2acde1..b5326181ece 100644
--- a/gdb/gdbtk/library/console.itb
+++ b/gdb/gdbtk/library/console.itb
@@ -64,6 +64,8 @@ body Console::_build_win {} {
# bind editing keys for console window
#
bind $_twin <Return> "$this invoke; break"
+ bind_plain_key $_twin Control-m "$this invoke; break"
+ bind_plain_key $_twin Control-j "$this invoke; break"
# History control.
bind_plain_key $_twin Control-p "[code $this _previous]; break"