regcache::cooked_read unit test
[deliverable/binutils-gdb.git] / gdb / target.h
index 1683af64d5641f6f7831bdea1ad6db73bdddf40b..0d1e7bd6e8d3d9a60fed70745dd9745b3fd10e92 100644 (file)
@@ -2523,4 +2523,18 @@ extern void target_prepare_to_generate_core (void);
 /* See to_done_generating_core.  */
 extern void target_done_generating_core (void);
 
+#if GDB_SELF_TEST
+namespace selftests {
+
+/* A mock process_stratum target_ops that doesn't read/write registers
+   anywhere.  */
+
+class test_target_ops : public target_ops
+{
+public:
+  test_target_ops ();
+};
+} // namespace selftests
+#endif /* GDB_SELF_TEST */
+
 #endif /* !defined (TARGET_H) */
This page took 0.022932 seconds and 4 git commands to generate.