You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
xtensa: gdbstub: fix backtracing and stack unwinding
This fixes GDB backtracing by forcibly spilling all registers,
and returning 0s for WINDOWSTART and WINDOWBASE. This is
effectively telling GDB that none of physical registers contains
active data, and must rely on spilled values on stack. Otherwise,
GDB will try to look at AR* registers for previous frame(s).
Since we don't save all AR* register values, there is nothing
for GDB to look at, and thus failing to unwind stack.
With this change, there is no need to populate a portion of
the AR* registers, and no need for keep tracking where those
registers related to windowed are.
Signed-off-by: Daniel Leung <[email protected]>
0 commit comments