gdbserver: Use std::list for all_processes
[deliverable/binutils-gdb.git] / gdb / gdbserver / linux-arm-low.c
index e12e3d2c0305fe4f72b5e1a031f8cde296d77662..952e0b2300f064e3a81468ab158e4294de11f6cd 100644 (file)
@@ -707,7 +707,7 @@ arm_new_fork (struct process_info *parent, struct process_info *child)
 
   /* Mark all the hardware breakpoints and watchpoints as changed to
      make sure that the registers will be updated.  */
-  child_lwp = find_lwp_pid (ptid_of (child));
+  child_lwp = find_lwp_pid (ptid_t (child->pid));
   child_lwp_info = child_lwp->arch_private;
   for (i = 0; i < MAX_BPTS; i++)
     child_lwp_info->bpts_changed[i] = 1;
This page took 0.024053 seconds and 4 git commands to generate.