aboutsummaryrefslogtreecommitdiff
path: root/gdb/ia64-tdep.c
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2009-09-08 18:07:23 +0000
committerJan Kratochvil <jan.kratochvil@redhat.com>2009-09-08 18:07:23 +0000
commita58162c257d51ee5309bbd92efe7eda60dbef8aa (patch)
treefc4f9ab3fd57abcb92c0ddaba742e918004caef5 /gdb/ia64-tdep.c
parent06a51eac4472385b6b7dd9b674697db9987f7c39 (diff)
downloadgdb-a58162c257d51ee5309bbd92efe7eda60dbef8aa.zip
gdb-a58162c257d51ee5309bbd92efe7eda60dbef8aa.tar.gz
gdb-a58162c257d51ee5309bbd92efe7eda60dbef8aa.tar.bz2
gdb/
* ia64-tdep.c (ia64_memory_remove_breakpoint): Call do_cleanups before a return.
Diffstat (limited to 'gdb/ia64-tdep.c')
-rw-r--r--gdb/ia64-tdep.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/ia64-tdep.c b/gdb/ia64-tdep.c
index d68c044..bc72e40 100644
--- a/gdb/ia64-tdep.c
+++ b/gdb/ia64-tdep.c
@@ -725,6 +725,7 @@ ia64_memory_remove_breakpoint (struct gdbarch *gdbarch,
warning (_("Cannot remove breakpoint at address %s, "
"no break instruction at such address."),
paddress (gdbarch, bp_tgt->placed_address));
+ do_cleanups (cleanup);
return -1;
}