This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] gdb: Add new 'layout cli' command.
- From: Pedro Alves <palves at redhat dot com>
- To: Andrew Burgess <andrew dot burgess at embecosm dot com>, gdb-patches at sourceware dot org
- Cc: Eli Zaretskii <eliz at gnu dot org>
- Date: Fri, 22 May 2015 11:04:10 +0100
- Subject: Re: [PATCH] gdb: Add new 'layout cli' command.
- Authentication-results: sourceware.org; auth=none
- References: <cdefb1cb466c17bb9668b60f04fb1ea3b7bfe028 dot 1432245947 dot git dot andrew dot burgess at embecosm dot com> <555E785D dot 60703 at redhat dot com> <20150522081915 dot GK2880 at embecosm dot com>
On 05/22/2015 09:19 AM, Andrew Burgess wrote:
> * Pedro Alves <palves@redhat.com> [2015-05-22 01:29:17 +0100]:
>
>> I notice that we have no blessed way to go back to the same layout that
>> was current when the tui was last active. "layout current" would be odd,
>> given that the current is "cli"... Hmm, "layout last" (like "cd -")?
>> Not sure...
>>
>> A separate command ("tui enable/disable"? "set tui enabled on/off"?)
>> would be a more direct mapping to the readline bindings.
>
> I'm happy with that. As a bonus this solves the above problem too, so
> 'tui enable' returns to the last active layout.
>
> Eli, sorry, this revision renders your last doc review redundant.
>
Looks good. Thanks.
--
Pedro Alves