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] |
On 2018-10-22 16:54, Pedro Alves wrote:
On 10/16/2018 04:38 AM, Simon Marchi wrote:diff --git a/gdb/target.h b/gdb/target.h index c37405205a0a..310c942bbe5b 100644 --- a/gdb/target.h +++ b/gdb/target.h @@ -581,7 +581,14 @@ struct target_ops TARGET_DEFAULT_RETURN (false); virtual void terminal_init () TARGET_DEFAULT_IGNORE (); - virtual void terminal_inferior () ++ /* If INF shares a terminal with GDB, restore the saved terminal settings+ associated to INF (see terminal_save_inferior) to the current+ terminal. In a scenario where multiple inferiors share GDB's terminal, + don't apply the settings of another inferior's settings are currentlys/of/if/.
Fixed.
+ applied (in other words, the first inferior's settings win and should not+ be overwritten). */+ virtual void terminal_inferior (inferior *inf) TARGET_DEFAULT_IGNORE ();/* If INF shares a terminal with GDB, save the current terminal settingsOK.
Thanks. Simon
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |