diff options
author | Daniel Jacobowitz <drow@false.org> | 2002-04-11 20:30:08 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2002-04-11 20:30:08 +0000 |
commit | bc1e36cac4325ccb7f5d1128adb69c744499f438 (patch) | |
tree | 5990e0dcd87748a953fab50b46d286eabc485776 /gdb/gdbserver/linux-low.h | |
parent | e3f36dbd4775498d38cb5a6d24608c2c7626c209 (diff) | |
download | gdb-bc1e36cac4325ccb7f5d1128adb69c744499f438.zip gdb-bc1e36cac4325ccb7f5d1128adb69c744499f438.tar.gz gdb-bc1e36cac4325ccb7f5d1128adb69c744499f438.tar.bz2 |
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.
Diffstat (limited to 'gdb/gdbserver/linux-low.h')
-rw-r--r-- | gdb/gdbserver/linux-low.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/gdbserver/linux-low.h b/gdb/gdbserver/linux-low.h index 0d0050d..e485a8e 100644 --- a/gdb/gdbserver/linux-low.h +++ b/gdb/gdbserver/linux-low.h @@ -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); }; |