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