diff options
author | Mike Frysinger <vapier@gentoo.org> | 2015-04-13 02:09:55 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2015-04-13 02:09:55 -0400 |
commit | 7bebb329bbad32b948939c5f437b2b4eebe7e9fd (patch) | |
tree | 21d8d4de00bcafc93578c9eeb08fb1e28ca3bc7a /sim/mips/ChangeLog | |
parent | bea3f671c5734eb96a02055fbaa0c938ad535b66 (diff) | |
download | gdb-7bebb329bbad32b948939c5f437b2b4eebe7e9fd.zip gdb-7bebb329bbad32b948939c5f437b2b4eebe7e9fd.tar.gz gdb-7bebb329bbad32b948939c5f437b2b4eebe7e9fd.tar.bz2 |
sim: mips: convert to sim-cpu
Make cpu allocation fully dynamic so we can leverage the common
sim-cpu and its APIs.
Diffstat (limited to 'sim/mips/ChangeLog')
-rw-r--r-- | sim/mips/ChangeLog | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/sim/mips/ChangeLog b/sim/mips/ChangeLog index cd655eb..a962f84 100644 --- a/sim/mips/ChangeLog +++ b/sim/mips/ChangeLog @@ -1,5 +1,16 @@ 2015-04-13 Mike Frysinger <vapier@gentoo.org> + * Makefile.in (SIM_OBJS): Add sim-cpu.o. + * interp.c (mips_pc_get, mips_pc_set): New functions. + (sim_open): Declare new local var i. Call sim_cpu_alloc_all. + Call CPU_PC_FETCH & CPU_PC_STORE for all cpus. + (sim_pc_get): Delete. + * sim-main.h (SIM_CPU): Define. + (struct sim_state): Change cpu to an array of pointers. + (STATE_CPU): Drop &. + +2015-04-13 Mike Frysinger <vapier@gentoo.org> + * interp.c (mips_option_handler, open_trace, sim_close, sim_write, sim_read, sim_store_register, sim_fetch_register, sim_create_inferior, pr_addr, pr_uword64): Convert old style |