aboutsummaryrefslogtreecommitdiff
path: root/gdb/mdebugread.c
diff options
context:
space:
mode:
authorAndrew Burgess <andrew.burgess@embecosm.com>2019-01-09 14:02:39 +0000
committerAndrew Burgess <andrew.burgess@embecosm.com>2019-01-10 16:15:30 +0000
commit1ef8573cc77c91feeef3edab74d383d20809eb33 (patch)
treef2f67317d9c4cf33fe9130f622f2759ac1511e68 /gdb/mdebugread.c
parent59aa9b0be159002e2eb971176921dc1e9c8045cf (diff)
downloadbinutils-1ef8573cc77c91feeef3edab74d383d20809eb33.zip
binutils-1ef8573cc77c91feeef3edab74d383d20809eb33.tar.gz
binutils-1ef8573cc77c91feeef3edab74d383d20809eb33.tar.bz2
gdb: Improve scoped_switch_fork_info class
After committing this patch I got this feedback: https://sourceware.org/ml/gdb-patches/2019-01/msg00181.html This patch makes the constructor of scoped_switch_fork_info explicit, and wraps the core of the destructor in a TRY/CATCH block. I've run this through the testsuite on X86-64/GNU Linux, however, this code is not exercised, so this patch is untested. gdb/ChangeLog: * linux-fork.c (scoped_switch_fork_info) <scoped_switch_fork_info>: Make explicit. <~scoped_switch_fork_info>: Wrap core in TRY/CATCH.
Diffstat (limited to 'gdb/mdebugread.c')
0 files changed, 0 insertions, 0 deletions