From bf555842fccfc0e2cdc4a2f329df6358f991732c Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Fri, 16 Jan 2015 13:31:36 +0200 Subject: 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. --- gdb/ChangeLog | 3 +++ gdb/doc/ChangeLog | 6 ++++++ gdb/doc/gdb.texinfo | 8 ++++++-- gdb/tui/tui-win.c | 4 ++-- 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 + * 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 + + * 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 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, _("\ -- cgit v1.1