+/* Base class for tracefile related targets. */
+
+class tracefile_target : public process_stratum_target
+{
+public:
+ tracefile_target () = default;
+
+ int get_trace_status (trace_status *ts) override;
+ bool has_all_memory () override;
+ bool has_memory () override;
+ bool has_stack () override;
+ bool has_registers () override;
+ bool has_execution (inferior *inf) override { return false; }
+ bool thread_alive (ptid_t ptid) override;
+};
+
+extern void tracefile_fetch_registers (struct regcache *regcache, int regno);