xref: /haiku/src/system/kernel/arch/arm/arch_user_debugger.cpp (revision b671e9bbdbd10268a042b4f4cc4317ccd03d105e)
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(struct thread *thread,
63         debug_cpu_state *cpuState)
64 {
65         return B_ERROR;
66 }
67 
68 
69 
70 status_t
71 arch_set_breakpoint(void *address)
72 {
73 	return B_ERROR;
74 }
75 
76 
77 status_t
78 arch_clear_breakpoint(void *address)
79 {
80 	return B_ERROR;
81 }
82 
83 
84 status_t
85 arch_set_watchpoint(void *address, uint32 type, int32 length)
86 {
87 	return B_ERROR;
88 }
89 
90 
91 status_t
92 arch_clear_watchpoint(void *address)
93 {
94 	return B_ERROR;
95 }
96 
97 bool
98 arch_has_breakpoints(struct arch_team_debug_info *info)
99 {
100 	return false;
101 }
102