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