Part of #10688 Co-Authored-By: ejtagle <ejtagle@hotmail.com>
@ -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__ (
@ -129,7 +129,6 @@ static UnwResult UnwTabStateInit(const UnwindCallbacks *cb, UnwTabState *ucb, ui
*/
static UnwResult UnwTabExecuteInstructions(const UnwindCallbacks *cb, UnwTabState *ucb) {
UnwResult err;
int instruction;
uint32_t mask;
uint32_t reg;