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 18 19 void 20 arch_clear_team_debug_info(struct arch_team_debug_info *info) 21 { 22 } 23 24 25 void 26 arch_destroy_team_debug_info(struct arch_team_debug_info *info) 27 { 28 arch_clear_team_debug_info(info); 29 } 30 31 32 void 33 arch_clear_thread_debug_info(struct arch_thread_debug_info *info) 34 { 35 } 36 37 38 void 39 arch_destroy_thread_debug_info(struct arch_thread_debug_info *info) 40 { 41 arch_clear_thread_debug_info(info); 42 } 43 44 45 void 46 arch_update_thread_single_step() 47 { 48 } 49 50 51 void 52 arch_set_debug_cpu_state(const debug_cpu_state *cpuState) 53 { 54 } 55 56 57 void 58 arch_get_debug_cpu_state(debug_cpu_state *cpuState) 59 { 60 } 61 62 63 status_t 64 arch_get_thread_debug_cpu_state(Thread *thread, debug_cpu_state *cpuState) 65 { 66 return B_ERROR; 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 98 bool 99 arch_has_breakpoints(struct arch_team_debug_info *info) 100 { 101 return false; 102 } 103