diff options
Diffstat (limited to 'gdb/top.c')
-rw-r--r-- | gdb/top.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/top.c b/gdb/top.c index 480b67e9860..8ac756f11f9 100644 --- a/gdb/top.c +++ b/gdb/top.c @@ -425,6 +425,7 @@ execute_command (char *p, int from_tty) if (p == NULL) { do_cleanups (cleanup); + discard_cleanups (cleanup_if_error); return; } |