aboutsummaryrefslogtreecommitdiff
path: root/gdb/doc
diff options
context:
space:
mode:
authorPedro Alves <pedro@palves.net>2021-06-04 17:12:41 +0100
committerPedro Alves <pedro@palves.net>2021-07-02 16:31:20 +0100
commit90b044ef102df5bf7929c71fc9465f23279eabdd (patch)
treea65083f9f836ab2968a488fc9b259e874be55591 /gdb/doc
parent49910fd88dcd2ec3d0d9e56120ceb56a6a64b7b8 (diff)
downloadgdb-90b044ef102df5bf7929c71fc9465f23279eabdd.zip
gdb-90b044ef102df5bf7929c71fc9465f23279eabdd.tar.gz
gdb-90b044ef102df5bf7929c71fc9465f23279eabdd.tar.bz2
Document TUI improvements in the manual & NEWS
gdb/ChangeLog: yyyy-mm-dd Pedro Alves <pedro@palves.net> Hannes Domani <ssbssa@yahoo.de> * NEWS: Add new "TUI Improvements" section and mention mouse support and that unrecognized special keys are now passed to GDB. Mention Python Window.click in the Python improvements section. gdb/doc/ChangeLog: yyyy-mm-dd Pedro Alves <pedro@palves.net> * gdb.texinfo (TUI): <TUI Mouse Support>: New node/section. Co-Authored-By: Hannes Domani <ssbssa@yahoo.de> Change-Id: I0d79a795d8ac561fd28cdc5184bff029ba28bc64
Diffstat (limited to 'gdb/doc')
-rw-r--r--gdb/doc/ChangeLog4
-rw-r--r--gdb/doc/gdb.texinfo18
2 files changed, 22 insertions, 0 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog
index c9f30e5..0df8399 100644
--- a/gdb/doc/ChangeLog
+++ b/gdb/doc/ChangeLog
@@ -1,3 +1,7 @@
+2021-07-02 Pedro Alves <pedro@palves.net>
+
+ * gdb.texinfo (TUI): <TUI Mouse Support>: New node/section.
+
2021-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
* gdb.texinfo (Symbols): Document new output format for 'info
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index f1c3e7b..a16a382 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -28387,6 +28387,7 @@ enable} or @kbd{C-x C-a}. @xref{TUI Commands, ,TUI Commands}, and
* TUI Overview:: TUI overview
* TUI Keys:: TUI key bindings
* TUI Single Key Mode:: TUI single key mode
+* TUI Mouse Support:: TUI mouse support
* TUI Commands:: TUI-specific commands
* TUI Configuration:: TUI configuration variables
@end menu
@@ -28676,6 +28677,23 @@ If @value{GDBN} was built with Readline 8.0 or later, the TUI
SingleKey keymap will be named @samp{SingleKey}. This can be used in
@file{.inputrc} to add additional bindings to this keymap.
+@node TUI Mouse Support
+@section TUI Mouse Support
+@cindex TUI mouse support
+
+If the curses library supports the mouse, the TUI supports mouse
+actions.
+
+The mouse wheel scrolls the appropriate window under the mouse cursor.
+
+The TUI itself does not directly support copying/pasting with the
+mouse. However, on Unix terminals, you can typically press and hold
+the @key{SHIFT} key on your keyboard to temporarily bypass
+@value{GDBN}'s TUI and access the terminal's native mouse copy/paste
+functionality (commonly, click-drag-release or double-click to select
+text, middle-click to paste). This copy/paste works with the
+terminal's selection buffer, as opposed to the TUI's buffer.
+
@node TUI Commands
@section TUI-specific Commands
@cindex TUI commands