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
13void
14arch_clear_team_debug_info(struct arch_team_debug_info *info)
15{
16}
17
18
19void
20arch_destroy_team_debug_info(struct arch_team_debug_info *info)
21{
22	arch_clear_team_debug_info(info);
23}
24
25
26void
27arch_clear_thread_debug_info(struct arch_thread_debug_info *info)
28{
29}
30
31
32void
33arch_destroy_thread_debug_info(struct arch_thread_debug_info *info)
34{
35	arch_clear_thread_debug_info(info);
36}
37
38
39void
40arch_update_thread_single_step()
41{
42}
43
44
45void
46arch_set_debug_cpu_state(const debug_cpu_state *cpuState)
47{
48}
49
50
51void
52arch_get_debug_cpu_state(debug_cpu_state *cpuState)
53{
54}
55
56
57status_t
58arch_get_thread_debug_cpu_state(Thread* thread, debug_cpu_state* cpuState)
59{
60	return B_UNSUPPORTED;
61}
62
63
64status_t
65arch_set_breakpoint(void *address)
66{
67	return B_ERROR;
68}
69
70
71status_t
72arch_clear_breakpoint(void *address)
73{
74	return B_ERROR;
75}
76
77
78status_t
79arch_set_watchpoint(void *address, uint32 type, int32 length)
80{
81	return B_ERROR;
82}
83
84
85status_t
86arch_clear_watchpoint(void *address)
87{
88	return B_ERROR;
89}
90
91bool
92arch_has_breakpoints(struct arch_team_debug_info *info)
93{
94	return false;
95}
96