Browse Source

* lin-lwp.c (lin_lwp_resume): Remove resume_all test for !step.

jimb-separate-debug-021125-branch
Daniel Jacobowitz 24 years ago
parent
commit
2a4b7c459e
  1. 4
      gdb/ChangeLog
  2. 7
      gdb/lin-lwp.c

4
gdb/ChangeLog

@ -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

7
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);

Loading…
Cancel
Save