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/ChangeLog | |
parent | e42d0aa5bac43efc5556ca0e6ad18effd04de4ea (diff) | |
download | gdb-752eb8b4565471409d7f6aeda7b86bdef50f82a9.zip gdb-752eb8b4565471409d7f6aeda7b86bdef50f82a9.tar.gz gdb-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/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 56be923..94db23f 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,10 @@ 2013-05-30 Tom Tromey <tromey@redhat.com> + * breakpoint.c (output_thread_groups, parse_cmd_to_aexpr): Call + do_cleanups earlier. + +2013-05-30 Tom Tromey <tromey@redhat.com> + * machoread.c (macho_symfile_read): Assign first cleanup to 'back_to'. |