[PATCH 2/6] gdb/testsuite/tui: Split enter_tui into two procs

Tom Tromey tom@tromey.com
Tue Jan 7 19:19:00 GMT 2020


>>>>> "Andrew" == Andrew Burgess <andrew.burgess@embecosm.com> writes:

Andrew> Split Term::enter_tui into two procedures, a core which does the
Andrew> setup, but doesn't actually enable tui mode, and the old enter_tui
Andrew> that calls the new core, and then enables tui mode.

Andrew> This is going to be useful in a later commit.

Andrew> gdb/testsuite/ChangeLog:

Andrew> 	* lib/tuiterm.exp (Term::prepare_for_tui): New proc.
Andrew> 	(Term::enter_tui): Use Term::prepare_for_tui.

Thanks, this looks good.

Tom



More information about the Gdb-patches mailing list