From: Eli Zaretskii Date: Fri, 16 Jan 2015 11:31:36 +0000 (+0200) Subject: Fix TUI-related documentation. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bf555842fccfc0e2cdc4a2f329df6358f991732c;p=binutils-gdb.git 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. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index e59c9d5c085..ae82f498a86 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 33f233d3fb9..4d2470a11ec 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 b059ac2e1e2..f413e23233f 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 f3f0a8c4086..0d155fbd2ca 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, _("\