1 /* 2 * Copyright 2019, Adrien Destugues, pulkomandy@pulkomandy.tk. 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_get_thread_debug_cpu_state(Thread* thread, debug_cpu_state* cpuState) 59 { 60 return B_UNSUPPORTED; 61 } 62 63 64 status_t 65 arch_set_breakpoint(void *address) 66 { 67 return B_ERROR; 68 } 69 70 71 status_t 72 arch_clear_breakpoint(void *address) 73 { 74 return B_ERROR; 75 } 76 77 78 status_t 79 arch_set_watchpoint(void *address, uint32 type, int32 length) 80 { 81 return B_ERROR; 82 } 83 84 85 status_t 86 arch_clear_watchpoint(void *address) 87 { 88 return B_ERROR; 89 } 90 91 bool 92 arch_has_breakpoints(struct arch_team_debug_info *info) 93 { 94 return false; 95 } 96