xref: /haiku/src/kits/debug/arch/arch_debug_support.h (revision e81a954787e50e56a7f06f72705b7859b6ab06d1)
1 /*
2  * Copyright 2005, Ingo Weinhold, bonefish@users.sf.net.
3  * Distributed under the terms of the MIT License.
4  */
5 #ifndef _ARCH_DEBUG_SUPPORT_H
6 #define _ARCH_DEBUG_SUPPORT_H
7 
8 #include <debug_support.h>
9 
10 #ifdef __cplusplus
11 extern "C" {
12 #endif
13 
14 status_t arch_debug_get_instruction_pointer(debug_context *context,
15 			thread_id thread, void **ip, void **stackFrameAddress);
16 status_t arch_debug_get_stack_frame(debug_context *context,
17 			void *stackFrameAddress, debug_stack_frame_info *stackFrameInfo);
18 
19 #ifdef __cplusplus
20 }	// extern "C"
21 #endif
22 
23 #endif	// _ARCH_DEBUG_SUPPORT_H
24