1 2017-05-30 Andrea Corallo <andrea_corallo@yahoo.it>
3 * interp.c: (target_big_endian): target endianess recognition fix.
5 2016-01-10 Mike Frysinger <vapier@gentoo.org>
7 * config.in, configure: Regenerate.
9 2016-01-10 Mike Frysinger <vapier@gentoo.org>
11 * configure: Regenerate.
13 2016-01-10 Mike Frysinger <vapier@gentoo.org>
15 * configure.ac (SIM_AC_OPTION_ENVIRONMENT): Delete call.
16 * configure: Regenerate.
18 2016-01-10 Mike Frysinger <vapier@gentoo.org>
20 * configure: Regenerate.
22 2016-01-10 Mike Frysinger <vapier@gentoo.org>
24 * configure: Regenerate.
26 2016-01-10 Mike Frysinger <vapier@gentoo.org>
28 * configure.ac (SIM_AC_OPTION_INLINE): Delete call.
29 * configure: Regenerate.
31 2016-01-10 Mike Frysinger <vapier@gentoo.org>
33 * configure: Regenerate.
35 2016-01-10 Mike Frysinger <vapier@gentoo.org>
37 * configure: Regenerate.
39 2016-01-09 Mike Frysinger <vapier@gentoo.org>
41 * config.in, configure: Regenerate.
43 2016-01-06 Mike Frysinger <vapier@gentoo.org>
45 * interp.c (sim_open): Mark argv const.
46 (sim_create_inferior): Mark argv and env const.
48 2016-01-04 Mike Frysinger <vapier@gentoo.org>
50 * configure: Regenerate.
52 2016-01-03 Mike Frysinger <vapier@gentoo.org>
54 * interp.c (sim_open): Update sim_parse_args comment.
56 2016-01-03 Mike Frysinger <vapier@gentoo.org>
58 * configure.ac (SIM_AC_OPTION_HOSTENDIAN): Delete.
59 * configure: Regenerate.
61 2016-01-02 Mike Frysinger <vapier@gentoo.org>
63 * configure: Regenerate.
65 2015-12-30 Mike Frysinger <vapier@gentoo.org>
67 * wrapper.c (sim_store_register): Rename to ...
68 (microblaze_reg_store): ... this. Delete local cpu var.
69 (sim_fetch_register): Rename to ...
70 (microblaze_reg_fetch): ... this. Delete local cpu var.
71 (sim_open): Call CPU_REG_FETCH/CPU_REG_STORE.
73 2015-12-27 Mike Frysinger <vapier@gentoo.org>
75 * Makefile.in (SIM_OBJS): Delete sim-hload.o.
77 2015-12-26 Mike Frysinger <vapier@gentoo.org>
79 * config.in, configure: Regenerate.
81 2015-11-15 Mike Frysinger <vapier@gentoo.org>
83 * Makefile.in (SIM_OBJS): Delete sim-reason.o and sim-stop.o.
85 2015-11-14 Mike Frysinger <vapier@gentoo.org>
87 * interp.c (sim_close): Delete.
89 2015-06-23 Mike Frysinger <vapier@gentoo.org>
91 * configure: Regenerate.
93 2015-06-12 Mike Frysinger <vapier@gentoo.org>
95 * configure: Regenerate.
97 2015-06-12 Mike Frysinger <vapier@gentoo.org>
99 * configure: Regenerate.
101 2015-06-11 Mike Frysinger <vapier@gentoo.org>
103 * Makefile.in (SIM_OBJS): Add sim-resume.o.
104 * interp.c (sim_resume): rename to ...
105 (sim_engine_run): ... this. Change CPU.exception setting to
106 sim_engine_halt calls. Change do/while to while(1). Call
107 sim_events_process when sim_events_tick is true.
108 (sim_stop_reason): Delete.
109 * sim-main.h (microblaze_regset): Delete exception member.
111 2015-04-18 Mike Frysinger <vapier@gentoo.org>
113 * sim-main.h (SIM_CPU): Delete.
115 2015-04-18 Mike Frysinger <vapier@gentoo.org>
117 * sim-main.h (sim_cia): Delete.
119 2015-04-17 Mike Frysinger <vapier@gentoo.org>
121 * interp.c (issue_messages, wbat, wlat, what, rbat, rlat, rhat,
122 sim_memory_size, MEM_SIZE_FLOOR, sim_size, init_pointers, sim_write,
123 sim_read, sim_do_command): Delete.
124 (set_initial_gprs): Delete memsize and call to init_pointers.
125 (sim_resume): Change rlat to MEM_RD_WORD. Change issue_messages to
127 (sim_store_register, sim_fetch_register): Drop call to init_pointers.
128 (sim_open): Drop issue_messages setup. Delete osize and call to
129 sim_size. Call sim_do_commandf to set the memory size.
130 * microblaze.h (MEM): Delete.
131 (MEM_RD_BYTE): Change rbat to sim_core_read_1.
132 (MEM_RD_HALF): Change rhat to sim_core_read_2.
133 (MEM_RD_WORD): Change rlat to sim_core_read_4.
134 (MEM_WR_BYTE): Change wbat to sim_core_write_1.
135 (MEM_WR_HALF): Change what to sim_core_write_2.
136 (MEM_WR_WORD): Change wlat to sim_core_write_4.
137 * sim-main.h (microblaze_regset): Delete msize and memory.
139 2015-04-17 Mike Frysinger <vapier@gentoo.org>
141 * sim-main.h (CIA_GET, CIA_SET): Delete.
143 2015-04-17 Mike Frysinger <vapier@gentoo.org>
145 * interp.c (microblaze_pc_get, microblaze_pc_set): New functions.
146 (sim_open): Call CPU_PC_FETCH & CPU_PC_STORE for all cpus.
148 2015-04-15 Mike Frysinger <vapier@gentoo.org>
150 * Makefile.in (SIM_OBJS): Delete sim-cpu.o.
151 * sim-main.h (STATE_CPU): Delete.
153 2015-04-13 Mike Frysinger <vapier@gentoo.org>
155 * configure: Regenerate.
157 2015-04-06 Mike Frysinger <vapier@gentoo.org>
159 * Makefile.in (SIM_OBJS): Delete sim-engine.o.
161 2015-03-31 Mike Frysinger <vapier@gentoo.org>
163 * config.in, configure: Regenerate.
165 2015-03-29 Mike Frysinger <vapier@gentoo.org>
167 * Makefile.in (SIM_RUN_OBJS, SIM_EXTRA_CFLAGS, SIM_EXTRA_LIBS): Delete.
168 (SIM_OBJS): Change to $(SIM_NEW_COMMON_OBJS).
169 * interp.c: Drop sys/times.h, sys/param.h, run-sim.h, and sim-utils.h
171 (target_big_endian): Replace with CURRENT_TARGET_BYTE_ORDER.
172 (callback, microblaze_state, sim_kind, myname, sim_trace, sim_stop,
173 sim_load, sim_set_callbacks, sim_complete_command): Delete.
174 (wbat, wlat, what, rbat, rlat, rhat): Add SIM_CPU* as first arg.
175 (sim_size): Mark static and add SIM_CPU* as first arg.
176 (init_pointers): Add SIM_CPU* as first arg and pass to sim_size.
177 (set_initial_gprs): Add SIM_CPU* as first arg and pass to init_pointers.
178 (sim_resume): Add local cpu variable. Pass it to rlat.
179 (sim_write, sim_read, sim_store_register, sim_fetch_register): Add local
180 cpu variable. Pass it to init_pointers.
181 (sim_stop_reason, sim_do_command): Add local cpu variable.
182 (sim_info): Add local cpu and callback variables.
183 (free_state): New cleanup function.
184 (sim_open): Rewrite to use new common logic.
185 (sim_close): Delete body.
186 (sim_create_inferior): Delete call to set_initial_gprs.
187 * microblaze.h (CPU): Redefine using cpu.
188 (MEM_RD_BYTE, MEM_RD_HALF, MEM_RD_WORD, MEM_WR_BYTE, MEM_WR_HALF,
189 MEM_WR_WORD): Pass in cpu as first arg.
190 * sim-main.h (CIA_GET, CIA_SET, SIM_CPU): Define.
191 (MAX_NR_PROCESSORS): Delete.
192 (struct sim_state): Change cpu to *cpu, and rewrite STATE_CPU.
194 2015-03-29 Mike Frysinger <vapier@gentoo.org>
196 * interp.c (NUM_ELEM, heap_ptr, stack_ptr, memcycles, struct aout,
197 LONG, SHORT): Delete.
198 [WATCHFUNCTIONS]: Delete.
199 (sim_info) [WATCHFUNCTIONS]: Delete.
200 (sim_create_inferior): Delete avp, nargs, nenv, s_length, strings,
201 pointers, and hi_stack.
202 (sim_do_command): Delete the "watch" command.
204 2015-03-29 Mike Frysinger <vapier@gentoo.org>
206 * interp.c (sim_load): Set verbose to 0 when calling sim_load_file.
208 2015-03-29 Mike Frysinger <vapier@gentoo.org>
210 * configure.ac: Call SIM_AC_OPTION_ENDIAN, SIM_AC_OPTION_ALIGNMENT,
211 SIM_AC_OPTION_HOSTENDIAN, SIM_AC_OPTION_ENVIRONMENT, and
212 SIM_AC_OPTION_INLINE.
213 * config.in, configure: Regenerate.
215 2015-03-16 Mike Frysinger <vapier@gentoo.org>
217 * interp.c: Strip trailing whitespace.
219 2015-03-16 Mike Frysinger <vapier@gentoo.org>
221 * configure.ac: Call SIM_AC_OPTION_WARNINGS.
222 * confingure: Regenerate.
223 * interp.c: Include run-sim.h.
224 (microblaze_extract_unsigned_integer): Mark static.
225 (microblaze_store_unsigned_integer): Likewise.
226 (int_sbrk, SEXTB, SEXTW, IOMEM): Delete.
227 (init_pointers, set_initial_gprs): Add (void) to prototype.
228 (opened, log_open, log_close, is_opened, handle_trap1, process_stub,
229 util, iu_carry): Delete.
231 2015-03-16 Mike Frysinger <vapier@gentoo.org>
233 * config.in, configure: Regenerate.
235 2015-03-14 Mike Frysinger <vapier@gentoo.org>
237 * Makefile.in (SIM_EXTRA_CFLAGS): Set to
238 -DSIM_USE_DEPRECATED_RUN_FRONTEND.
239 (SIM_RUN_OBJS): Set to run.o.
240 (SIM_EXTRA_CLEAN): Delete.
241 (interp.o, microblaze-clean): Delete rules.
243 2015-03-14 Mike Frysinger <vapier@gentoo.org>
245 * configure.ac (AC_CHECK_HEADERS): Delete.
246 * aclocal.m4, configure: Regenerate.
248 2015-03-08 Mike Frysinger <vapier@gentoo.org>
250 * interp.c (microblaze_extract_unsigned_integer): Change %ld to %zu.
252 2015-02-20 Mike Frysinger <vapier@gentoo.org>
254 * interp.c: Delete sysdep.h and netinet/in.h includes.
255 Include stdlib.h and string.h and unistd.h.
258 2015-02-19 Mike Frysinger <vapier@gentoo.org>
260 * interp.c (sim_kill): Delete unused func.
262 2015-02-19 Mike Frysinger <vapier@gentoo.org>
264 * microblaze.isa: Add "microblaze_" prefix to "or", "and", and "xor".
266 2015-02-02 Chen Gang <gang.chen.5i5j@gmail.com>
268 * interp.c (sim_do_command): Call freeargv() before return.
270 2014-07-01 Chen Gang <gang.chen.5i5j@gmail.com>
272 * interp.c: Use long int format instead of int format.
274 2014-08-19 Alan Modra <amodra@gmail.com>
276 * configure: Regenerate.
278 2014-08-15 Roland McGrath <mcgrathr@google.com>
280 * configure: Regenerate.
281 * config.in: Regenerate.
283 2014-03-10 Mike Frysinger <vapier@gentoo.org>
285 * interp.c (sim_do_command): Add const to cmd.
287 2014-03-05 Mike Frysinger <vapier@gentoo.org>
289 * interp.c (sim_load): Add const to prog.
291 2014-02-17 Mike Frysinger <vapier@gentoo.org>
294 * interp.c (interrupt): Delete.
295 (sim_resume): Delete signal(SIGINT) handling.
297 2013-09-23 Alan Modra <amodra@gmail.com>
299 * configure: Regenerate.
301 2013-06-03 Mike Frysinger <vapier@gentoo.org>
303 * aclocal.m4, configure: Regenerate.
305 2012-06-15 Joel Brobecker <brobecker@adacore.com>
307 * config.in, configure: Regenerate.
309 2012-03-24 Mike Frysinger <vapier@gentoo.org>
311 * aclocal.m4, config.in, configure: Regenerate.
313 2011-12-03 Mike Frysinger <vapier@gentoo.org>
315 * aclocal.m4: New file.
316 * configure: Regenerate.
318 2011-10-17 Mike Frysinger <vapier@gentoo.org>
320 * configure.ac: Change include to common/acinclude.m4.
322 2011-10-17 Mike Frysinger <vapier@gentoo.org>
324 * configure.ac: Change AC_PREREQ to 2.64. Delete AC_CONFIG_HEADER
325 call. Replace common.m4 include with SIM_AC_COMMON.
326 * configure: Regenerate.
328 2011-04-16 Mike Frysinger <vapier@gentoo.org>
330 * interp.c (sim_complete_command): New stub function.
332 2010-04-14 Mike Frysinger <vapier@gentoo.org>
334 * interp.c (sim_write): Add const to buffer arg.