aboutsummaryrefslogtreecommitdiff
path: root/gdb/python/py-breakpoint.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2013-05-30 17:09:02 +0000
committerTom Tromey <tromey@redhat.com>2013-05-30 17:09:02 +0000
commit752eb8b4565471409d7f6aeda7b86bdef50f82a9 (patch)
treee51d896ff05299fb2f73ea8ca9b18834831a07f0 /gdb/python/py-breakpoint.c
parente42d0aa5bac43efc5556ca0e6ad18effd04de4ea (diff)
downloadbinutils-752eb8b4565471409d7f6aeda7b86bdef50f82a9.zip
binutils-752eb8b4565471409d7f6aeda7b86bdef50f82a9.tar.gz
binutils-752eb8b4565471409d7f6aeda7b86bdef50f82a9.tar.bz2
fix two buglets in breakpoint.c
First, output_thread_groups leaks a cleanup along one return path. Second, parse_cmd_to_aexpr could return without running its cleanups, if there was an exception in a TRY_CATCH. * breakpoint.c (output_thread_groups, parse_cmd_to_aexpr): Call do_cleanups earlier.
Diffstat (limited to 'gdb/python/py-breakpoint.c')
0 files changed, 0 insertions, 0 deletions