OSDN Git Service

* lin-lwp.c (lin_lwp_resume): Remove resume_all test for !step.
authordrow <drow>
Thu, 31 Oct 2002 21:00:07 +0000 (21:00 +0000)
committerdrow <drow>
Thu, 31 Oct 2002 21:00:07 +0000 (21:00 +0000)
gdb/ChangeLog
gdb/lin-lwp.c

index b2c750b..967d96b 100644 (file)
@@ -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.
 
index cd577fb..4b9d57d 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);