aboutsummaryrefslogtreecommitdiff
path: root/gdb/sparc-ravenscar-thread.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2019-02-05 02:57:21 -0700
committerTom Tromey <tromey@adacore.com>2019-02-15 13:53:42 -0700
commit5b6ea500d554b173e63e1f8f0344d568ad347463 (patch)
treea45c5aa5d4d73cef9093a37468ab37957c5f5615 /gdb/sparc-ravenscar-thread.c
parente397fd39c62c70900306fa206ebcae1a4853db8b (diff)
downloadgdb-5b6ea500d554b173e63e1f8f0344d568ad347463.zip
gdb-5b6ea500d554b173e63e1f8f0344d568ad347463.tar.gz
gdb-5b6ea500d554b173e63e1f8f0344d568ad347463.tar.bz2
Exception safety in ravenscar-thread.c
This changes some code in ravenscar-thread.c to use scoped_restore. I am not sure if it matters in practice, but this makes these methods exception-safe in case the methods lower in the target stack can throw. gdb/ChangeLog 2019-02-15 Tom Tromey <tromey@adacore.com> * ravenscar-thread.c (ravenscar_thread_target::stopped_by_sw_breakpoint) (ravenscar_thread_target::stopped_by_hw_breakpoint) (ravenscar_thread_target::stopped_by_watchpoint) (ravenscar_thread_target::stopped_data_address) (ravenscar_thread_target::core_of_thread): Use scoped_restore.
Diffstat (limited to 'gdb/sparc-ravenscar-thread.c')
0 files changed, 0 insertions, 0 deletions