forked from Imagelibrary/binutils-gdb
[arm] Add support for FPU registers in prologue unwinder
The prologue unwinder had support for FPU registers, but only to calculate the correct offset on the stack, the values were not saved. Signed-off-by: Torbjörn SVENSSON <torbjorn.svensson@st.com> Signed-off-by: Yvan Roux <yvan.roux@foss.st.com>
This commit is contained in:
@@ -1437,7 +1437,7 @@ thumb_analyze_prologue (struct gdbarch *gdbarch,
|
||||
cache->framesize = -regs[ARM_SP_REGNUM].k;
|
||||
}
|
||||
|
||||
for (i = 0; i < 16; i++)
|
||||
for (i = 0; i < gdbarch_num_regs (gdbarch); i++)
|
||||
if (stack.find_reg (gdbarch, i, &offset))
|
||||
cache->saved_regs[i].set_addr (offset);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user