aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2002-10-31 21:00:08 +0000
committerDaniel Jacobowitz <drow@false.org>2002-10-31 21:00:08 +0000
commit2a4b7c459e07f7e67eaaa73c350b22e0ac222f6f (patch)
tree5292be3469baf98e18f31c918f1647c641b563ef /gdb
parentef17e74bbb466e082c83057cf51ed068cb292339 (diff)
downloadgdb-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')
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/lin-lwp.c7
2 files changed, 6 insertions, 5 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index b2c750b..967d96b 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,9 @@
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
trampolines in sigaction.
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);