mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-11-23 20:19:49 +00:00
gdb/
* ia64-tdep.c (ia64_memory_remove_breakpoint): Call do_cleanups before a return.
This commit is contained in:
parent
06a51eac44
commit
a58162c257
@ -1,3 +1,8 @@
|
||||
2009-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
|
||||
|
||||
* ia64-tdep.c (ia64_memory_remove_breakpoint): Call do_cleanups
|
||||
before a return.
|
||||
|
||||
2009-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
|
||||
|
||||
* ia64-tdep.c (ia64_memory_insert_breakpoint)
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user