2002-04-11 Daniel Jacobowitz <drow@mvista.com>

* gdbserver/linux-low.c (usr_store_inferior_registers): Support
        registers which are allowed to fail to store.
        * gdbserver/linux-low.h (linux_target_ops): Likewise.
        * gdbserver/linux-ppc-low.c (ppc_regmap): Support FPSCR.
        (ppc_cannot_store_register): FPSCR may not be storable.
        * regformats/reg-ppc.dat: Support FPSCR.
This commit is contained in:
Daniel Jacobowitz
2002-04-11 20:30:08 +00:00
parent e3f36dbd47
commit bc1e36cac4
5 changed files with 29 additions and 11 deletions

View File

@@ -34,6 +34,10 @@ struct linux_target_ops
int num_regs;
int *regmap;
int (*cannot_fetch_register) (int);
/* Returns 0 if we can store the register, 1 if we can not
store the register, and 2 if failure to store the register
is acceptable. */
int (*cannot_store_register) (int);
};