Fix compile warnings in backtrace
Part of #10688 Co-Authored-By: ejtagle <ejtagle@hotmail.com>
This commit is contained in:
@@ -66,7 +66,7 @@ static const UnwindCallbacks UnwCallbacks = {
|
||||
void backtrace(void) {
|
||||
|
||||
UnwindFrame btf;
|
||||
uint32_t sp,lr,pc;
|
||||
uint32_t sp = 0, lr = 0, pc = 0;
|
||||
|
||||
// Capture the values of the registers to perform the traceback
|
||||
__asm__ __volatile__ (
|
||||
|
||||
Reference in New Issue
Block a user