btrfs: Attempt to fix GCC2 build.
[haiku.git] / src / kits / debug / arch / arch_debug_support.h
blob7cf056b9e9a9a55cf4e8f7961314b9b2dce9fcb1
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
8 #include <debug_support.h>
10 #ifdef __cplusplus
11 extern "C" {
12 #endif
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);
19 #ifdef __cplusplus
20 } // extern "C"
21 #endif
23 #endif // _ARCH_DEBUG_SUPPORT_H