]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
2007-04-18 Daniel Jacobowitz <dan@codesourcery.com>
authorMichael Snyder <msnyder@vmware.com>
Tue, 10 Jun 2008 18:08:10 +0000 (18:08 +0000)
committerMichael Snyder <msnyder@vmware.com>
Tue, 10 Jun 2008 18:08:10 +0000 (18:08 +0000)
* infcmd.c (finish_backwards): Correct check for whether to back
up after finishing.

gdb/ChangeLog
gdb/infcmd.c

index 8a9b31ae3c48762a083c9257f5c1541b376d2184..ab9a2c6648556f3eed1c6bfc575542a161fed499 100644 (file)
@@ -36,6 +36,9 @@
 
 2007-04-18  Daniel Jacobowitz  <dan@codesourcery.com>
 
+       * infcmd.c (finish_backwards): Correct check for whether to back
+       up after finishing.
+
        * arm-tdep.c (arm_scan_epilogue): New.
        (arm_make_prologue_cache): Use it.
        (arm_epilogue_unwind_sniffer): New.
index 9fcf8ceebaf85f866b56cc699934973f2f42c072..e223829199c714c5686e2a52ae74bea9c05156f1 100644 (file)
@@ -1491,8 +1491,8 @@ finish_backwards (struct symbol *function)
       old_chain = make_cleanup_delete_breakpoint (breakpoint);
       proceed ((CORE_ADDR) -1, TARGET_SIGNAL_DEFAULT, 0);
       /* We will be stopped when proceed returns.  */
-      do_cleanups (old_chain);
       back_up = bpstat_find_breakpoint (stop_bpstat, breakpoint) != NULL;
+      do_cleanups (old_chain);
     }
   else
     back_up = 1;