2010-09-06 Yao Qi <yao@codesourcery.com>
[deliverable/binutils-gdb.git] / gdb / gdbserver / linux-low.c
index f2177ff354d44ca68695566ba618c76255fb0614..76a4df17337c2c23c28c205be2d2ebbdf27b08fb 100644 (file)
@@ -1244,6 +1244,7 @@ Checking whether LWP %ld needs to move out of the jump pad.\n",
                fprintf (stderr, "\
 Checking whether LWP %ld needs to move out of the jump pad...it does\n",
                 lwpid_of (lwp));
+             current_inferior = saved_inferior;
 
              return 1;
            }
@@ -1314,6 +1315,8 @@ Checking whether LWP %ld needs to move out of the jump pad...it does\n",
     fprintf (stderr, "\
 Checking whether LWP %ld needs to move out of the jump pad...no\n",
             lwpid_of (lwp));
+
+  current_inferior = saved_inferior;
   return 0;
 }
 
This page took 0.0271 seconds and 4 git commands to generate.