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:
@@ -1158,7 +1158,8 @@ capture_tracing_stack_trace(int32 maxCount, int32 skipFrames, bool userOnly)
|
||||
|
||||
if (stackTrace != NULL) {
|
||||
stackTrace->depth = arch_debug_get_stack_trace(
|
||||
stackTrace->return_addresses, maxCount, skipFrames + 1, userOnly);
|
||||
stackTrace->return_addresses, maxCount, 0, skipFrames + 1,
|
||||
userOnly);
|
||||
}
|
||||
|
||||
return stackTrace;
|
||||
|
||||
Reference in New Issue
Block a user