From 2a4b7c459e07f7e67eaaa73c350b22e0ac222f6f Mon Sep 17 00:00:00 2001 From: Daniel Jacobowitz Date: Thu, 31 Oct 2002 21:00:08 +0000 Subject: [PATCH] * lin-lwp.c (lin_lwp_resume): Remove resume_all test for !step. --- gdb/ChangeLog | 4 ++++ gdb/lin-lwp.c | 7 ++----- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index b2c750b271a..967d96bea16 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2002-10-31 Daniel Jacobowitz + + * lin-lwp.c (lin_lwp_resume): Remove resume_all test for !step. + 2002-10-31 Daniel Jacobowitz * i386-linux-tdep.c (i386_linux_pc_in_sigtramp): Check for diff --git a/gdb/lin-lwp.c b/gdb/lin-lwp.c index cd577fbe3a0..4b9d57d0320 100644 --- a/gdb/lin-lwp.c +++ b/gdb/lin-lwp.c @@ -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); -- 2.30.2