* lin-lwp.c (lin_lwp_resume): Remove resume_all test for !step.
authorDaniel Jacobowitz <drow@false.org>
Thu, 31 Oct 2002 21:00:08 +0000 (21:00 +0000)
committerDaniel Jacobowitz <drow@false.org>
Thu, 31 Oct 2002 21:00:08 +0000 (21:00 +0000)
gdb/ChangeLog
gdb/lin-lwp.c

index b2c750b271a321f22215e286e21bf5de3ad6aef0..967d96bea16434d360c3978ccfaa0d25f807e164 100644 (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
index cd577fbe3a0134ad589cdb73ae9577f12956e4d9..4b9d57d03203359b99b4d0bbd9f94db1fb983929 100644 (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);
This page took 0.028455 seconds and 4 git commands to generate.