1 2015-12-30 Mike Frysinger <vapier@gentoo.org>
3 * wrapper.c (sim_store_register): Rename to ...
4 (microblaze_reg_store): ... this. Delete local cpu var.
5 (sim_fetch_register): Rename to ...
6 (microblaze_reg_fetch): ... this. Delete local cpu var.
7 (sim_open): Call CPU_REG_FETCH/CPU_REG_STORE.
9 2015-12-27 Mike Frysinger <vapier@gentoo.org>
11 * Makefile.in (SIM_OBJS): Delete sim-hload.o.
13 2015-12-26 Mike Frysinger <vapier@gentoo.org>
15 * config.in, configure: Regenerate.
17 2015-11-15 Mike Frysinger <vapier@gentoo.org>
19 * Makefile.in (SIM_OBJS): Delete sim-reason.o and sim-stop.o.
21 2015-11-14 Mike Frysinger <vapier@gentoo.org>
23 * interp.c (sim_close): Delete.
25 2015-06-23 Mike Frysinger <vapier@gentoo.org>
27 * configure: Regenerate.
29 2015-06-12 Mike Frysinger <vapier@gentoo.org>
31 * configure: Regenerate.
33 2015-06-12 Mike Frysinger <vapier@gentoo.org>
35 * configure: Regenerate.
37 2015-06-11 Mike Frysinger <vapier@gentoo.org>
39 * Makefile.in (SIM_OBJS): Add sim-resume.o.
40 * interp.c (sim_resume): rename to ...
41 (sim_engine_run): ... this. Change CPU.exception setting to
42 sim_engine_halt calls. Change do/while to while(1). Call
43 sim_events_process when sim_events_tick is true.
44 (sim_stop_reason): Delete.
45 * sim-main.h (microblaze_regset): Delete exception member.
47 2015-04-18 Mike Frysinger <vapier@gentoo.org>
49 * sim-main.h (SIM_CPU): Delete.
51 2015-04-18 Mike Frysinger <vapier@gentoo.org>
53 * sim-main.h (sim_cia): Delete.
55 2015-04-17 Mike Frysinger <vapier@gentoo.org>
57 * interp.c (issue_messages, wbat, wlat, what, rbat, rlat, rhat,
58 sim_memory_size, MEM_SIZE_FLOOR, sim_size, init_pointers, sim_write,
59 sim_read, sim_do_command): Delete.
60 (set_initial_gprs): Delete memsize and call to init_pointers.
61 (sim_resume): Change rlat to MEM_RD_WORD. Change issue_messages to
63 (sim_store_register, sim_fetch_register): Drop call to init_pointers.
64 (sim_open): Drop issue_messages setup. Delete osize and call to
65 sim_size. Call sim_do_commandf to set the memory size.
66 * microblaze.h (MEM): Delete.
67 (MEM_RD_BYTE): Change rbat to sim_core_read_1.
68 (MEM_RD_HALF): Change rhat to sim_core_read_2.
69 (MEM_RD_WORD): Change rlat to sim_core_read_4.
70 (MEM_WR_BYTE): Change wbat to sim_core_write_1.
71 (MEM_WR_HALF): Change what to sim_core_write_2.
72 (MEM_WR_WORD): Change wlat to sim_core_write_4.
73 * sim-main.h (microblaze_regset): Delete msize and memory.
75 2015-04-17 Mike Frysinger <vapier@gentoo.org>
77 * sim-main.h (CIA_GET, CIA_SET): Delete.
79 2015-04-17 Mike Frysinger <vapier@gentoo.org>
81 * interp.c (microblaze_pc_get, microblaze_pc_set): New functions.
82 (sim_open): Call CPU_PC_FETCH & CPU_PC_STORE for all cpus.
84 2015-04-15 Mike Frysinger <vapier@gentoo.org>
86 * Makefile.in (SIM_OBJS): Delete sim-cpu.o.
87 * sim-main.h (STATE_CPU): Delete.
89 2015-04-13 Mike Frysinger <vapier@gentoo.org>
91 * configure: Regenerate.
93 2015-04-06 Mike Frysinger <vapier@gentoo.org>
95 * Makefile.in (SIM_OBJS): Delete sim-engine.o.
97 2015-03-31 Mike Frysinger <vapier@gentoo.org>
99 * config.in, configure: Regenerate.
101 2015-03-29 Mike Frysinger <vapier@gentoo.org>
103 * Makefile.in (SIM_RUN_OBJS, SIM_EXTRA_CFLAGS, SIM_EXTRA_LIBS): Delete.
104 (SIM_OBJS): Change to $(SIM_NEW_COMMON_OBJS).
105 * interp.c: Drop sys/times.h, sys/param.h, run-sim.h, and sim-utils.h
107 (target_big_endian): Replace with CURRENT_TARGET_BYTE_ORDER.
108 (callback, microblaze_state, sim_kind, myname, sim_trace, sim_stop,
109 sim_load, sim_set_callbacks, sim_complete_command): Delete.
110 (wbat, wlat, what, rbat, rlat, rhat): Add SIM_CPU* as first arg.
111 (sim_size): Mark static and add SIM_CPU* as first arg.
112 (init_pointers): Add SIM_CPU* as first arg and pass to sim_size.
113 (set_initial_gprs): Add SIM_CPU* as first arg and pass to init_pointers.
114 (sim_resume): Add local cpu variable. Pass it to rlat.
115 (sim_write, sim_read, sim_store_register, sim_fetch_register): Add local
116 cpu variable. Pass it to init_pointers.
117 (sim_stop_reason, sim_do_command): Add local cpu variable.
118 (sim_info): Add local cpu and callback variables.
119 (free_state): New cleanup function.
120 (sim_open): Rewrite to use new common logic.
121 (sim_close): Delete body.
122 (sim_create_inferior): Delete call to set_initial_gprs.
123 * microblaze.h (CPU): Redefine using cpu.
124 (MEM_RD_BYTE, MEM_RD_HALF, MEM_RD_WORD, MEM_WR_BYTE, MEM_WR_HALF,
125 MEM_WR_WORD): Pass in cpu as first arg.
126 * sim-main.h (CIA_GET, CIA_SET, SIM_CPU): Define.
127 (MAX_NR_PROCESSORS): Delete.
128 (struct sim_state): Change cpu to *cpu, and rewrite STATE_CPU.
130 2015-03-29 Mike Frysinger <vapier@gentoo.org>
132 * interp.c (NUM_ELEM, heap_ptr, stack_ptr, memcycles, struct aout,
133 LONG, SHORT): Delete.
134 [WATCHFUNCTIONS]: Delete.
135 (sim_info) [WATCHFUNCTIONS]: Delete.
136 (sim_create_inferior): Delete avp, nargs, nenv, s_length, strings,
137 pointers, and hi_stack.
138 (sim_do_command): Delete the "watch" command.
140 2015-03-29 Mike Frysinger <vapier@gentoo.org>
142 * interp.c (sim_load): Set verbose to 0 when calling sim_load_file.
144 2015-03-29 Mike Frysinger <vapier@gentoo.org>
146 * configure.ac: Call SIM_AC_OPTION_ENDIAN, SIM_AC_OPTION_ALIGNMENT,
147 SIM_AC_OPTION_HOSTENDIAN, SIM_AC_OPTION_ENVIRONMENT, and
148 SIM_AC_OPTION_INLINE.
149 * config.in, configure: Regenerate.
151 2015-03-16 Mike Frysinger <vapier@gentoo.org>
153 * interp.c: Strip trailing whitespace.
155 2015-03-16 Mike Frysinger <vapier@gentoo.org>
157 * configure.ac: Call SIM_AC_OPTION_WARNINGS.
158 * confingure: Regenerate.
159 * interp.c: Include run-sim.h.
160 (microblaze_extract_unsigned_integer): Mark static.
161 (microblaze_store_unsigned_integer): Likewise.
162 (int_sbrk, SEXTB, SEXTW, IOMEM): Delete.
163 (init_pointers, set_initial_gprs): Add (void) to prototype.
164 (opened, log_open, log_close, is_opened, handle_trap1, process_stub,
165 util, iu_carry): Delete.
167 2015-03-16 Mike Frysinger <vapier@gentoo.org>
169 * config.in, configure: Regenerate.
171 2015-03-14 Mike Frysinger <vapier@gentoo.org>
173 * Makefile.in (SIM_EXTRA_CFLAGS): Set to
174 -DSIM_USE_DEPRECATED_RUN_FRONTEND.
175 (SIM_RUN_OBJS): Set to run.o.
176 (SIM_EXTRA_CLEAN): Delete.
177 (interp.o, microblaze-clean): Delete rules.
179 2015-03-14 Mike Frysinger <vapier@gentoo.org>
181 * configure.ac (AC_CHECK_HEADERS): Delete.
182 * aclocal.m4, configure: Regenerate.
184 2015-03-08 Mike Frysinger <vapier@gentoo.org>
186 * interp.c (microblaze_extract_unsigned_integer): Change %ld to %zu.
188 2015-02-20 Mike Frysinger <vapier@gentoo.org>
190 * interp.c: Delete sysdep.h and netinet/in.h includes.
191 Include stdlib.h and string.h and unistd.h.
194 2015-02-19 Mike Frysinger <vapier@gentoo.org>
196 * interp.c (sim_kill): Delete unused func.
198 2015-02-19 Mike Frysinger <vapier@gentoo.org>
200 * microblaze.isa: Add "microblaze_" prefix to "or", "and", and "xor".
202 2015-02-02 Chen Gang <gang.chen.5i5j@gmail.com>
204 * interp.c (sim_do_command): Call freeargv() before return.
206 2014-07-01 Chen Gang <gang.chen.5i5j@gmail.com>
208 * interp.c: Use long int format instead of int format.
210 2014-08-19 Alan Modra <amodra@gmail.com>
212 * configure: Regenerate.
214 2014-08-15 Roland McGrath <mcgrathr@google.com>
216 * configure: Regenerate.
217 * config.in: Regenerate.
219 2014-03-10 Mike Frysinger <vapier@gentoo.org>
221 * interp.c (sim_do_command): Add const to cmd.
223 2014-03-05 Mike Frysinger <vapier@gentoo.org>
225 * interp.c (sim_load): Add const to prog.
227 2014-02-17 Mike Frysinger <vapier@gentoo.org>
230 * interp.c (interrupt): Delete.
231 (sim_resume): Delete signal(SIGINT) handling.
233 2013-09-23 Alan Modra <amodra@gmail.com>
235 * configure: Regenerate.
237 2013-06-03 Mike Frysinger <vapier@gentoo.org>
239 * aclocal.m4, configure: Regenerate.
241 2012-06-15 Joel Brobecker <brobecker@adacore.com>
243 * config.in, configure: Regenerate.
245 2012-03-24 Mike Frysinger <vapier@gentoo.org>
247 * aclocal.m4, config.in, configure: Regenerate.
249 2011-12-03 Mike Frysinger <vapier@gentoo.org>
251 * aclocal.m4: New file.
252 * configure: Regenerate.
254 2011-10-17 Mike Frysinger <vapier@gentoo.org>
256 * configure.ac: Change include to common/acinclude.m4.
258 2011-10-17 Mike Frysinger <vapier@gentoo.org>
260 * configure.ac: Change AC_PREREQ to 2.64. Delete AC_CONFIG_HEADER
261 call. Replace common.m4 include with SIM_AC_COMMON.
262 * configure: Regenerate.
264 2011-04-16 Mike Frysinger <vapier@gentoo.org>
266 * interp.c (sim_complete_command): New stub function.
268 2010-04-14 Mike Frysinger <vapier@gentoo.org>
270 * interp.c (sim_write): Add const to buffer arg.