aboutsummaryrefslogtreecommitdiff
path: root/gdb/m32r-rom.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/m32r-rom.c')
-rw-r--r--gdb/m32r-rom.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/m32r-rom.c b/gdb/m32r-rom.c
index aab59f0..5b27b60 100644
--- a/gdb/m32r-rom.c
+++ b/gdb/m32r-rom.c
@@ -167,6 +167,7 @@ m32r_load (char *filename, int from_tty)
if (!(catch_errors (m32r_load_1, abfd, "Load aborted!\n", RETURN_MASK_ALL)))
{
monitor_printf ("q\n");
+ do_cleanups (cleanup);
return;
}
#endif