gdb/
authorJan Kratochvil <jan.kratochvil@redhat.com>
Tue, 8 Sep 2009 18:07:23 +0000 (18:07 +0000)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Tue, 8 Sep 2009 18:07:23 +0000 (18:07 +0000)
* ia64-tdep.c (ia64_memory_remove_breakpoint): Call do_cleanups
before a return.

gdb/ChangeLog
gdb/ia64-tdep.c

index d4cdc95ad541a5288d389a368f8a64c04cc20023..0283607cf0b9c675ed13a4bea6c71803ed0cf3a8 100644 (file)
@@ -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)
index d68c04483c8172752fb9a9a99fd5da6ec00d2c2e..bc72e405767db94805a4b475cc575e7e07adf09a 100644 (file)
@@ -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;
     }
 
This page took 0.030271 seconds and 4 git commands to generate.