+/* This is the implementation of target_ops method to_has_all_memory. */
+
+bool
+tracefile_target::has_all_memory ()
+{
+ return 1;
+}
+
+/* This is the implementation of target_ops method to_has_memory. */
+
+bool
+tracefile_target::has_memory ()
+{
+ return 1;
+}
+
+/* This is the implementation of target_ops method to_has_stack.
+ The target has a stack when GDB has already selected one trace
+ frame. */
+
+bool
+tracefile_target::has_stack ()
+{
+ return get_traceframe_number () != -1;
+}
+
+/* This is the implementation of target_ops method to_has_registers.
+ The target has registers when GDB has already selected one trace
+ frame. */
+
+bool
+tracefile_target::has_registers ()
+{
+ return get_traceframe_number () != -1;
+}
+
+/* This is the implementation of target_ops method to_thread_alive.
+ tracefile has one thread faked by GDB. */
+
+bool
+tracefile_target::thread_alive (ptid_t ptid)
+{
+ return 1;
+}
+
+/* This is the implementation of target_ops method to_get_trace_status.
+ The trace status for a file is that tracing can never be run. */
+
+int
+tracefile_target::get_trace_status (struct trace_status *ts)
+{
+ /* Other bits of trace status were collected as part of opening the
+ trace files, so nothing to do here. */
+
+ return -1;
+}