* linux-low.c (maybe_move_out_of_jump_pad): Restore current_inferior
on return.
+2010-09-06 Yao Qi <yao@codesourcery.com>
+
+ * linux-low.c (maybe_move_out_of_jump_pad): Restore current_inferior
+ on return.
+
2010-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
* target.c (mywait) <TARGET_WAITKIND_EXITED>: Fix to use INTEGER.
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;
}
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;
}