Change signature of linux_target_ops.new_thread
[deliverable/binutils-gdb.git] / gdb / gdbserver / linux-arm-low.c
index 2cd16682574c6338291e1238727ea821b287bfb0..d408dcda2ef1ba0c468153d1f5eadf804a34c7a9 100644 (file)
@@ -703,8 +703,8 @@ arm_new_process (void)
 }
 
 /* Called when a new thread is detected.  */
-static struct arch_lwp_info *
-arm_new_thread (void)
+static void
+arm_new_thread (struct lwp_info *lwp)
 {
   struct arch_lwp_info *info = xcalloc (1, sizeof (*info));
   int i;
@@ -714,7 +714,7 @@ arm_new_thread (void)
   for (i = 0; i < MAX_WPTS; i++)
     info->wpts_changed[i] = 1;
 
-  return info;
+  lwp->arch_private = info;
 }
 
 /* Called when resuming a thread.
This page took 0.028615 seconds and 4 git commands to generate.