Move test_target_ops to a separate file
[deliverable/binutils-gdb.git] / gdb / target.c
index 29ce5eb4145c76a94942b18c02879e0500ee1170..7fad3a960288b0ef5f99bad4a82184eda95570cb 100644 (file)
@@ -192,27 +192,6 @@ target_command (const char *arg, int from_tty)
                  gdb_stdout);
 }
 
-#if GDB_SELF_TEST
-namespace selftests {
-
-/* A mock process_stratum target_ops that doesn't read/write registers
-   anywhere.  */
-
-static const target_info test_target_info = {
-  "test",
-  N_("unit tests target"),
-  N_("You should never see this"),
-};
-
-const target_info &
-test_target_ops::info () const
-{
-  return test_target_info;
-}
-
-} /* namespace selftests */
-#endif /* GDB_SELF_TEST */
-
 /* Default target_has_* methods for process_stratum targets.  */
 
 int
This page took 0.026001 seconds and 4 git commands to generate.