Added arch_debug_get_stack_trace() that can be used to get a stack trace

(the list of return addresses) for the current stack.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25204 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold
2008-04-27 02:54:27 +00:00
parent d4a5975f50
commit 4dd0a2c7b6
2 changed files with 43 additions and 5 deletions
+3 -1
View File
@@ -21,8 +21,10 @@ extern "C" {
status_t arch_debug_init(kernel_args *args);
void *arch_debug_get_caller(void);
int32 arch_debug_get_stack_trace(addr_t* returnAddresses, int32 maxCount,
int32 skipFrames, bool userOnly);
bool arch_debug_contains_call(struct thread *thread, const char *symbol,
addr_t start, addr_t end);
addr_t start, addr_t end);
void arch_debug_save_registers(int *);
#ifdef __cplusplus