Added new parameter "skipIframes" to arch_debug_get_stack_trace(). That

many iframes are supposed to be skipped before recording the stack
trace. Currently implemented for x86 only.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27529 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold
2008-09-15 13:09:14 +00:00
parent 7bc02c61bd
commit e670fc6f63
7 changed files with 39 additions and 8 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ 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);
int32 skipIframes, int32 skipFrames, bool userOnly);
void *arch_debug_get_interrupt_pc();
bool arch_debug_contains_call(struct thread *thread, const char *symbol,
addr_t start, addr_t end);