1 2015-04-18 Mike Frysinger <vapier@gentoo.org>
3 * sim-main.h (sim_cia): Delete.
5 2015-04-17 Mike Frysinger <vapier@gentoo.org>
7 * sim-main.h (CIA_GET, CIA_SET): Delete.
9 2015-04-17 Mike Frysinger <vapier@gentoo.org>
11 * interp.c (cr16_pc_get, cr16_pc_set): New functions.
12 (sim_open): Call CPU_PC_FETCH & CPU_PC_STORE for all cpus.
14 2015-04-15 Mike Frysinger <vapier@gentoo.org>
16 * Makefile.in (SIM_OBJS): Delete sim-cpu.o.
17 * sim-main.h (STATE_CPU): Delete.
19 2015-04-13 Mike Frysinger <vapier@gentoo.org>
21 * configure: Regenerate.
23 2015-04-06 Mike Frysinger <vapier@gentoo.org>
25 * Makefile.in (SIM_OBJS): Delete sim-engine.o.
27 2015-04-01 Mike Frysinger <vapier@gentoo.org>
29 * interp.c (sim_set_profile, sim_set_profile_size): Delete.
31 2015-03-31 Mike Frysinger <vapier@gentoo.org>
33 * Makefile.in (simops.o): New rule.
35 2015-03-29 Mike Frysinger <vapier@gentoo.org>
37 * cr16_sim.h (text, text_start, text_end, prog_bfd): Delete.
38 (SEXT8, SEXT16, SEXT32): Undefine.
39 * interp.c: Delete run-sim.h and cr16_sim.h includes. Include
40 sim-main.h and sim-options.h.
41 (myname, sim_kind, init_text_p, prog_bfd_was_opened_p, prog_bfd,
42 text, text_start, text_end, decode_pc, sim_set_profile,
43 sim_set_profile_size, sim_set_trace, sim_info, sim_set_callbacks,
44 sim_trace, sim_complete_command, sim_do_command, sim_load): Delete.
45 (do_run): Delete prototype.
46 (INLINE): Delete define.
47 (do_run, xfer_mem): Pass in SIM_DESC. Set cr16_callback locally from
49 (sim_size): Mark static.
50 (sim_write, sim_read): Pass sd to xfer_mem.
51 (free_state): New function.
52 (trace_sd): Declare global variable.
53 (sim_open): Rewrite to use new common logic.
54 (sim_close): Delete body.
55 (sim_resume): Pass sd to do_run.
56 * Makefile.in (SIM_RUN_OBJS, SIM_EXTRA_CFLAGS): Delete.
57 (SIM_OBJS): Change to $(SIM_NEW_COMMON_OBJS).
58 * sim-main.h: New file.
59 * simops.c: Change cr16_sim.h include to sim-main.h.
60 (trace_input_func): Rewrite pc checks to use trace_sd.
62 2015-03-29 Mike Frysinger <vapier@gentoo.org>
64 * Makefile.in (SIM_EXTRA_CFLAGS): Delete -DNEED_UI_LOOP_HOOK.
65 * interp.c [NEED_UI_LOOP_HOOK] (UI_LOOP_POLL_INTERVAL,
66 ui_loop_hook_counter, deprecated_ui_loop_hook): Delete.
67 (sim_resume) [NEED_UI_LOOP_HOOK]: Delete ui code.
69 2015-03-29 Mike Frysinger <vapier@gentoo.org>
71 * interp.c (old_segment_mapping, ins_type_counters, add_commas,
72 set_dmap_register, set_imap_register, HELD_SPI_IDX, HELD_SPU_IDX,
73 spu_register, spi_register, set_spi_register, set_spu_register):
75 (sim_cr16_translate_addr): Delete old_segment_mapping handling.
77 (sim_info): Delete function body.
79 2015-03-29 Mike Frysinger <vapier@gentoo.org>
81 * Makefile.in (gencode.o, cr16-opc.o): Add $(WARN_CFLAGS).
82 (gencode): Add $(BUILD_LDFLAGS).
83 * endian.c (get_word, get_longword, get_longlong, write_word,
84 write_longword, write_longlong): Convert old style prototypes.
85 * gencode.c: Include string.h.
86 (write_header): Convert old style prototype and fix printf format.
87 (write_template, write_opcodes): Likewise.
88 (check_opcodes): Mark static void and put behind #if 0.
89 * interp.c: Include inttypes.h and run-sim.h.
90 (add_commas): Delete prototype.
91 (decode_pc): Convert old style prototype.
92 (do_run): Change h->op compare to 0.
93 (add_commas, set_dmap_register, set_imap_register, HELD_SPI_IDX,
94 HELD_SPU_IDX, spu_register, spi_register, set_spi_register,
95 set_spu_register): Wrap in #if 0.
96 (sim_write, sim_read, sim_close, sim_stop, sim_set_callbacks,
97 sim_stop_reason, sim_fetch_register, sim_store_register,
98 sim_do_command): Convert old style prototypes.
99 (sim_create_inferior): Fix pointer cast to use uintptr_t.
100 * simops.c [HAVE_TIME_H]: Include time.h.
101 [HAVE_SYS_TIME_H]: Include sys/time.h.
102 [TARGET_SYS_utime]: Include utime.h.
103 [TARGET_SYS_wait]: Include sys/wait.h.
104 (strrchr): Delete prototype.
105 (cond_stat): Mark static.
106 (trace_input_func): Mark name static.
107 (trace_input_func, trace_output_void, trace_output_flag): Convert old style prototypes.
108 (trace_output_40): Wrap in #if 0.
109 (OP_*): Convert old style prototypes. Move trace_input call below
110 all variable decls. Initialize tmp to 0 when appropriate.
112 2015-03-29 Mike Frysinger <vapier@gentoo.org>
114 * Makefile.in (SIM_EXTRA_CFLAGS): Delete -DSIM_HAVE_ENVIRONMENT.
115 (interp.o, simops.o, endian.o, table.o): Delete rules.
116 * configure.ac: Call SIM_AC_OPTION_ENDIAN, SIM_AC_OPTION_ALIGNMENT,
117 SIM_AC_OPTION_HOSTENDIAN, SIM_AC_OPTION_ENVIRONMENT, and
118 SIM_AC_OPTION_INLINE.
119 * config.in, configure: Regenerate.
120 * interp.c (sim_trace): Define.
122 2015-03-16 Mike Frysinger <vapier@gentoo.org>
124 * config.in, configure: Regenerate.
126 2015-03-14 Mike Frysinger <vapier@gentoo.org>
128 * Makefile.in (SIM_EXTRA_CFLAGS): Add
129 -DSIM_USE_DEPRECATED_RUN_FRONTEND.
130 (SIM_RUN_OBJS): Set to run.o.
132 2015-03-14 Mike Frysinger <vapier@gentoo.org>
134 * configure.ac (AC_CHECK_HEADERS): Delete.
135 * aclocal.m4, configure: Regenerate.
137 2014-08-19 Alan Modra <amodra@gmail.com>
139 * configure: Regenerate.
141 2014-08-15 Roland McGrath <mcgrathr@google.com>
143 * configure: Regenerate.
144 * config.in: Regenerate.
146 2014-03-10 Mike Frysinger <vapier@gentoo.org>
148 * interp.c (sim_do_command): Add const to cmd.
150 2014-03-05 Mike Frysinger <vapier@gentoo.org>
152 * interp.c (sim_load): Add const to prog.
154 2014-03-04 Mike Frysinger <vapier@gentoo.org>
156 * configure: Regenerate.
158 2013-09-23 Alan Modra <amodra@gmail.com>
160 * configure: Regenerate.
162 2013-06-03 Mike Frysinger <vapier@gentoo.org>
164 * aclocal.m4, configure: Regenerate.
166 2013-05-10 Freddie Chopin <freddie_chopin@op.pl>
168 * configure: Rebuild.
170 2012-08-28 Kaushik Phatak <kaushik.phatak@kpitcummins.com>
172 * cr16_sim.h: Add defines for TRAP handling.
173 * interp.c (sim_complete_command): New stub function.
174 * simops.c: Breakpoint handling code.
176 2012-06-17 Mike Frysinger <vapier@gentoo.org>
178 * interp.c: Include config.h first. Also include stdlib.h and
179 string.h so we can drop the sysdep.h include.
181 2012-06-15 Joel Brobecker <brobecker@adacore.com>
183 * config.in, configure: Regenerate.
185 2012-05-24 Pedro Alves <palves@redhat.com>
189 Replace TARGET_SIGNAL_ with GDB_SIGNAL_ throughout.
191 2012-03-24 Mike Frysinger <vapier@gentoo.org>
193 * aclocal.m4, config.in, configure: Regenerate.
195 2011-12-30 Mike Frysinger <vapier@gentoo.org>
198 * simops.c (OP_C_C): Only handle TARGET_SYS_fork, TARGET_SYS_execve,
199 TARGET_SYS_pipe, TARGET_SYS_rename, and TARGET_SYS_chown when they
202 2011-12-03 Mike Frysinger <vapier@gentoo.org>
204 * aclocal.m4: New file.
205 * configure: Regenerate.
207 2011-10-17 Mike Frysinger <vapier@gentoo.org>
209 * configure.ac: Change include to common/acinclude.m4.
211 2011-10-17 Mike Frysinger <vapier@gentoo.org>
213 * configure.ac: Change AC_PREREQ to 2.64. Delete AC_CONFIG_HEADER
214 call. Replace common.m4 include with SIM_AC_COMMON.
215 * configure: Regenerate.
217 2010-04-14 Mike Frysinger <vapier@gentoo.org>
219 * interp.c (sim_write): Add const to buffer arg.
221 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
223 * configure: Regenerate.
225 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
227 * config.in: Regenerate.
228 * configure: Likewise.
230 * configure: Regenerate.
232 2008-07-11 Hans-Peter Nilsson <hp@axis.com>
234 * configure: Regenerate to track ../common/common.m4 changes.
237 * interp.c (hash): Remove incorrect prototype.
239 2008-06-06 Vladimir Prus <vladimir@codesourcery.com>
240 Daniel Jacobowitz <dan@codesourcery.com>
241 Joseph Myers <joseph@codesourcery.com>
243 * configure: Regenerate.
245 2008-05-02 M Ranga Swami Reddy <MR.Swami.Reddy@nsc.com>
247 * interp.c: Update the machine code decode algorithm using hash table.
248 * Makefile.in, cr16_sim.h, gencode.c and simops.c: Update for typos
249 and coding standards.
251 2008-02-12 M Ranga Swami Reddy <MR.Swami.Reddy@nsc.com>
253 * ChangeLog, Makefile.in, configure, configure.in, cr16_sim.h,
254 gencode.c, interp.c, simops.c, endian.c: Created.