- extended libdebug.so functionality to be able to get stack frames, current instruction pointer, etc. - changed the debug_server to be able to run as a simple BLooper - this saves some trouble when the app_server dies - the debug_server now prints out a stack crawl for the crashed team (without symbols, though - for that data to be helpful you should have a look at the loaded images (ie. where they start)) - the debug_server now also prints the team name when it kills it git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12882 a95241bf-73f2-0310-859d-f6bbb57e9c96
24 lines
576 B
C
24 lines
576 B
C
/*
|
|
* Copyright 2005, Ingo Weinhold, [email protected].
|
|
* Distributed under the terms of the MIT License.
|
|
*/
|
|
#ifndef _ARCH_DEBUG_SUPPORT_H
|
|
#define _ARCH_DEBUG_SUPPORT_H
|
|
|
|
#include <debug_support.h>
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
status_t arch_debug_get_instruction_pointer(debug_context *context,
|
|
thread_id thread, void **ip, void **stackFrameAddress);
|
|
status_t arch_debug_get_stack_frame(debug_context *context,
|
|
void *stackFrameAddress, debug_stack_frame_info *stackFrameInfo);
|
|
|
|
#ifdef __cplusplus
|
|
} // extern "C"
|
|
#endif
|
|
|
|
#endif // _ARCH_DEBUG_SUPPORT_H
|