mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-29 04:53:56 +08:00
* lin-lwp.c (lin_lwp_resume): Remove resume_all test for !step.
This commit is contained in:
parent
ef17e74bbb
commit
2a4b7c459e
@ -1,3 +1,7 @@
|
||||
2002-10-31 Daniel Jacobowitz <drow@mvista.com>
|
||||
|
||||
* lin-lwp.c (lin_lwp_resume): Remove resume_all test for !step.
|
||||
|
||||
2002-10-31 Daniel Jacobowitz <drow@mvista.com>
|
||||
|
||||
* i386-linux-tdep.c (i386_linux_pc_in_sigtramp): Check for
|
||||
|
@ -579,11 +579,8 @@ lin_lwp_resume (ptid_t ptid, int step, enum target_signal signo)
|
||||
struct lwp_info *lp;
|
||||
int resume_all;
|
||||
|
||||
/* Apparently the interpretation of PID is dependent on STEP: If
|
||||
STEP is non-zero, a specific PID means `step only this process
|
||||
id'. But if STEP is zero, then PID means `continue *all*
|
||||
processes, but give the signal only to this one'. */
|
||||
resume_all = (PIDGET (ptid) == -1) || !step;
|
||||
/* A specific PTID means `step only this process id'. */
|
||||
resume_all = (PIDGET (ptid) == -1);
|
||||
|
||||
if (resume_all)
|
||||
iterate_over_lwps (resume_set_callback, NULL);
|
||||
|
Loading…
Reference in New Issue
Block a user