This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Fix terminal state corruption when starting a program from within TUI
- From: Pedro Alves <palves at redhat dot com>
- To: Patrick Palka <patrick at parcs dot ath dot cx>, gdb-patches at sourceware dot org
- Date: Wed, 27 Aug 2014 12:41:53 +0100
- Subject: Re: [PATCH] Fix terminal state corruption when starting a program from within TUI
- Authentication-results: sourceware.org; auth=none
- References: <1408990671-6023-1-git-send-email-patrick at parcs dot ath dot cx>
On 08/25/2014 07:17 PM, Patrick Palka wrote:
> The TUI terminal state becomes corrupted (e.g. key sequences such as
> Alt_F and Alt_B no longer work) when one attaches to an inferior process
> (via "run" or "attach") from within TUI. This terminal corruption
> remains until you switch out of TUI mode.
This has bugged me for a long while, and I simply got used to
working around it. Thanks a lot for tracking it down!
This is OK.
> gdb/ChangeLog:
> * inferior.h (child_terminal_save_ours): Rename to ...
> (gdb_save_tty_state): ... this.
Could you move this to terminal.h, right next to gdb_has_a_terminal
please ?
> * inflow.c (child_terminal_save_ours): Rename to ...
> (gdb_save_tty_state): ... this.
Thanks,
Pedro Alves