diff options
author | Andrew Burgess <andrew.burgess@embecosm.com> | 2019-06-13 22:13:28 +0100 |
---|---|---|
committer | Andrew Burgess <andrew.burgess@embecosm.com> | 2019-06-14 15:27:34 +0100 |
commit | 7c39e397aafaea64812f2611b061bdd50f30dce4 (patch) | |
tree | fc2e03944a4fd0851ed307904316d1a1a93a561e /gdb/ChangeLog | |
parent | f411722cbc18820e5266ec4c2aadd2269eb15447 (diff) | |
download | gdb-7c39e397aafaea64812f2611b061bdd50f30dce4.zip gdb-7c39e397aafaea64812f2611b061bdd50f30dce4.tar.gz gdb-7c39e397aafaea64812f2611b061bdd50f30dce4.tar.bz2 |
gdb: Use scoped_restore_terminal_state in annotate.c
In a couple of places in annotate.c we are manually backing up and
restoring the terminal ownership, we could instead make use of
scoped_restore_terminal_state.
gdb/ChangeLog:
* annotate.c (annotate_breakpoints_invalid): Make use of
scoped_restore_terminal_state.
(annotate_frames_invalid): Likewise.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index ee3377c..f4f5b54 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2019-06-14 Andrew Burgess <andrew.burgess@embecosm.com> + + * annotate.c (annotate_breakpoints_invalid): Make use of + scoped_restore_terminal_state. + (annotate_frames_invalid): Likewise. + 2019-06-14 Tom Tromey <tromey@adacore.com> * ada-lang.c (ada_evaluate_subexp) <case BINOP_ASSIGN>: Always |