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.
This commit is contained in:
Eli Zaretskii 2015-01-16 13:31:36 +02:00
parent 1e2e8c529c
commit bf555842fc
4 changed files with 17 additions and 4 deletions

View file

@ -1,5 +1,8 @@
2015-01-16 Eli Zaretskii <eliz@gnu.org> 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 * tui/tui-data.h (LINE_PREFIX): Make shorter
(MAX_PID_WIDTH): Enlarge from 14 to 19, to leave enough space for (MAX_PID_WIDTH): Enlarge from 14 to 19, to leave enough space for
"Thread NNNNN.XXXX" thread ID notation on Windows. "Thread NNNNN.XXXX" thread ID notation on Windows.

View file

@ -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> 2015-01-11 Doug Evans <xdje42@gmail.com>
PR gdb/15830 PR gdb/15830

View file

@ -24609,11 +24609,15 @@ Update the source window and the current execution point.
@kindex winheight @kindex winheight
Change the height of the window @var{name} by @var{count} Change the height of the window @var{name} by @var{count}
lines. Positive counts increase the height, while negative counts 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} @item tabset @var{nchars}
@kindex tabset @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 @end table
@node TUI Configuration @node TUI Configuration

View file

@ -401,10 +401,10 @@ Usage: + [win] [n]\n"));
Scroll window backward.\n\ Scroll window backward.\n\
Usage: - [win] [n]\n")); Usage: - [win] [n]\n"));
add_com ("<", class_tui, tui_scroll_left_command, _("\ add_com ("<", class_tui, tui_scroll_left_command, _("\
Scroll window forward.\n\ Scroll window text to the left.\n\
Usage: < [win] [n]\n")); Usage: < [win] [n]\n"));
add_com (">", class_tui, tui_scroll_right_command, _("\ add_com (">", class_tui, tui_scroll_right_command, _("\
Scroll window backward.\n\ Scroll window text to the right.\n\
Usage: > [win] [n]\n")); Usage: > [win] [n]\n"));
if (xdb_commands) if (xdb_commands)
add_com ("w", class_xdb, tui_xdb_set_win_height_command, _("\ add_com ("w", class_xdb, tui_xdb_set_win_height_command, _("\