summaryrefslogtreecommitdiff
path: root/gdb/lin-lwp.c
diff options
context:
space:
mode:
authorDaniel Jacobowitz <dan@debian.org>2002-10-31 21:00:08 +0000
committerDaniel Jacobowitz <dan@debian.org>2002-10-31 21:00:08 +0000
commitabcc480abc9062e30df08bd57921d166bd62edcb (patch)
tree357c41bcec5c512aef2fe08b8b6e169efa2d6265 /gdb/lin-lwp.c
parenta1d2c663afd019207fc3344c8ef94ca3ac79f42f (diff)
downloadgdb-abcc480abc9062e30df08bd57921d166bd62edcb.tar.gz
* lin-lwp.c (lin_lwp_resume): Remove resume_all test for !step.
Diffstat (limited to 'gdb/lin-lwp.c')
-rw-r--r--gdb/lin-lwp.c7
1 files changed, 2 insertions, 5 deletions
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);