mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 09:08:59 +00:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user