linux low: Make the arch code free arch_process_info
[deliverable/binutils-gdb.git] / gdb / gdbserver / linux-arm-low.c
index b27c47e84c4ffe15a4ebba517f78688baca2e4ec..e12e3d2c0305fe4f72b5e1a031f8cde296d77662 100644 (file)
@@ -640,6 +640,14 @@ arm_new_process (void)
   return info;
 }
 
+/* Called when a process is being deleted.  */
+
+static void
+arm_delete_process (struct arch_process_info *info)
+{
+  xfree (info);
+}
+
 /* Called when a new thread is detected.  */
 static void
 arm_new_thread (struct lwp_info *lwp)
@@ -1060,6 +1068,7 @@ struct linux_target_ops the_low_target = {
   NULL, /* supply_ptrace_register */
   NULL, /* siginfo_fixup */
   arm_new_process,
+  arm_delete_process,
   arm_new_thread,
   arm_delete_thread,
   arm_new_fork,
This page took 0.031326 seconds and 4 git commands to generate.