1 2015-04-21 Mike Frysinger <vapier@gentoo.org>
3 * Makefile.in (NL_TARGET): Define.
4 * interp.c (NUM_ELEM, opened, log_open, log_close, is_opened): Delete.
5 (syscall_read_mem, syscall_write_mem): New functions.
6 (handle_trap1): Delete entire body. Replace with call to cb_syscall.
8 2015-04-18 Mike Frysinger <vapier@gentoo.org>
10 * sim-main.h (SIM_CPU): Delete.
12 2015-04-18 Mike Frysinger <vapier@gentoo.org>
14 * sim-main.h (sim_cia): Delete.
16 2015-04-17 Mike Frysinger <vapier@gentoo.org>
18 * interp.c (set_initial_gprs): Change CIA_SET to CPU_PC_SET.
19 (sim_resume): Change CIA_GET to CPU_PC_GET and CIA_SET to
21 (sim_create_inferior): Change CIA_SET to CPU_PC_SET.
22 * sim-main.h (CIA_GET, CIA_SET): Delete.
24 2015-04-16 Mike Frysinger <vapier@gentoo.org>
26 * interp.c (mcore_pc_get, mcore_pc_set): New functions.
27 (sim_open): Call CPU_PC_FETCH & CPU_PC_STORE for all cpus.
29 2015-04-15 Mike Frysinger <vapier@gentoo.org>
31 * Makefile.in (SIM_OBJS): Delete sim-cpu.o.
32 * sim-main.h (STATE_CPU): Delete.
34 2015-04-13 Mike Frysinger <vapier@gentoo.org>
36 * configure: Regenerate.
38 2015-04-06 Mike Frysinger <vapier@gentoo.org>
40 * Makefile.in (SIM_OBJS): Delete sim-engine.o.
42 2015-03-31 Mike Frysinger <vapier@gentoo.org>
44 * config.in, configure: Regenerate.
46 2015-03-29 Mike Frysinger <vapier@gentoo.org>
48 * interp.c (struct aout, LONG, SHORT): Delete.
50 2015-03-29 Mike Frysinger <vapier@gentoo.org>
52 * Makefile.in (SIM_RUN_OBJS, SIM_EXTRA_CFLAGS, SIM_EXTRA_LIBS): Delete.
53 (SIM_OBJS): Change to $(SIM_NEW_COMMON_OBJS).
54 * interp.c: Include sim-main.h, sim-base.h, and sim-options.h.
55 (word, uword): Move to sim-main.h.
56 (callback, sim_kind, myname): Delete.
57 (struct mcore_regset): Move pc to sim_cpu.
58 (memcycles, sim_size): Mark static.
59 (set_initial_gprs): Take a sim_cpu arg. Set pc via CIA_SET.
60 (handle_trap1): Take a SIM_DESC arg. Get callback from it.
61 (process_stub): Take a SIM_DESC arg. Pass it to handle_trap1
62 (util): Take a SIM_DESC arg. Pass it to process_stub.
63 (sim_resume): Get/set pc via CIA_GET/CIA_SET. Pass sd to handle_trap1
65 (sim_trace, sim_stop, sim_load, sim_set_callbacks): Delete.
66 (sim_info): Get callback from SIM_DESC.
67 (free_state): New cleanup function.
68 (sim_open): Rewrite to use new common logic.
69 (sim_create_inferior): Get sim_cpu from sd. Pass to set_initial_gprs
70 and set pc via CIA_SET.
71 * sim-main.h: New file.
73 2015-03-29 Mike Frysinger <vapier@gentoo.org>
75 * configure.ac: Call SIM_AC_OPTION_ENDIAN, SIM_AC_OPTION_ALIGNMENT,
76 SIM_AC_OPTION_HOSTENDIAN, SIM_AC_OPTION_ENVIRONMENT, and
78 * config.in, configure: Regenerate.
80 2015-03-29 Mike Frysinger <vapier@gentoo.org>
82 * interp.c (heap_ptr, int_sbrk): Delete.
83 (handle_trap1): Change case 69 (sbrk) to always return -1.
84 (sim_load): Delete bss checks and heap_ptr setup.
86 2015-03-16 Mike Frysinger <vapier@gentoo.org>
88 * interp.c: Strip trailing whitespace.
90 2015-03-16 Mike Frysinger <vapier@gentoo.org>
92 * configure.ac: Call SIM_AC_OPTION_WARNINGS.
93 * confingure: Regenerate.
94 * interp.c (mcore_extract_unsigned_integer): Make static and update
95 prototype. Fix up printf string.
96 (mcore_store_unsigned_integer): Make static and update prototype.
98 (wbat, wlat, what, rbat, rlat, rhat): Delete INLINE and update
100 (SEXTB, SEXTW, IOMEM): Delete.
101 (sim_size): Update prototype. Fix up printf string.
102 (init_pointers): Update prototype.
103 (set_initial_gprs): Update prototype. Fix up printf string.
104 (log_open, log_close, is_opened, handle_trap1, process_stub, util,
105 iu_carry): Update prototype.
106 (sim_resume): Update prototype. Change addr to a word.
107 (sim_write, sim_read, sim_store_register, sim_fetch_register,
108 sim_trace, sim_stop_reason, sim_stop, sim_info, sim_open,
109 sim_close, sim_load, sim_create_inferior, sim_do_command,
110 sim_set_callbacks): Update prototype.
112 2015-03-16 Mike Frysinger <vapier@gentoo.org>
114 * config.in, configure: Regenerate.
116 2015-03-14 Mike Frysinger <vapier@gentoo.org>
118 * Makefile.in (SIM_EXTRA_CLEAN): Delete.
119 (interp.o, mcore-clean): Delete rules.
121 2015-03-14 Mike Frysinger <vapier@gentoo.org>
123 * Makefile.in (SIM_EXTRA_CFLAGS): Set to
124 -DSIM_USE_DEPRECATED_RUN_FRONTEND.
125 (SIM_RUN_OBJS): Set to run.o.
127 2015-03-14 Mike Frysinger <vapier@gentoo.org>
129 * configure.ac (AC_CHECK_HEADERS): Delete.
130 * aclocal.m4, configure: Regenerate.
132 2015-02-20 Mike Frysinger <vapier@gentoo.org>
134 * interp.c: Delete sysdep.h and netinet/in.h includes.
135 Include stdlib.h and string.h.
138 2015-02-19 Mike Frysinger <vapier@gentoo.org>
140 * interp.c (sim_kill): Delete unused func.
142 2015-02-11 Chen Gang <gang.chen.5i5j@gmail.com>
144 * interp.c: Include "unistd.h".
146 2015-02-02 Chen Gang <gang.chen.5i5j@gmail.com>
148 * interp.c (sim_do_command): Call freeargv() before return.
150 2014-08-19 Alan Modra <amodra@gmail.com>
152 * configure: Regenerate.
154 2014-08-15 Roland McGrath <mcgrathr@google.com>
156 * configure: Regenerate.
157 * config.in: Regenerate.
159 2014-03-10 Mike Frysinger <vapier@gentoo.org>
161 * interp.c (sim_do_command): Add const to cmd.
163 2014-03-05 Mike Frysinger <vapier@gentoo.org>
165 * interp.c (sim_load): Add const to prog.
167 2014-02-17 Mike Frysinger <vapier@gentoo.org>
170 * interp.c (interrupt): Delete.
171 (sim_resume): Delete signal(SIGINT) handling.
173 2013-09-23 Alan Modra <amodra@gmail.com>
175 * configure: Regenerate.
177 2013-06-03 Mike Frysinger <vapier@gentoo.org>
179 * aclocal.m4, configure: Regenerate.
181 2012-06-15 Joel Brobecker <brobecker@adacore.com>
183 * config.in, configure: Regenerate.
185 2012-05-20 Hans-Peter Nilsson <hp@axis.com>
188 * interp.c: Include config.h before system header files.
190 2012-03-24 Mike Frysinger <vapier@gentoo.org>
192 * aclocal.m4, config.in, configure: Regenerate.
194 2011-12-03 Mike Frysinger <vapier@gentoo.org>
196 * aclocal.m4: New file.
197 * configure: Regenerate.
199 2011-10-17 Mike Frysinger <vapier@gentoo.org>
201 * configure.ac: Change include to common/acinclude.m4.
203 2011-10-17 Mike Frysinger <vapier@gentoo.org>
205 * configure.ac: Change AC_PREREQ to 2.64. Delete AC_CONFIG_HEADER
206 call. Replace common.m4 include with SIM_AC_COMMON.
207 * configure: Regenerate.
209 2010-04-14 Mike Frysinger <vapier@gentoo.org>
211 * interp.c (sim_write): Add const to buffer arg.
213 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
215 * configure: Regenerate.
217 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
219 * config.in: Regenerate.
220 * configure: Likewise.
222 * configure: Regenerate.
224 2008-07-11 Hans-Peter Nilsson <hp@axis.com>
226 * configure: Regenerate to track ../common/common.m4 changes.
229 2008-06-06 Vladimir Prus <vladimir@codesourcery.com>
230 Daniel Jacobowitz <dan@codesourcery.com>
231 Joseph Myers <joseph@codesourcery.com>
233 * configure: Regenerate.
235 2006-12-21 Hans-Peter Nilsson <hp@axis.com>
237 * config.in: Regenerate.
239 2006-06-13 Richard Earnshaw <rearnsha@arm.com>
241 * configure: Regenerated.
243 2006-06-05 Daniel Jacobowitz <dan@codesourcery.com>
245 * configure: Regenerated.
247 2006-05-31 Daniel Jacobowitz <dan@codesourcery.com>
249 * configure: Regenerated.
251 2005-03-23 Mark Kettenis <kettenis@gnu.org>
253 * configure: Regenerate.
255 2005-01-14 Andrew Cagney <cagney@gnu.org>
257 * configure.ac: Sinclude aclocal.m4 before common.m4. Add
258 explicit call to AC_CONFIG_HEADER.
259 * configure: Regenerate.
261 2005-01-12 Andrew Cagney <cagney@gnu.org>
263 * configure.ac: Update to use ../common/common.m4.
264 * configure: Re-generate.
266 2005-01-11 Andrew Cagney <cagney@localhost.localdomain>
268 * configure: Regenerated to track ../common/aclocal.m4 changes.
270 2005-01-07 Andrew Cagney <cagney@gnu.org>
272 * configure.ac: Rename configure.in, require autoconf 2.59.
273 * configure: Re-generate.
275 2004-12-08 Hans-Peter Nilsson <hp@axis.com>
277 * configure: Regenerate for ../common/aclocal.m4 update.
279 2003-10-11 Alan Modra <amodra@bigpond.net.au>
281 * interp.c (sim_load): Don't refer directly to _cooked_size and vma;
282 Use bfd_section_size and bfd_get_section_vma.
284 2003-02-27 Andrew Cagney <cagney@redhat.com>
286 * interp.c (sim_open, sim_create_inferior): Rename _bfd to bfd.
288 2002-06-16 Andrew Cagney <ac131313@redhat.com>
290 * configure: Regenerated to track ../common/aclocal.m4 changes.
292 2002-06-08 Andrew Cagney <cagney@redhat.com>
294 * interp.c: Include "gdb/callback.h" and "gdb/remote-sim.h".
296 Tue May 23 21:39:23 2000 Andrew Cagney <cagney@b1.cygnus.com>
298 * configure: Regenerated to track ../common/aclocal.m4 changes.
300 2000-02-14 Nick Clifton <nickc@cygnus.com>
302 * interp.c (handle_trap1): Fix handling of fclose system call.
303 Patch submitted by <drew.sarkisian@motorola.com>.
305 2000-02-10 Nick Clifton <nickc@cygnus.com>
307 * interp.c (target_big_endian): New variable.
308 (mcore_extract_unsigned_integer, mcore_store_unsigned_integer,
309 wlat, rlat, sim_resume, sim_load): Add supprot for little
312 2000-01-13 Nick Clifton <nickc@cygnus.com>
314 * interp.c (sim_resume): Do not rely upon host semantics of shift
315 operators to implement M*Core semantics.
317 Thu Sep 2 18:15:53 1999 Andrew Cagney <cagney@b1.cygnus.com>
319 * configure: Regenerated to track ../common/aclocal.m4 changes.
321 1999-06-23 Nick Clifton <nickc@cygnus.com>
323 * sysdep.h: Do not define prototypes for memcpy and strchr if they
326 1999-05-21 Nick Clifton <nickc@cygnus.com>
328 * interp.c (sim_resume): Add more tracing output.
330 1999-05-17 Keith Seitz <keiths@cygnus.com>
332 * interp.c (NUM_MCORE_REGS): Increase by one to allow access to PC.
333 (sim_resume): Correct off by one instruction error when a breakpoint
336 1999-05-08 Felix Lee <flee@cygnus.com>
338 * configure: Regenerated to track ../common/aclocal.m4 changes.
340 1999-05-10 Nick Clifton <nickc@cygnus.com>
342 * interp.c (sim_resume): Record PC in case it is needed for error
343 messages and the original has been corrupted.
345 1999-05-07 Nick Clifton <nickc@cygnus.com>
347 * interp.c (sim_resume): Fix typo 'oze' -> 'doze'.
348 (util): Handle 0x50FF stubs properly.
351 1999-04-29 Nick Clifton <nickc@cygnus.com>
353 * interp.c (set_initial_gprs): Only display memory range if
354 verbose option has been set.
356 1999-04-22 Nick Clifton <nickc@cygnus.com>
358 * interp.c: Add tracing and verbose options.
359 Fixed trap and syscall emulations.
361 1999-04-08 Nick Clifton <nickc@cygnus.com>
363 * interp.c: New file: Simulator for MCore.
364 * sysdep.h: New file: Systems definitions for MCore simulator.
365 * configure.in: New file: Configure script for MCore simulator.
366 * configure: New file: Genreated.
367 * config,in: New file: Config support.
368 * Makefile.in: New file: Meta makefile for MCore simulator.