* lin-lwp.c (lin_lwp_resume): Remove resume_all test for !step.

This commit is contained in:
Daniel Jacobowitz 2002-10-31 21:00:08 +00:00
parent ef17e74bbb
commit 2a4b7c459e
2 changed files with 6 additions and 5 deletions

View File

@ -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

View File

@ -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);