diff options
author | Tom Tromey <tromey@redhat.com> | 2013-05-30 17:09:02 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2013-05-30 17:09:02 +0000 |
commit | 752eb8b4565471409d7f6aeda7b86bdef50f82a9 (patch) | |
tree | e51d896ff05299fb2f73ea8ca9b18834831a07f0 /gdb/python/py-breakpoint.c | |
parent | e42d0aa5bac43efc5556ca0e6ad18effd04de4ea (diff) | |
download | binutils-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