Move duplicated Linux x86 code to nat/x86-linux.c
[deliverable/binutils-gdb.git] / gdb / gdbserver / linux-x86-low.c
index 8a3b5a81ebed1103f63dbab969cfba1cae8c46f7..e293ba4ffdc65d0ed8b2d9f5b36f40aa894569cd 100644 (file)
@@ -640,14 +640,6 @@ x86_linux_new_process (void)
   return info;
 }
 
-/* Called when a new thread is detected.  */
-
-static void
-x86_linux_new_thread (struct lwp_info *lwp)
-{
-  lwp_set_debug_registers_changed (lwp, 1);
-}
-
 /* See nat/x86-dregs.h.  */
 
 struct x86_debug_reg_state *
@@ -657,14 +649,6 @@ x86_debug_reg_state (pid_t pid)
 
   return &proc->priv->arch_private->debug_reg_state;
 }
-
-/* Called prior to resuming a thread.  */
-
-static void
-x86_linux_prepare_to_resume (struct lwp_info *lwp)
-{
-  x86_linux_update_debug_registers (lwp);
-}
 \f
 /* When GDBSERVER is built as a 64-bit application on linux, the
    PTRACE_GETSIGINFO data is always presented in 64-bit layout.  Since
This page took 0.027291 seconds and 4 git commands to generate.