2010-09-06 Yao Qi <yao@codesourcery.com>

* linux-low.c (maybe_move_out_of_jump_pad): Restore current_inferior
	on return.
This commit is contained in:
Yao Qi 2010-09-06 15:10:15 +00:00
parent 48f9886d47
commit 0cccb68320
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,8 @@
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.

View 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;
}