aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2015-01-16 13:31:36 +0200
committerEli Zaretskii <eliz@gnu.org>2015-01-16 13:33:25 +0200
commitbf555842fccfc0e2cdc4a2f329df6358f991732c (patch)
treebb96f9e96954c05a8b385b318797ba19480b9114
parent1e2e8c529c1cf4fcc8cbae382aa0a653d0b65da6 (diff)
downloadgdb-bf555842fccfc0e2cdc4a2f329df6358f991732c.zip
gdb-bf555842fccfc0e2cdc4a2f329df6358f991732c.tar.gz
gdb-bf555842fccfc0e2cdc4a2f329df6358f991732c.tar.bz2
Fix TUI-related documentation.
tui/tui-win.c (tui_scroll_left_command, tui_scroll_right_command): Doc fix. doc/gdb.texinfo (TUI Commands): Document the possible values of NAME argument to 'winheight' command. Explain the effect of 'tabset' setting better.
-rw-r--r--gdb/ChangeLog3
-rw-r--r--gdb/doc/ChangeLog6
-rw-r--r--gdb/doc/gdb.texinfo8
-rw-r--r--gdb/tui/tui-win.c4
4 files changed, 17 insertions, 4 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index e59c9d5..ae82f49 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,8 @@
2015-01-16 Eli Zaretskii <eliz@gnu.org>
+ * tui/tui-win.c (tui_scroll_left_command, tui_scroll_right_command):
+ Doc fix.
+
* tui/tui-data.h (LINE_PREFIX): Make shorter
(MAX_PID_WIDTH): Enlarge from 14 to 19, to leave enough space for
"Thread NNNNN.XXXX" thread ID notation on Windows.
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog
index 33f233d..4d2470a 100644
--- a/gdb/doc/ChangeLog
+++ b/gdb/doc/ChangeLog
@@ -1,3 +1,9 @@
+2015-01-16 Eli Zaretskii <eliz@gnu.org>
+
+ * doc/gdb.texinfo (TUI Commands): Document the possible
+ values of NAME argument to 'winheight' command. Explain the
+ effect of 'tabset' setting better.
+
2015-01-11 Doug Evans <xdje42@gmail.com>
PR gdb/15830
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index b059ac2..f413e23 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -24609,11 +24609,15 @@ Update the source window and the current execution point.
@kindex winheight
Change the height of the window @var{name} by @var{count}
lines. Positive counts increase the height, while negative counts
-decrease it.
+decrease it. The @var{name} parameter can be one of @code{src} (the
+source window), @code{cmd} (the command window), @code{asm} (the
+disassembly window), or @code{regs} (the register display window).
@item tabset @var{nchars}
@kindex tabset
-Set the width of tab stops to be @var{nchars} characters.
+Set the width of tab stops to be @var{nchars} characters. This
+setting affects the display of TAB characters in the source and
+assembly windows.
@end table
@node TUI Configuration
diff --git a/gdb/tui/tui-win.c b/gdb/tui/tui-win.c
index f3f0a8c..0d155fb 100644
--- a/gdb/tui/tui-win.c
+++ b/gdb/tui/tui-win.c
@@ -401,10 +401,10 @@ Usage: + [win] [n]\n"));
Scroll window backward.\n\
Usage: - [win] [n]\n"));
add_com ("<", class_tui, tui_scroll_left_command, _("\
-Scroll window forward.\n\
+Scroll window text to the left.\n\
Usage: < [win] [n]\n"));
add_com (">", class_tui, tui_scroll_right_command, _("\
-Scroll window backward.\n\
+Scroll window text to the right.\n\
Usage: > [win] [n]\n"));
if (xdb_commands)
add_com ("w", class_xdb, tui_xdb_set_win_height_command, _("\