+
+/* Provide a prototype to silence -Wmissing-prototypes. */
+void _initialize_shnbsd_nat (void);
+
+void
+_initialize_shnbsd_nat (void)
+{
+ struct target_ops *t;
+
+ t = inf_ptrace_target ();
+ t->to_fetch_registers = shnbsd_fetch_inferior_registers;
+ t->to_store_registers = shnbsd_store_inferior_registers;
+ add_target (t);
+}