void low_supply_ptrace_register (regcache *regcache, int regno,
const char *buf) override;
+
+ bool supports_tracepoints () override;
+
protected:
void low_arch_setup () override;
}
}
-/* Implementation of linux_target_ops method "supports_tracepoints". */
+/* Implementation of target ops method "supports_tracepoints". */
-static int
-ppc_supports_tracepoints (void)
+bool
+ppc_target::supports_tracepoints ()
{
- return 1;
+ return true;
}
/* Get the thread area address. This is used to recognize which
}
struct linux_target_ops the_low_target = {
- NULL, /* prepare_to_resume */
- NULL, /* process_qsupported */
- ppc_supports_tracepoints,
ppc_get_thread_area,
ppc_install_fast_tracepoint_jump_pad,
ppc_emit_ops,