[PATCH] gdb: Use scoped_restore_terminal_state in annotate.c

Tom Tromey tromey@adacore.com
Fri Jun 14 12:59:00 GMT 2019


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

Andrew> In a couple of places in annotate.c we are manually backing up and
Andrew> restoring the terminal ownership, we could instead make use of
Andrew> scoped_restore_terminal_state.

Thanks, this seems like a good cleanup to me.

Tom



More information about the Gdb-patches mailing list