vfs: check userland buffers before reading them.
[haiku.git] / src / system / kernel / arch / ppc / arch_user_debugger.cpp
blob19a898cfea30b0ad09591392f970313a32e8a41e
1 /*
2 * Copyright 2005, Axel Dörfler, axeld@pinc-softare.de
3 * Distributed under the terms of the MIT License.
4 */
7 #include <debugger.h>
8 #include <int.h>
9 #include <thread.h>
10 #include <arch/user_debugger.h>
13 void
14 arch_clear_team_debug_info(struct arch_team_debug_info *info)
19 void
20 arch_destroy_team_debug_info(struct arch_team_debug_info *info)
22 arch_clear_team_debug_info(info);
26 void
27 arch_clear_thread_debug_info(struct arch_thread_debug_info *info)
32 void
33 arch_destroy_thread_debug_info(struct arch_thread_debug_info *info)
35 arch_clear_thread_debug_info(info);
39 void
40 arch_update_thread_single_step()
45 void
46 arch_set_debug_cpu_state(const debug_cpu_state *cpuState)
51 void
52 arch_get_debug_cpu_state(debug_cpu_state *cpuState)
57 status_t
58 arch_get_thread_debug_cpu_state(Thread* thread, debug_cpu_state* cpuState)
60 return B_UNSUPPORTED;
64 status_t
65 arch_set_breakpoint(void *address)
67 return B_ERROR;
71 status_t
72 arch_clear_breakpoint(void *address)
74 return B_ERROR;
78 status_t
79 arch_set_watchpoint(void *address, uint32 type, int32 length)
81 return B_ERROR;
85 status_t
86 arch_clear_watchpoint(void *address)
88 return B_ERROR;
91 bool
92 arch_has_breakpoints(struct arch_team_debug_info *info)
94 return false;