1/* 2 * Copyright 2009 Jonas Sundstr��m, jonas@kirilla.com 3 * Copyright 2007 Fran��ois Revol, revol@free.fr 4 * Distributed under the terms of the MIT License. 5 */ 6 7 8#include <debugger.h> 9#include <int.h> 10#include <thread.h> 11#include <arch/user_debugger.h> 12 13 14void 15arch_clear_team_debug_info(struct arch_team_debug_info* info) 16{ 17#warning IMPLEMENT arch_clear_team_debug_info 18} 19 20 21void 22arch_destroy_team_debug_info(struct arch_team_debug_info* info) 23{ 24 arch_clear_team_debug_info(info); 25} 26 27 28void 29arch_clear_thread_debug_info(struct arch_thread_debug_info* info) 30{ 31#warning IMPLEMENT arch_clear_thread_debug_info 32} 33 34 35void 36arch_destroy_thread_debug_info(struct arch_thread_debug_info* info) 37{ 38 arch_clear_thread_debug_info(info); 39} 40 41 42void 43arch_update_thread_single_step() 44{ 45#warning IMPLEMENT arch_update_thread_single_step 46} 47 48 49void 50arch_set_debug_cpu_state(const debug_cpu_state* cpuState) 51{ 52#warning IMPLEMENT arch_set_debug_cpu_state 53} 54 55 56void 57arch_get_debug_cpu_state(debug_cpu_state* cpuState) 58{ 59#warning IMPLEMENT arch_get_debug_cpu_state 60} 61 62 63status_t 64arch_get_thread_debug_cpu_state(Thread* thread, 65 debug_cpu_state* cpuState) 66{ 67#warning IMPLEMENT arch_get_thread_debug_cpu_state 68 return B_ERROR; 69} 70 71 72status_t 73arch_set_breakpoint(void* address) 74{ 75#warning IMPLEMENT arch_set_breakpoint 76 return B_ERROR; 77} 78 79 80status_t 81arch_clear_breakpoint(void* address) 82{ 83#warning IMPLEMENT arch_clear_breakpoint 84 return B_ERROR; 85} 86 87 88status_t 89arch_set_watchpoint(void* address, uint32 type, int32 length) 90{ 91#warning IMPLEMENT arch_set_watchpoint 92 return B_ERROR; 93} 94 95 96status_t 97arch_clear_watchpoint(void* address) 98{ 99#warning IMPLEMENT arch_clear_watchpoint 100 return B_ERROR; 101} 102 103 104bool 105arch_has_breakpoints(struct arch_team_debug_info* info) 106{ 107#warning IMPLEMENT arch_has_breakpoints 108 return false; 109} 110 111