diff options
author | Jeff Law <law@redhat.com> | 1996-08-30 05:09:08 +0000 |
---|---|---|
committer | Jeff Law <law@redhat.com> | 1996-08-30 05:09:08 +0000 |
commit | 614f1c68ed22305a0f0d9cadec899e39fa52fbb2 (patch) | |
tree | 5d192392b838e4fdf2489c45ccfbefe766c56b7a /sim/v850/v850_sim.h | |
parent | dca41ba76b8985d0c81e65e788e8dab5d65d4973 (diff) | |
download | gdb-614f1c68ed22305a0f0d9cadec899e39fa52fbb2.zip gdb-614f1c68ed22305a0f0d9cadec899e39fa52fbb2.tar.gz gdb-614f1c68ed22305a0f0d9cadec899e39fa52fbb2.tar.bz2 |
* v850_sim.h (struct _state): Remove "psw" field. Add
"sregs" field.
(PSW): Remove bogus definition.
* simops.c: Change condition code handling to use the psw
register within the sregs array. Handle "ldsr" and "stsr".
Diffstat (limited to 'sim/v850/v850_sim.h')
-rw-r--r-- | sim/v850/v850_sim.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sim/v850/v850_sim.h b/sim/v850/v850_sim.h index b7402ae..be0f1b6 100644 --- a/sim/v850/v850_sim.h +++ b/sim/v850/v850_sim.h @@ -27,8 +27,8 @@ struct simops struct _state { reg_t regs[32]; /* general-purpose registers */ + reg_t sregs[32]; /* system regsiters, including psw */ reg_t pc; - reg_t psw; uint8 *imem; uint8 *dmem; int exception; @@ -38,7 +38,6 @@ extern uint16 OP[4]; extern struct simops Simops[]; #define PC (State.pc) -#define PSW (State.psw) #define PSW_NP 0x80 #define PSW_EP 0x40 |