kernel/m68k: Apply same fix to arch_debug_get_stack_trace as in x86.
All the other arches don't even have an implementation of this function.
This commit is contained in:
@@ -325,11 +325,10 @@ arch_debug_get_stack_trace(addr_t* returnAddresses, int32 maxCount,
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (skipFrames <= 0
|
if (skipFrames > 0)
|
||||||
&& ((flags & STACK_TRACE_KERNEL) != 0 || onKernelStack)) {
|
|
||||||
returnAddresses[count++] = ip;
|
|
||||||
} else
|
|
||||||
skipFrames--;
|
skipFrames--;
|
||||||
|
else
|
||||||
|
returnAddresses[count++] = ip;
|
||||||
|
|
||||||
framePointer = nextFrame;
|
framePointer = nextFrame;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user