diff options
author | Mike Frysinger <vapier@gentoo.org> | 2015-04-15 02:13:23 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2015-04-15 02:19:52 -0400 |
commit | 78e9aa70febc3985a2c88dbc0c7a87d214231c3d (patch) | |
tree | 1a0eb199746ae7edea7336a3a60b53daa42a7275 /sim/msp430 | |
parent | f95f4ed2c4680fea68399691481b277ece11570e (diff) | |
download | gdb-78e9aa70febc3985a2c88dbc0c7a87d214231c3d.zip gdb-78e9aa70febc3985a2c88dbc0c7a87d214231c3d.tar.gz gdb-78e9aa70febc3985a2c88dbc0c7a87d214231c3d.tar.bz2 |
sim: unify sim-cpu usage
Now that all the targets are utilizing CPU_PC_{FETCH,STORE}, and the
cpu state is multicore, and the STATE_CPU defines match, we can move
it all to the common code.
Diffstat (limited to 'sim/msp430')
-rw-r--r-- | sim/msp430/ChangeLog | 5 | ||||
-rw-r--r-- | sim/msp430/Makefile.in | 1 | ||||
-rw-r--r-- | sim/msp430/sim-main.h | 6 |
3 files changed, 5 insertions, 7 deletions
diff --git a/sim/msp430/ChangeLog b/sim/msp430/ChangeLog index 9347ed5..37204f2 100644 --- a/sim/msp430/ChangeLog +++ b/sim/msp430/ChangeLog @@ -1,3 +1,8 @@ +2015-04-15 Mike Frysinger <vapier@gentoo.org> + + * Makefile.in (SIM_OBJS): Delete sim-cpu.o. + * sim-main.h (STATE_CPU): Delete. + 2015-04-13 Mike Frysinger <vapier@gentoo.org> * configure: Regenerate. diff --git a/sim/msp430/Makefile.in b/sim/msp430/Makefile.in index 3ab384f..4653d97 100644 --- a/sim/msp430/Makefile.in +++ b/sim/msp430/Makefile.in @@ -28,7 +28,6 @@ SIM_OBJS = \ $(SIM_NEW_COMMON_OBJS) \ msp430-sim.o \ trace.o \ - sim-cpu.o \ sim-hload.o \ sim-reason.o \ sim-reg.o \ diff --git a/sim/msp430/sim-main.h b/sim/msp430/sim-main.h index f625bd5..d71217e 100644 --- a/sim/msp430/sim-main.h +++ b/sim/msp430/sim-main.h @@ -42,12 +42,6 @@ struct sim_state { sim_cpu *cpu[MAX_NR_PROCESSORS]; -#if (WITH_SMP) -#error WITH_SMP not supported by MSP430 sim -#else -#define STATE_CPU(sd,n) ((sd)->cpu[0]) -#endif - asymbol **symbol_table; long number_of_symbols; #define STATE_SYMBOL_TABLE(sd) ((sd)->symbol_table) |