1 2017-09-06 John Baldwin <jhb@FreeBSD.org>
3 * configure: Regenerate.
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-27 Mike Frysinger <vapier@gentoo.org>
67 * Makefile.in (SIM_OBJS): Delete sim-hload.o.
69 2015-12-26 Mike Frysinger <vapier@gentoo.org>
71 * config.in, configure: Regenerate.
73 2015-11-15 Mike Frysinger <vapier@gentoo.org>
75 * Makefile.in (SIM_OBJS): Delete sim-reason.o, sim-reg.o, and
78 2015-11-15 Mike Frysinger <vapier@gentoo.org>
80 * interp.c (mcore_regset, LAST_VALID_CREG, NUM_MCORE_REGS: Move
83 (gr, cr): Change from asregs to cpu.
84 (sr, vbr, esr, fsr, epc, fpc, ss0, ss1, ss2, ss3, ss4, gcr, gsr):
85 Change from asregs to cr.
86 (C_ON, C_VALUE, C_OFF, SET_C, CLR_C, NEW_C, SR_AF): Change from
88 (set_active_regs): Define.
89 (set_initial_gprs): Rename scpu to cpu. Change cpu.sr to sr and
90 cpu.gr to gr. Replace for loop with memset. Replace SR_AF with
92 (handle_trap1): Add cpu arg.
93 (process_stub): Likewise. Change cpu.gr to gr.
94 (util): Rename scpu to cpu. Change cpu.gr to gr.
95 (rbat, rhat, rlat, wbat, what, wlat, ILLEGAL, sim_engine_run,
96 mcore_reg_store, mcore_reg_fetch, sim_create_inferior): Rename scpu
98 (step_once): Likewise. Replace SR_AF with set_active_regs. Adjust
100 (mcore_pc_get, mcore_pc_set): Adjust cpu->pc to cpu->regs.pc.
101 * sim-main.h (mcore_regset, LAST_VALID_CREG, NUM_MCORE_REGS: Move
103 (_sim_cpu): Add regs, asints, active_gregs, ticks, stalls, cycles,
106 2015-11-15 Mike Frysinger <vapier@gentoo.org>
108 * Makefile.in (SIM_OBJS): Add sim-reg.o.
109 * interp.c (sim_store_register): Rename to ...
110 (mcore_reg_store): ... this. Change SIM_DESC to SIM_CPU.
111 (sim_fetch_register): Rename to ...
112 (mcore_reg_fetch): ... this. Change SIM_DESC to SIM_CPU.
113 (sim_open): Call CPU_REG_FETCH and CPU_REG_STORE.
115 2015-11-15 Mike Frysinger <vapier@gentoo.org>
117 * Makefile.in (SIM_OBJS): Add sim-reason.o and sim-resume.o.
118 * interp.c (struct mcore_regset): Delete exception.
119 (util): Add SIM_DESC and SIM_CPU args. Call sim_engine_halt instead
120 of setting cpu.asregs.exception.
122 (sim_resume): Rename to ...
123 (step_once): ... this. Delete cpu.asregs.exception initialization.
124 Delete do/while statements while keeping the body. Replace SIGTRAP
125 usage with sim_engine_halt(SIM_SIGTRAP). Replace SIGILL usage with
126 ILLEGAL. Pass sd and cpu down to util.
127 (sim_engine_run): Define.
128 (sim_stop_reason): Delete.
130 2015-11-14 Mike Frysinger <vapier@gentoo.org>
132 * interp.c (sim_close): Delete.
134 2015-06-23 Mike Frysinger <vapier@gentoo.org>
136 * configure: Regenerate.
138 2015-06-17 Mike Frysinger <vapier@gentoo.org>
140 * interp.c (handle_trap1): Replace call to cb_syscall with
143 2015-06-17 Mike Frysinger <vapier@gentoo.org>
145 * interp.c: Include sim-syscall.h.
146 (syscall_read_mem, syscall_write_mem): Delete.
147 (m32r_trap): Change syscall_read_mem/syscall_write_mem
148 to sim_syscall_read_mem/sim_syscall_write_mem.
150 2015-06-12 Mike Frysinger <vapier@gentoo.org>
152 * configure: Regenerate.
154 2015-06-12 Mike Frysinger <vapier@gentoo.org>
156 * configure: Regenerate.
158 2015-04-21 Mike Frysinger <vapier@gentoo.org>
160 * interp.c (sim_resume): Change %x to %lx for all cpu registers.
162 2015-04-21 Mike Frysinger <vapier@gentoo.org>
164 * interp.c (mcore_regset): Delete msize & memory.
165 (issue_messages, mem, wbat, what, wlat, rbat, what, wlat,
166 sim_memory_size, MEM_SIZE_FLOOR, sim_size, init_pointers): Delete.
167 (DEFAULT_MEMORY_SIZE): Define.
168 (set_initial_gprs): Delete memsize handling and call to init_pointers.
169 Change cpu.asregs.msize to DEFAULT_MEMORY_SIZE.
170 (syscall_read_mem): Change memcpy to sim_core_read_buffer.
171 (syscall_write_mem): Change memcpy to sim_core_write_buffer.
172 (process_stub): Change issue_messages to STATE_VERBOSE_P.
173 (util): Turn printf into a stub. Change issue_messages to
175 (rbat, rhat, rlat, wbat, what, wlat): Define to sim core funcs.
176 (sim_resume): Change issue_messages to STATE_VERBOSE_P.
177 Delete cpu.asregs.msize range checks.
178 (sim_write, sim_read): Delete.
179 (sim_store_register, sim_fetch_register): Delete call to
181 (sim_open): Delete osize, call to sim_size, and issue_messages. Call
182 sim_do_commandf to setup memory.
183 (sim_create_inferior): Delete issue_messages handling. Change
184 cpu.asregs.msize to DEFAULT_MEMORY_SIZE. Change strcpy to
185 sim_core_write_buffer.
187 2015-04-21 Mike Frysinger <vapier@gentoo.org>
189 * interp.c (WATCHFUNCTIONS): Undef it.
190 (sim_resume): Move WLhash behind WATCHFUNCTIONS.
191 (sim_do_command): Delete.
193 2015-04-21 Mike Frysinger <vapier@gentoo.org>
195 * Makefile.in (NL_TARGET): Define.
196 * interp.c (NUM_ELEM, opened, log_open, log_close, is_opened): Delete.
197 (syscall_read_mem, syscall_write_mem): New functions.
198 (handle_trap1): Delete entire body. Replace with call to cb_syscall.
200 2015-04-18 Mike Frysinger <vapier@gentoo.org>
202 * sim-main.h (SIM_CPU): Delete.
204 2015-04-18 Mike Frysinger <vapier@gentoo.org>
206 * sim-main.h (sim_cia): Delete.
208 2015-04-17 Mike Frysinger <vapier@gentoo.org>
210 * interp.c (set_initial_gprs): Change CIA_SET to CPU_PC_SET.
211 (sim_resume): Change CIA_GET to CPU_PC_GET and CIA_SET to
213 (sim_create_inferior): Change CIA_SET to CPU_PC_SET.
214 * sim-main.h (CIA_GET, CIA_SET): Delete.
216 2015-04-16 Mike Frysinger <vapier@gentoo.org>
218 * interp.c (mcore_pc_get, mcore_pc_set): New functions.
219 (sim_open): Call CPU_PC_FETCH & CPU_PC_STORE for all cpus.
221 2015-04-15 Mike Frysinger <vapier@gentoo.org>
223 * Makefile.in (SIM_OBJS): Delete sim-cpu.o.
224 * sim-main.h (STATE_CPU): Delete.
226 2015-04-13 Mike Frysinger <vapier@gentoo.org>
228 * configure: Regenerate.
230 2015-04-06 Mike Frysinger <vapier@gentoo.org>
232 * Makefile.in (SIM_OBJS): Delete sim-engine.o.
234 2015-03-31 Mike Frysinger <vapier@gentoo.org>
236 * config.in, configure: Regenerate.
238 2015-03-29 Mike Frysinger <vapier@gentoo.org>
240 * interp.c (struct aout, LONG, SHORT): Delete.
242 2015-03-29 Mike Frysinger <vapier@gentoo.org>
244 * Makefile.in (SIM_RUN_OBJS, SIM_EXTRA_CFLAGS, SIM_EXTRA_LIBS): Delete.
245 (SIM_OBJS): Change to $(SIM_NEW_COMMON_OBJS).
246 * interp.c: Include sim-main.h, sim-base.h, and sim-options.h.
247 (word, uword): Move to sim-main.h.
248 (callback, sim_kind, myname): Delete.
249 (struct mcore_regset): Move pc to sim_cpu.
250 (memcycles, sim_size): Mark static.
251 (set_initial_gprs): Take a sim_cpu arg. Set pc via CIA_SET.
252 (handle_trap1): Take a SIM_DESC arg. Get callback from it.
253 (process_stub): Take a SIM_DESC arg. Pass it to handle_trap1
254 (util): Take a SIM_DESC arg. Pass it to process_stub.
255 (sim_resume): Get/set pc via CIA_GET/CIA_SET. Pass sd to handle_trap1
257 (sim_trace, sim_stop, sim_load, sim_set_callbacks): Delete.
258 (sim_info): Get callback from SIM_DESC.
259 (free_state): New cleanup function.
260 (sim_open): Rewrite to use new common logic.
261 (sim_create_inferior): Get sim_cpu from sd. Pass to set_initial_gprs
262 and set pc via CIA_SET.
263 * sim-main.h: New file.
265 2015-03-29 Mike Frysinger <vapier@gentoo.org>
267 * configure.ac: Call SIM_AC_OPTION_ENDIAN, SIM_AC_OPTION_ALIGNMENT,
268 SIM_AC_OPTION_HOSTENDIAN, SIM_AC_OPTION_ENVIRONMENT, and
269 SIM_AC_OPTION_INLINE.
270 * config.in, configure: Regenerate.
272 2015-03-29 Mike Frysinger <vapier@gentoo.org>
274 * interp.c (heap_ptr, int_sbrk): Delete.
275 (handle_trap1): Change case 69 (sbrk) to always return -1.
276 (sim_load): Delete bss checks and heap_ptr setup.
278 2015-03-16 Mike Frysinger <vapier@gentoo.org>
280 * interp.c: Strip trailing whitespace.
282 2015-03-16 Mike Frysinger <vapier@gentoo.org>
284 * configure.ac: Call SIM_AC_OPTION_WARNINGS.
285 * confingure: Regenerate.
286 * interp.c (mcore_extract_unsigned_integer): Make static and update
287 prototype. Fix up printf string.
288 (mcore_store_unsigned_integer): Make static and update prototype.
289 (int_sbrk): Likewise.
290 (wbat, wlat, what, rbat, rlat, rhat): Delete INLINE and update
292 (SEXTB, SEXTW, IOMEM): Delete.
293 (sim_size): Update prototype. Fix up printf string.
294 (init_pointers): Update prototype.
295 (set_initial_gprs): Update prototype. Fix up printf string.
296 (log_open, log_close, is_opened, handle_trap1, process_stub, util,
297 iu_carry): Update prototype.
298 (sim_resume): Update prototype. Change addr to a word.
299 (sim_write, sim_read, sim_store_register, sim_fetch_register,
300 sim_trace, sim_stop_reason, sim_stop, sim_info, sim_open,
301 sim_close, sim_load, sim_create_inferior, sim_do_command,
302 sim_set_callbacks): Update prototype.
304 2015-03-16 Mike Frysinger <vapier@gentoo.org>
306 * config.in, configure: Regenerate.
308 2015-03-14 Mike Frysinger <vapier@gentoo.org>
310 * Makefile.in (SIM_EXTRA_CLEAN): Delete.
311 (interp.o, mcore-clean): Delete rules.
313 2015-03-14 Mike Frysinger <vapier@gentoo.org>
315 * Makefile.in (SIM_EXTRA_CFLAGS): Set to
316 -DSIM_USE_DEPRECATED_RUN_FRONTEND.
317 (SIM_RUN_OBJS): Set to run.o.
319 2015-03-14 Mike Frysinger <vapier@gentoo.org>
321 * configure.ac (AC_CHECK_HEADERS): Delete.
322 * aclocal.m4, configure: Regenerate.
324 2015-02-20 Mike Frysinger <vapier@gentoo.org>
326 * interp.c: Delete sysdep.h and netinet/in.h includes.
327 Include stdlib.h and string.h.
330 2015-02-19 Mike Frysinger <vapier@gentoo.org>
332 * interp.c (sim_kill): Delete unused func.
334 2015-02-11 Chen Gang <gang.chen.5i5j@gmail.com>
336 * interp.c: Include "unistd.h".
338 2015-02-02 Chen Gang <gang.chen.5i5j@gmail.com>
340 * interp.c (sim_do_command): Call freeargv() before return.
342 2014-08-19 Alan Modra <amodra@gmail.com>
344 * configure: Regenerate.
346 2014-08-15 Roland McGrath <mcgrathr@google.com>
348 * configure: Regenerate.
349 * config.in: Regenerate.
351 2014-03-10 Mike Frysinger <vapier@gentoo.org>
353 * interp.c (sim_do_command): Add const to cmd.
355 2014-03-05 Mike Frysinger <vapier@gentoo.org>
357 * interp.c (sim_load): Add const to prog.
359 2014-02-17 Mike Frysinger <vapier@gentoo.org>
362 * interp.c (interrupt): Delete.
363 (sim_resume): Delete signal(SIGINT) handling.
365 2013-09-23 Alan Modra <amodra@gmail.com>
367 * configure: Regenerate.
369 2013-06-03 Mike Frysinger <vapier@gentoo.org>
371 * aclocal.m4, configure: Regenerate.
373 2012-06-15 Joel Brobecker <brobecker@adacore.com>
375 * config.in, configure: Regenerate.
377 2012-05-20 Hans-Peter Nilsson <hp@axis.com>
380 * interp.c: Include config.h before system header files.
382 2012-03-24 Mike Frysinger <vapier@gentoo.org>
384 * aclocal.m4, config.in, configure: Regenerate.
386 2011-12-03 Mike Frysinger <vapier@gentoo.org>
388 * aclocal.m4: New file.
389 * configure: Regenerate.
391 2011-10-17 Mike Frysinger <vapier@gentoo.org>
393 * configure.ac: Change include to common/acinclude.m4.
395 2011-10-17 Mike Frysinger <vapier@gentoo.org>
397 * configure.ac: Change AC_PREREQ to 2.64. Delete AC_CONFIG_HEADER
398 call. Replace common.m4 include with SIM_AC_COMMON.
399 * configure: Regenerate.
401 2010-04-14 Mike Frysinger <vapier@gentoo.org>
403 * interp.c (sim_write): Add const to buffer arg.
405 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
407 * configure: Regenerate.
409 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
411 * config.in: Regenerate.
412 * configure: Likewise.
414 * configure: Regenerate.
416 2008-07-11 Hans-Peter Nilsson <hp@axis.com>
418 * configure: Regenerate to track ../common/common.m4 changes.
421 2008-06-06 Vladimir Prus <vladimir@codesourcery.com>
422 Daniel Jacobowitz <dan@codesourcery.com>
423 Joseph Myers <joseph@codesourcery.com>
425 * configure: Regenerate.
427 2006-12-21 Hans-Peter Nilsson <hp@axis.com>
429 * config.in: Regenerate.
431 2006-06-13 Richard Earnshaw <rearnsha@arm.com>
433 * configure: Regenerated.
435 2006-06-05 Daniel Jacobowitz <dan@codesourcery.com>
437 * configure: Regenerated.
439 2006-05-31 Daniel Jacobowitz <dan@codesourcery.com>
441 * configure: Regenerated.
443 2005-03-23 Mark Kettenis <kettenis@gnu.org>
445 * configure: Regenerate.
447 2005-01-14 Andrew Cagney <cagney@gnu.org>
449 * configure.ac: Sinclude aclocal.m4 before common.m4. Add
450 explicit call to AC_CONFIG_HEADER.
451 * configure: Regenerate.
453 2005-01-12 Andrew Cagney <cagney@gnu.org>
455 * configure.ac: Update to use ../common/common.m4.
456 * configure: Re-generate.
458 2005-01-11 Andrew Cagney <cagney@localhost.localdomain>
460 * configure: Regenerated to track ../common/aclocal.m4 changes.
462 2005-01-07 Andrew Cagney <cagney@gnu.org>
464 * configure.ac: Rename configure.in, require autoconf 2.59.
465 * configure: Re-generate.
467 2004-12-08 Hans-Peter Nilsson <hp@axis.com>
469 * configure: Regenerate for ../common/aclocal.m4 update.
471 2003-10-11 Alan Modra <amodra@bigpond.net.au>
473 * interp.c (sim_load): Don't refer directly to _cooked_size and vma;
474 Use bfd_section_size and bfd_get_section_vma.
476 2003-02-27 Andrew Cagney <cagney@redhat.com>
478 * interp.c (sim_open, sim_create_inferior): Rename _bfd to bfd.
480 2002-06-16 Andrew Cagney <ac131313@redhat.com>
482 * configure: Regenerated to track ../common/aclocal.m4 changes.
484 2002-06-08 Andrew Cagney <cagney@redhat.com>
486 * interp.c: Include "gdb/callback.h" and "gdb/remote-sim.h".
488 Tue May 23 21:39:23 2000 Andrew Cagney <cagney@b1.cygnus.com>
490 * configure: Regenerated to track ../common/aclocal.m4 changes.
492 2000-02-14 Nick Clifton <nickc@cygnus.com>
494 * interp.c (handle_trap1): Fix handling of fclose system call.
495 Patch submitted by <drew.sarkisian@motorola.com>.
497 2000-02-10 Nick Clifton <nickc@cygnus.com>
499 * interp.c (target_big_endian): New variable.
500 (mcore_extract_unsigned_integer, mcore_store_unsigned_integer,
501 wlat, rlat, sim_resume, sim_load): Add supprot for little
504 2000-01-13 Nick Clifton <nickc@cygnus.com>
506 * interp.c (sim_resume): Do not rely upon host semantics of shift
507 operators to implement M*Core semantics.
509 Thu Sep 2 18:15:53 1999 Andrew Cagney <cagney@b1.cygnus.com>
511 * configure: Regenerated to track ../common/aclocal.m4 changes.
513 1999-06-23 Nick Clifton <nickc@cygnus.com>
515 * sysdep.h: Do not define prototypes for memcpy and strchr if they
518 1999-05-21 Nick Clifton <nickc@cygnus.com>
520 * interp.c (sim_resume): Add more tracing output.
522 1999-05-17 Keith Seitz <keiths@cygnus.com>
524 * interp.c (NUM_MCORE_REGS): Increase by one to allow access to PC.
525 (sim_resume): Correct off by one instruction error when a breakpoint
528 1999-05-08 Felix Lee <flee@cygnus.com>
530 * configure: Regenerated to track ../common/aclocal.m4 changes.
532 1999-05-10 Nick Clifton <nickc@cygnus.com>
534 * interp.c (sim_resume): Record PC in case it is needed for error
535 messages and the original has been corrupted.
537 1999-05-07 Nick Clifton <nickc@cygnus.com>
539 * interp.c (sim_resume): Fix typo 'oze' -> 'doze'.
540 (util): Handle 0x50FF stubs properly.
543 1999-04-29 Nick Clifton <nickc@cygnus.com>
545 * interp.c (set_initial_gprs): Only display memory range if
546 verbose option has been set.
548 1999-04-22 Nick Clifton <nickc@cygnus.com>
550 * interp.c: Add tracing and verbose options.
551 Fixed trap and syscall emulations.
553 1999-04-08 Nick Clifton <nickc@cygnus.com>
555 * interp.c: New file: Simulator for MCore.
556 * sysdep.h: New file: Systems definitions for MCore simulator.
557 * configure.in: New file: Configure script for MCore simulator.
558 * configure: New file: Genreated.
559 * config,in: New file: Config support.
560 * Makefile.in: New file: Meta makefile for MCore simulator.