Re: [PATCH 08/24] Add the "tui new-layout" command

Eli Zaretskii
2020-01-04T18:44:54Z

> From: Tom Tromey <tom@tromey.com>
> Cc: Tom Tromey <tom@tromey.com>
> Date: Sat, 4 Jan 2020 11:33:54 -0700
>
> gdb/ChangeLog
> 2020-01-04 Tom Tromey <tom@tromey.com>
>
> * NEWS: Add "tui new-layout" item.
> * tui/tui-layout.c (add_layout_command): Return cmd_list_element.
> Add new-layout command to help text.
> (validate_window_name): New function.
> (tui_new_layout_command): New function.
> (_initialize_tui_layout): Register "new-layout".
> (tui_layout_window::specification): New method.
> (tui_layout_window::specification): New method.
> * tui/tui-layout.h (class tui_layout_base) <specification>: New
> method.
> (class tui_layout_window) <specification>: New method.
> (class tui_layout_split) <specification>: New method.
>
> gdb/doc/ChangeLog
> 2020-01-04 Tom Tromey <tom@tromey.com>
>
> * gdb.texinfo (TUI Overview): Mention user layouts.
> (TUI Commands): Document "tui new-layout".
>
> gdb/testsuite/ChangeLog
> 2020-01-04 Tom Tromey <tom@tromey.com>
>
> * gdb.tui/new-layout.exp: New file.

OK for the documentation parts.

Thanks.