1 2015-03-29 Mike Frysinger <vapier@gentoo.org>
3 * interp.c (struct aout, LONG, SHORT): Delete.
5 2015-03-29 Mike Frysinger <vapier@gentoo.org>
7 * Makefile.in (SIM_RUN_OBJS, SIM_EXTRA_CFLAGS, SIM_EXTRA_LIBS): Delete.
8 (SIM_OBJS): Change to $(SIM_NEW_COMMON_OBJS).
9 * interp.c: Include sim-main.h, sim-base.h, and sim-options.h.
10 (word, uword): Move to sim-main.h.
11 (callback, sim_kind, myname): Delete.
12 (struct mcore_regset): Move pc to sim_cpu.
13 (memcycles, sim_size): Mark static.
14 (set_initial_gprs): Take a sim_cpu arg. Set pc via CIA_SET.
15 (handle_trap1): Take a SIM_DESC arg. Get callback from it.
16 (process_stub): Take a SIM_DESC arg. Pass it to handle_trap1
17 (util): Take a SIM_DESC arg. Pass it to process_stub.
18 (sim_resume): Get/set pc via CIA_GET/CIA_SET. Pass sd to handle_trap1
20 (sim_trace, sim_stop, sim_load, sim_set_callbacks): Delete.
21 (sim_info): Get callback from SIM_DESC.
22 (free_state): New cleanup function.
23 (sim_open): Rewrite to use new common logic.
24 (sim_create_inferior): Get sim_cpu from sd. Pass to set_initial_gprs
25 and set pc via CIA_SET.
26 * sim-main.h: New file.
28 2015-03-29 Mike Frysinger <vapier@gentoo.org>
30 * configure.ac: Call SIM_AC_OPTION_ENDIAN, SIM_AC_OPTION_ALIGNMENT,
31 SIM_AC_OPTION_HOSTENDIAN, SIM_AC_OPTION_ENVIRONMENT, and
33 * config.in, configure: Regenerate.
35 2015-03-29 Mike Frysinger <vapier@gentoo.org>
37 * interp.c (heap_ptr, int_sbrk): Delete.
38 (handle_trap1): Change case 69 (sbrk) to always return -1.
39 (sim_load): Delete bss checks and heap_ptr setup.
41 2015-03-16 Mike Frysinger <vapier@gentoo.org>
43 * interp.c: Strip trailing whitespace.
45 2015-03-16 Mike Frysinger <vapier@gentoo.org>
47 * configure.ac: Call SIM_AC_OPTION_WARNINGS.
48 * confingure: Regenerate.
49 * interp.c (mcore_extract_unsigned_integer): Make static and update
50 prototype. Fix up printf string.
51 (mcore_store_unsigned_integer): Make static and update prototype.
53 (wbat, wlat, what, rbat, rlat, rhat): Delete INLINE and update
55 (SEXTB, SEXTW, IOMEM): Delete.
56 (sim_size): Update prototype. Fix up printf string.
57 (init_pointers): Update prototype.
58 (set_initial_gprs): Update prototype. Fix up printf string.
59 (log_open, log_close, is_opened, handle_trap1, process_stub, util,
60 iu_carry): Update prototype.
61 (sim_resume): Update prototype. Change addr to a word.
62 (sim_write, sim_read, sim_store_register, sim_fetch_register,
63 sim_trace, sim_stop_reason, sim_stop, sim_info, sim_open,
64 sim_close, sim_load, sim_create_inferior, sim_do_command,
65 sim_set_callbacks): Update prototype.
67 2015-03-16 Mike Frysinger <vapier@gentoo.org>
69 * config.in, configure: Regenerate.
71 2015-03-14 Mike Frysinger <vapier@gentoo.org>
73 * Makefile.in (SIM_EXTRA_CLEAN): Delete.
74 (interp.o, mcore-clean): Delete rules.
76 2015-03-14 Mike Frysinger <vapier@gentoo.org>
78 * Makefile.in (SIM_EXTRA_CFLAGS): Set to
79 -DSIM_USE_DEPRECATED_RUN_FRONTEND.
80 (SIM_RUN_OBJS): Set to run.o.
82 2015-03-14 Mike Frysinger <vapier@gentoo.org>
84 * configure.ac (AC_CHECK_HEADERS): Delete.
85 * aclocal.m4, configure: Regenerate.
87 2015-02-20 Mike Frysinger <vapier@gentoo.org>
89 * interp.c: Delete sysdep.h and netinet/in.h includes.
90 Include stdlib.h and string.h.
93 2015-02-19 Mike Frysinger <vapier@gentoo.org>
95 * interp.c (sim_kill): Delete unused func.
97 2015-02-11 Chen Gang <gang.chen.5i5j@gmail.com>
99 * interp.c: Include "unistd.h".
101 2015-02-02 Chen Gang <gang.chen.5i5j@gmail.com>
103 * interp.c (sim_do_command): Call freeargv() before return.
105 2014-08-19 Alan Modra <amodra@gmail.com>
107 * configure: Regenerate.
109 2014-08-15 Roland McGrath <mcgrathr@google.com>
111 * configure: Regenerate.
112 * config.in: Regenerate.
114 2014-03-10 Mike Frysinger <vapier@gentoo.org>
116 * interp.c (sim_do_command): Add const to cmd.
118 2014-03-05 Mike Frysinger <vapier@gentoo.org>
120 * interp.c (sim_load): Add const to prog.
122 2014-02-17 Mike Frysinger <vapier@gentoo.org>
125 * interp.c (interrupt): Delete.
126 (sim_resume): Delete signal(SIGINT) handling.
128 2013-09-23 Alan Modra <amodra@gmail.com>
130 * configure: Regenerate.
132 2013-06-03 Mike Frysinger <vapier@gentoo.org>
134 * aclocal.m4, configure: Regenerate.
136 2012-06-15 Joel Brobecker <brobecker@adacore.com>
138 * config.in, configure: Regenerate.
140 2012-05-20 Hans-Peter Nilsson <hp@axis.com>
143 * interp.c: Include config.h before system header files.
145 2012-03-24 Mike Frysinger <vapier@gentoo.org>
147 * aclocal.m4, config.in, configure: Regenerate.
149 2011-12-03 Mike Frysinger <vapier@gentoo.org>
151 * aclocal.m4: New file.
152 * configure: Regenerate.
154 2011-10-17 Mike Frysinger <vapier@gentoo.org>
156 * configure.ac: Change include to common/acinclude.m4.
158 2011-10-17 Mike Frysinger <vapier@gentoo.org>
160 * configure.ac: Change AC_PREREQ to 2.64. Delete AC_CONFIG_HEADER
161 call. Replace common.m4 include with SIM_AC_COMMON.
162 * configure: Regenerate.
164 2010-04-14 Mike Frysinger <vapier@gentoo.org>
166 * interp.c (sim_write): Add const to buffer arg.
168 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
170 * configure: Regenerate.
172 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
174 * config.in: Regenerate.
175 * configure: Likewise.
177 * configure: Regenerate.
179 2008-07-11 Hans-Peter Nilsson <hp@axis.com>
181 * configure: Regenerate to track ../common/common.m4 changes.
184 2008-06-06 Vladimir Prus <vladimir@codesourcery.com>
185 Daniel Jacobowitz <dan@codesourcery.com>
186 Joseph Myers <joseph@codesourcery.com>
188 * configure: Regenerate.
190 2006-12-21 Hans-Peter Nilsson <hp@axis.com>
192 * config.in: Regenerate.
194 2006-06-13 Richard Earnshaw <rearnsha@arm.com>
196 * configure: Regenerated.
198 2006-06-05 Daniel Jacobowitz <dan@codesourcery.com>
200 * configure: Regenerated.
202 2006-05-31 Daniel Jacobowitz <dan@codesourcery.com>
204 * configure: Regenerated.
206 2005-03-23 Mark Kettenis <kettenis@gnu.org>
208 * configure: Regenerate.
210 2005-01-14 Andrew Cagney <cagney@gnu.org>
212 * configure.ac: Sinclude aclocal.m4 before common.m4. Add
213 explicit call to AC_CONFIG_HEADER.
214 * configure: Regenerate.
216 2005-01-12 Andrew Cagney <cagney@gnu.org>
218 * configure.ac: Update to use ../common/common.m4.
219 * configure: Re-generate.
221 2005-01-11 Andrew Cagney <cagney@localhost.localdomain>
223 * configure: Regenerated to track ../common/aclocal.m4 changes.
225 2005-01-07 Andrew Cagney <cagney@gnu.org>
227 * configure.ac: Rename configure.in, require autoconf 2.59.
228 * configure: Re-generate.
230 2004-12-08 Hans-Peter Nilsson <hp@axis.com>
232 * configure: Regenerate for ../common/aclocal.m4 update.
234 2003-10-11 Alan Modra <amodra@bigpond.net.au>
236 * interp.c (sim_load): Don't refer directly to _cooked_size and vma;
237 Use bfd_section_size and bfd_get_section_vma.
239 2003-02-27 Andrew Cagney <cagney@redhat.com>
241 * interp.c (sim_open, sim_create_inferior): Rename _bfd to bfd.
243 2002-06-16 Andrew Cagney <ac131313@redhat.com>
245 * configure: Regenerated to track ../common/aclocal.m4 changes.
247 2002-06-08 Andrew Cagney <cagney@redhat.com>
249 * interp.c: Include "gdb/callback.h" and "gdb/remote-sim.h".
251 Tue May 23 21:39:23 2000 Andrew Cagney <cagney@b1.cygnus.com>
253 * configure: Regenerated to track ../common/aclocal.m4 changes.
255 2000-02-14 Nick Clifton <nickc@cygnus.com>
257 * interp.c (handle_trap1): Fix handling of fclose system call.
258 Patch submitted by <drew.sarkisian@motorola.com>.
260 2000-02-10 Nick Clifton <nickc@cygnus.com>
262 * interp.c (target_big_endian): New variable.
263 (mcore_extract_unsigned_integer, mcore_store_unsigned_integer,
264 wlat, rlat, sim_resume, sim_load): Add supprot for little
267 2000-01-13 Nick Clifton <nickc@cygnus.com>
269 * interp.c (sim_resume): Do not rely upon host semantics of shift
270 operators to implement M*Core semantics.
272 Thu Sep 2 18:15:53 1999 Andrew Cagney <cagney@b1.cygnus.com>
274 * configure: Regenerated to track ../common/aclocal.m4 changes.
276 1999-06-23 Nick Clifton <nickc@cygnus.com>
278 * sysdep.h: Do not define prototypes for memcpy and strchr if they
281 1999-05-21 Nick Clifton <nickc@cygnus.com>
283 * interp.c (sim_resume): Add more tracing output.
285 1999-05-17 Keith Seitz <keiths@cygnus.com>
287 * interp.c (NUM_MCORE_REGS): Increase by one to allow access to PC.
288 (sim_resume): Correct off by one instruction error when a breakpoint
291 1999-05-08 Felix Lee <flee@cygnus.com>
293 * configure: Regenerated to track ../common/aclocal.m4 changes.
295 1999-05-10 Nick Clifton <nickc@cygnus.com>
297 * interp.c (sim_resume): Record PC in case it is needed for error
298 messages and the original has been corrupted.
300 1999-05-07 Nick Clifton <nickc@cygnus.com>
302 * interp.c (sim_resume): Fix typo 'oze' -> 'doze'.
303 (util): Handle 0x50FF stubs properly.
306 1999-04-29 Nick Clifton <nickc@cygnus.com>
308 * interp.c (set_initial_gprs): Only display memory range if
309 verbose option has been set.
311 1999-04-22 Nick Clifton <nickc@cygnus.com>
313 * interp.c: Add tracing and verbose options.
314 Fixed trap and syscall emulations.
316 1999-04-08 Nick Clifton <nickc@cygnus.com>
318 * interp.c: New file: Simulator for MCore.
319 * sysdep.h: New file: Systems definitions for MCore simulator.
320 * configure.in: New file: Configure script for MCore simulator.
321 * configure: New file: Genreated.
322 * config,in: New file: Config support.
323 * Makefile.in: New file: Meta makefile for MCore simulator.