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

Tom Tromey
2020-01-07T19:19:30Z

>>>>> "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