fix core stack traces (missing register 25)

This commit is contained in:
christos 2019-04-13 18:02:05 +00:00
parent 4dfcde7b82
commit c9793efd5f

View File

@ -83,7 +83,7 @@ armbsd_supply_gregset (const struct regset *regset,
}
if (regnum == ARM_PS_REGNUM || regnum == -1)
regcache_raw_supply (regcache, i, regs + 16 * 4);
regcache_raw_supply (regcache, ARM_PS_REGNUM, regs + 16 * 4);
if (len >= ARMBSD_SIZEOF_GREGS + ARMBSD_SIZEOF_FPREGS)
{