This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Fix terminal state corruption when starting a program from within TUI


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]