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