diff options
author | Daniel Jacobowitz <drow@false.org> | 2002-10-31 21:00:08 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2002-10-31 21:00:08 +0000 |
commit | 2a4b7c459e07f7e67eaaa73c350b22e0ac222f6f (patch) | |
tree | 5292be3469baf98e18f31c918f1647c641b563ef /gdb/lin-lwp.c | |
parent | ef17e74bbb466e082c83057cf51ed068cb292339 (diff) | |
download | gdb-2a4b7c459e07f7e67eaaa73c350b22e0ac222f6f.zip gdb-2a4b7c459e07f7e67eaaa73c350b22e0ac222f6f.tar.gz gdb-2a4b7c459e07f7e67eaaa73c350b22e0ac222f6f.tar.bz2 |
* 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.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/gdb/lin-lwp.c b/gdb/lin-lwp.c index cd577fb..4b9d57d 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); |