1 2015-04-17 Mike Frysinger <vapier@gentoo.org>
3 * interp.c (cr16_pc_get, cr16_pc_set): New functions.
4 (sim_open): Call CPU_PC_FETCH & CPU_PC_STORE for all cpus.
6 2015-04-15 Mike Frysinger <vapier@gentoo.org>
8 * Makefile.in (SIM_OBJS): Delete sim-cpu.o.
9 * sim-main.h (STATE_CPU): Delete.
11 2015-04-13 Mike Frysinger <vapier@gentoo.org>
13 * configure: Regenerate.
15 2015-04-06 Mike Frysinger <vapier@gentoo.org>
17 * Makefile.in (SIM_OBJS): Delete sim-engine.o.
19 2015-04-01 Mike Frysinger <vapier@gentoo.org>
21 * interp.c (sim_set_profile, sim_set_profile_size): Delete.
23 2015-03-31 Mike Frysinger <vapier@gentoo.org>
25 * Makefile.in (simops.o): New rule.
27 2015-03-29 Mike Frysinger <vapier@gentoo.org>
29 * cr16_sim.h (text, text_start, text_end, prog_bfd): Delete.
30 (SEXT8, SEXT16, SEXT32): Undefine.
31 * interp.c: Delete run-sim.h and cr16_sim.h includes. Include
32 sim-main.h and sim-options.h.
33 (myname, sim_kind, init_text_p, prog_bfd_was_opened_p, prog_bfd,
34 text, text_start, text_end, decode_pc, sim_set_profile,
35 sim_set_profile_size, sim_set_trace, sim_info, sim_set_callbacks,
36 sim_trace, sim_complete_command, sim_do_command, sim_load): Delete.
37 (do_run): Delete prototype.
38 (INLINE): Delete define.
39 (do_run, xfer_mem): Pass in SIM_DESC. Set cr16_callback locally from
41 (sim_size): Mark static.
42 (sim_write, sim_read): Pass sd to xfer_mem.
43 (free_state): New function.
44 (trace_sd): Declare global variable.
45 (sim_open): Rewrite to use new common logic.
46 (sim_close): Delete body.
47 (sim_resume): Pass sd to do_run.
48 * Makefile.in (SIM_RUN_OBJS, SIM_EXTRA_CFLAGS): Delete.
49 (SIM_OBJS): Change to $(SIM_NEW_COMMON_OBJS).
50 * sim-main.h: New file.
51 * simops.c: Change cr16_sim.h include to sim-main.h.
52 (trace_input_func): Rewrite pc checks to use trace_sd.
54 2015-03-29 Mike Frysinger <vapier@gentoo.org>
56 * Makefile.in (SIM_EXTRA_CFLAGS): Delete -DNEED_UI_LOOP_HOOK.
57 * interp.c [NEED_UI_LOOP_HOOK] (UI_LOOP_POLL_INTERVAL,
58 ui_loop_hook_counter, deprecated_ui_loop_hook): Delete.
59 (sim_resume) [NEED_UI_LOOP_HOOK]: Delete ui code.
61 2015-03-29 Mike Frysinger <vapier@gentoo.org>
63 * interp.c (old_segment_mapping, ins_type_counters, add_commas,
64 set_dmap_register, set_imap_register, HELD_SPI_IDX, HELD_SPU_IDX,
65 spu_register, spi_register, set_spi_register, set_spu_register):
67 (sim_cr16_translate_addr): Delete old_segment_mapping handling.
69 (sim_info): Delete function body.
71 2015-03-29 Mike Frysinger <vapier@gentoo.org>
73 * Makefile.in (gencode.o, cr16-opc.o): Add $(WARN_CFLAGS).
74 (gencode): Add $(BUILD_LDFLAGS).
75 * endian.c (get_word, get_longword, get_longlong, write_word,
76 write_longword, write_longlong): Convert old style prototypes.
77 * gencode.c: Include string.h.
78 (write_header): Convert old style prototype and fix printf format.
79 (write_template, write_opcodes): Likewise.
80 (check_opcodes): Mark static void and put behind #if 0.
81 * interp.c: Include inttypes.h and run-sim.h.
82 (add_commas): Delete prototype.
83 (decode_pc): Convert old style prototype.
84 (do_run): Change h->op compare to 0.
85 (add_commas, set_dmap_register, set_imap_register, HELD_SPI_IDX,
86 HELD_SPU_IDX, spu_register, spi_register, set_spi_register,
87 set_spu_register): Wrap in #if 0.
88 (sim_write, sim_read, sim_close, sim_stop, sim_set_callbacks,
89 sim_stop_reason, sim_fetch_register, sim_store_register,
90 sim_do_command): Convert old style prototypes.
91 (sim_create_inferior): Fix pointer cast to use uintptr_t.
92 * simops.c [HAVE_TIME_H]: Include time.h.
93 [HAVE_SYS_TIME_H]: Include sys/time.h.
94 [TARGET_SYS_utime]: Include utime.h.
95 [TARGET_SYS_wait]: Include sys/wait.h.
96 (strrchr): Delete prototype.
97 (cond_stat): Mark static.
98 (trace_input_func): Mark name static.
99 (trace_input_func, trace_output_void, trace_output_flag): Convert old style prototypes.
100 (trace_output_40): Wrap in #if 0.
101 (OP_*): Convert old style prototypes. Move trace_input call below
102 all variable decls. Initialize tmp to 0 when appropriate.
104 2015-03-29 Mike Frysinger <vapier@gentoo.org>
106 * Makefile.in (SIM_EXTRA_CFLAGS): Delete -DSIM_HAVE_ENVIRONMENT.
107 (interp.o, simops.o, endian.o, table.o): Delete rules.
108 * configure.ac: Call SIM_AC_OPTION_ENDIAN, SIM_AC_OPTION_ALIGNMENT,
109 SIM_AC_OPTION_HOSTENDIAN, SIM_AC_OPTION_ENVIRONMENT, and
110 SIM_AC_OPTION_INLINE.
111 * config.in, configure: Regenerate.
112 * interp.c (sim_trace): Define.
114 2015-03-16 Mike Frysinger <vapier@gentoo.org>
116 * config.in, configure: Regenerate.
118 2015-03-14 Mike Frysinger <vapier@gentoo.org>
120 * Makefile.in (SIM_EXTRA_CFLAGS): Add
121 -DSIM_USE_DEPRECATED_RUN_FRONTEND.
122 (SIM_RUN_OBJS): Set to run.o.
124 2015-03-14 Mike Frysinger <vapier@gentoo.org>
126 * configure.ac (AC_CHECK_HEADERS): Delete.
127 * aclocal.m4, configure: Regenerate.
129 2014-08-19 Alan Modra <amodra@gmail.com>
131 * configure: Regenerate.
133 2014-08-15 Roland McGrath <mcgrathr@google.com>
135 * configure: Regenerate.
136 * config.in: Regenerate.
138 2014-03-10 Mike Frysinger <vapier@gentoo.org>
140 * interp.c (sim_do_command): Add const to cmd.
142 2014-03-05 Mike Frysinger <vapier@gentoo.org>
144 * interp.c (sim_load): Add const to prog.
146 2014-03-04 Mike Frysinger <vapier@gentoo.org>
148 * configure: Regenerate.
150 2013-09-23 Alan Modra <amodra@gmail.com>
152 * configure: Regenerate.
154 2013-06-03 Mike Frysinger <vapier@gentoo.org>
156 * aclocal.m4, configure: Regenerate.
158 2013-05-10 Freddie Chopin <freddie_chopin@op.pl>
160 * configure: Rebuild.
162 2012-08-28 Kaushik Phatak <kaushik.phatak@kpitcummins.com>
164 * cr16_sim.h: Add defines for TRAP handling.
165 * interp.c (sim_complete_command): New stub function.
166 * simops.c: Breakpoint handling code.
168 2012-06-17 Mike Frysinger <vapier@gentoo.org>
170 * interp.c: Include config.h first. Also include stdlib.h and
171 string.h so we can drop the sysdep.h include.
173 2012-06-15 Joel Brobecker <brobecker@adacore.com>
175 * config.in, configure: Regenerate.
177 2012-05-24 Pedro Alves <palves@redhat.com>
181 Replace TARGET_SIGNAL_ with GDB_SIGNAL_ throughout.
183 2012-03-24 Mike Frysinger <vapier@gentoo.org>
185 * aclocal.m4, config.in, configure: Regenerate.
187 2011-12-30 Mike Frysinger <vapier@gentoo.org>
190 * simops.c (OP_C_C): Only handle TARGET_SYS_fork, TARGET_SYS_execve,
191 TARGET_SYS_pipe, TARGET_SYS_rename, and TARGET_SYS_chown when they
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 * interp.c (hash): Remove incorrect prototype.
231 2008-06-06 Vladimir Prus <vladimir@codesourcery.com>
232 Daniel Jacobowitz <dan@codesourcery.com>
233 Joseph Myers <joseph@codesourcery.com>
235 * configure: Regenerate.
237 2008-05-02 M Ranga Swami Reddy <MR.Swami.Reddy@nsc.com>
239 * interp.c: Update the machine code decode algorithm using hash table.
240 * Makefile.in, cr16_sim.h, gencode.c and simops.c: Update for typos
241 and coding standards.
243 2008-02-12 M Ranga Swami Reddy <MR.Swami.Reddy@nsc.com>
245 * ChangeLog, Makefile.in, configure, configure.in, cr16_sim.h,
246 gencode.c, interp.c, simops.c, endian.c: Created.