Make inf_ptrace_trad Linux-only, move to separate file
[deliverable/binutils-gdb.git] / gdb / linux-nat.c
index 5a4abb1834a744fa1c8b0066bb0854aa15986924..c23f83e057fa14383ab26ac6e7990ad33b6bd749 100644 (file)
@@ -4338,7 +4338,7 @@ linux_child_static_tracepoint_markers_by_strid (struct target_ops *self,
 /* Create a prototype generic GNU/Linux target.  The client can override
    it with local methods.  */
 
-static void
+void
 linux_target_install_ops (struct target_ops *t)
 {
   t->to_insert_fork_catchpoint = linux_child_insert_fork_catchpoint;
@@ -4371,17 +4371,6 @@ linux_target (void)
   return t;
 }
 
-struct target_ops *
-linux_trad_target (CORE_ADDR (*register_u_offset)(struct gdbarch *, int, int))
-{
-  struct target_ops *t;
-
-  t = inf_ptrace_trad_target (register_u_offset);
-  linux_target_install_ops (t);
-
-  return t;
-}
-
 /* target_is_async_p implementation.  */
 
 static int
This page took 0.024523 seconds and 4 git commands to generate.