This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] gdb: Use scoped_restore_terminal_state in annotate.c
- From: Tom Tromey <tromey at adacore dot com>
- To: Andrew Burgess <andrew dot burgess at embecosm dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Fri, 14 Jun 2019 06:59:31 -0600
- Subject: Re: [PATCH] gdb: Use scoped_restore_terminal_state in annotate.c
- References: <20190613211603.3232-1-andrew.burgess@embecosm.com>
>>>>> "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