xref: /haiku/src/system/kernel/arch/arm/arch_user_debugger.cpp (revision 922e7ba1f3228e6f28db69b0ded8f86eb32dea17)
1 /*
2  * Copyright 2007, François Revol, revol@free.fr.
3  * Distributed under the terms of the MIT License.
4  *
5  * Copyright 2005, Axel Dörfler, axeld@pinc-softare.de
6  * Distributed under the terms of the MIT License.
7  */
8 
9 
10 #include <debugger.h>
11 #include <int.h>
12 #include <thread.h>
13 #include <arch/user_debugger.h>
14 
15 
16 #warning ARM: WRITEME
17 void
18 arch_clear_team_debug_info(struct arch_team_debug_info *info)
19 {
20 }
21 
22 
23 void
24 arch_destroy_team_debug_info(struct arch_team_debug_info *info)
25 {
26 	arch_clear_team_debug_info(info);
27 }
28 
29 
30 void
31 arch_clear_thread_debug_info(struct arch_thread_debug_info *info)
32 {
33 }
34 
35 
36 void
37 arch_destroy_thread_debug_info(struct arch_thread_debug_info *info)
38 {
39 	arch_clear_thread_debug_info(info);
40 }
41 
42 
43 void
44 arch_update_thread_single_step()
45 {
46 }
47 
48 
49 void
50 arch_set_debug_cpu_state(const debug_cpu_state *cpuState)
51 {
52 }
53 
54 
55 void
56 arch_get_debug_cpu_state(debug_cpu_state *cpuState)
57 {
58 }
59 
60 
61 status_t
62 arch_get_thread_debug_cpu_state(Thread *thread, debug_cpu_state *cpuState)
63 {
64         return B_ERROR;
65 }
66 
67 
68 
69 status_t
70 arch_set_breakpoint(void *address)
71 {
72 	return B_ERROR;
73 }
74 
75 
76 status_t
77 arch_clear_breakpoint(void *address)
78 {
79 	return B_ERROR;
80 }
81 
82 
83 status_t
84 arch_set_watchpoint(void *address, uint32 type, int32 length)
85 {
86 	return B_ERROR;
87 }
88 
89 
90 status_t
91 arch_clear_watchpoint(void *address)
92 {
93 	return B_ERROR;
94 }
95 
96 bool
97 arch_has_breakpoints(struct arch_team_debug_info *info)
98 {
99 	return false;
100 }
101