diff options
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/top.c | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 6d51b21..30b2bb0 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,9 @@ 2013-05-30 Tom Tromey <tromey@redhat.com> + * top.c (execute_command): Discard 'cleanup_if_error' cleanups. + +2013-05-30 Tom Tromey <tromey@redhat.com> + * stabsread.c (read_struct_type): Call do_cleanups along all return paths. @@ -425,6 +425,7 @@ execute_command (char *p, int from_tty) if (p == NULL) { do_cleanups (cleanup); + discard_cleanups (cleanup_if_error); return; } |