1/*
2 * Copyright 2019 Haiku, Inc. All Rights Reserved.
3 * Distributed under the terms of the MIT License.
4 */
5#include <debugger.h>
6#include <int.h>
7#include <thread.h>
8#include <arch/user_debugger.h>
9
10
11void
12arch_clear_team_debug_info(struct arch_team_debug_info *info)
13{
14}
15
16
17void
18arch_destroy_team_debug_info(struct arch_team_debug_info *info)
19{
20}
21
22
23void
24arch_clear_thread_debug_info(struct arch_thread_debug_info *info)
25{
26}
27
28
29void
30arch_destroy_thread_debug_info(struct arch_thread_debug_info *info)
31{
32}
33
34
35void
36arch_update_thread_single_step()
37{
38}
39
40
41void
42arch_set_debug_cpu_state(const debug_cpu_state *cpuState)
43{
44}
45
46
47void
48arch_get_debug_cpu_state(debug_cpu_state *cpuState)
49{
50}
51
52
53status_t
54arch_get_thread_debug_cpu_state(Thread *thread, debug_cpu_state *cpuState)
55{
56	return B_ERROR;
57}
58
59
60status_t
61arch_set_breakpoint(void *address)
62{
63	return B_ERROR;
64}
65
66
67status_t
68arch_clear_breakpoint(void *address)
69{
70	return B_ERROR;
71}
72
73
74status_t
75arch_set_watchpoint(void *address, uint32 type, int32 length)
76{
77	return B_ERROR;
78}
79
80
81status_t
82arch_clear_watchpoint(void *address)
83{
84	return B_ERROR;
85}
86
87
88bool
89arch_has_breakpoints(struct arch_team_debug_info *info)
90{
91	return false;
92}
93