static bool
getregs_supplies (struct gdbarch *gdbarch, int regnum)
{
- return (regnum >= RISCV_RA_REGNUM && regnum <= RISCV_PC_REGNUM);
+ return ((regnum >= RISCV_RA_REGNUM && regnum <= RISCV_PC_REGNUM)
+ || regnum == RISCV_CSR_SSTATUS_REGNUM);
}
/* Determine if PT_GETFPREGS fetches REGNUM. */