1 /* 2 * Copyright 2005, Ingo Weinhold, bonefish@users.sf.net. 3 * Distributed under the terms of the MIT License. 4 */ 5 6 7 #include <debug_support.h> 8 9 #include "arch_debug_support.h" 10 11 12 struct stack_frame { 13 struct stack_frame *previous; 14 void *return_address; 15 }; 16 17 18 status_t 19 arch_debug_get_instruction_pointer(debug_context *context, thread_id thread, 20 void **ip, void **stackFrameAddress) 21 { 22 // get the CPU state 23 #warning M68K: TODO 24 return B_ERROR; 25 } 26 27 28 status_t 29 arch_debug_get_stack_frame(debug_context *context, void *stackFrameAddress, 30 debug_stack_frame_info *stackFrameInfo) 31 { 32 #warning M68K: TODO 33 return B_ERROR; 34 } 35