1 2015-04-13 Mike Frysinger <vapier@gentoo.org>
3 * configure: Regenerate.
5 2015-04-06 Mike Frysinger <vapier@gentoo.org>
7 * Makefile.in (SIM_OBJS): Delete sim-engine.o.
9 2015-04-01 Mike Frysinger <vapier@gentoo.org>
11 * interp.c (sim_set_profile, sim_set_profile_size): Delete.
13 2015-03-31 Mike Frysinger <vapier@gentoo.org>
15 * Makefile.in (simops.o): New rule.
17 2015-03-29 Mike Frysinger <vapier@gentoo.org>
19 * cr16_sim.h (text, text_start, text_end, prog_bfd): Delete.
20 (SEXT8, SEXT16, SEXT32): Undefine.
21 * interp.c: Delete run-sim.h and cr16_sim.h includes. Include
22 sim-main.h and sim-options.h.
23 (myname, sim_kind, init_text_p, prog_bfd_was_opened_p, prog_bfd,
24 text, text_start, text_end, decode_pc, sim_set_profile,
25 sim_set_profile_size, sim_set_trace, sim_info, sim_set_callbacks,
26 sim_trace, sim_complete_command, sim_do_command, sim_load): Delete.
27 (do_run): Delete prototype.
28 (INLINE): Delete define.
29 (do_run, xfer_mem): Pass in SIM_DESC. Set cr16_callback locally from
31 (sim_size): Mark static.
32 (sim_write, sim_read): Pass sd to xfer_mem.
33 (free_state): New function.
34 (trace_sd): Declare global variable.
35 (sim_open): Rewrite to use new common logic.
36 (sim_close): Delete body.
37 (sim_resume): Pass sd to do_run.
38 * Makefile.in (SIM_RUN_OBJS, SIM_EXTRA_CFLAGS): Delete.
39 (SIM_OBJS): Change to $(SIM_NEW_COMMON_OBJS).
40 * sim-main.h: New file.
41 * simops.c: Change cr16_sim.h include to sim-main.h.
42 (trace_input_func): Rewrite pc checks to use trace_sd.
44 2015-03-29 Mike Frysinger <vapier@gentoo.org>
46 * Makefile.in (SIM_EXTRA_CFLAGS): Delete -DNEED_UI_LOOP_HOOK.
47 * interp.c [NEED_UI_LOOP_HOOK] (UI_LOOP_POLL_INTERVAL,
48 ui_loop_hook_counter, deprecated_ui_loop_hook): Delete.
49 (sim_resume) [NEED_UI_LOOP_HOOK]: Delete ui code.
51 2015-03-29 Mike Frysinger <vapier@gentoo.org>
53 * interp.c (old_segment_mapping, ins_type_counters, add_commas,
54 set_dmap_register, set_imap_register, HELD_SPI_IDX, HELD_SPU_IDX,
55 spu_register, spi_register, set_spi_register, set_spu_register):
57 (sim_cr16_translate_addr): Delete old_segment_mapping handling.
59 (sim_info): Delete function body.
61 2015-03-29 Mike Frysinger <vapier@gentoo.org>
63 * Makefile.in (gencode.o, cr16-opc.o): Add $(WARN_CFLAGS).
64 (gencode): Add $(BUILD_LDFLAGS).
65 * endian.c (get_word, get_longword, get_longlong, write_word,
66 write_longword, write_longlong): Convert old style prototypes.
67 * gencode.c: Include string.h.
68 (write_header): Convert old style prototype and fix printf format.
69 (write_template, write_opcodes): Likewise.
70 (check_opcodes): Mark static void and put behind #if 0.
71 * interp.c: Include inttypes.h and run-sim.h.
72 (add_commas): Delete prototype.
73 (decode_pc): Convert old style prototype.
74 (do_run): Change h->op compare to 0.
75 (add_commas, set_dmap_register, set_imap_register, HELD_SPI_IDX,
76 HELD_SPU_IDX, spu_register, spi_register, set_spi_register,
77 set_spu_register): Wrap in #if 0.
78 (sim_write, sim_read, sim_close, sim_stop, sim_set_callbacks,
79 sim_stop_reason, sim_fetch_register, sim_store_register,
80 sim_do_command): Convert old style prototypes.
81 (sim_create_inferior): Fix pointer cast to use uintptr_t.
82 * simops.c [HAVE_TIME_H]: Include time.h.
83 [HAVE_SYS_TIME_H]: Include sys/time.h.
84 [TARGET_SYS_utime]: Include utime.h.
85 [TARGET_SYS_wait]: Include sys/wait.h.
86 (strrchr): Delete prototype.
87 (cond_stat): Mark static.
88 (trace_input_func): Mark name static.
89 (trace_input_func, trace_output_void, trace_output_flag): Convert old style prototypes.
90 (trace_output_40): Wrap in #if 0.
91 (OP_*): Convert old style prototypes. Move trace_input call below
92 all variable decls. Initialize tmp to 0 when appropriate.
94 2015-03-29 Mike Frysinger <vapier@gentoo.org>
96 * Makefile.in (SIM_EXTRA_CFLAGS): Delete -DSIM_HAVE_ENVIRONMENT.
97 (interp.o, simops.o, endian.o, table.o): Delete rules.
98 * configure.ac: Call SIM_AC_OPTION_ENDIAN, SIM_AC_OPTION_ALIGNMENT,
99 SIM_AC_OPTION_HOSTENDIAN, SIM_AC_OPTION_ENVIRONMENT, and
100 SIM_AC_OPTION_INLINE.
101 * config.in, configure: Regenerate.
102 * interp.c (sim_trace): Define.
104 2015-03-16 Mike Frysinger <vapier@gentoo.org>
106 * config.in, configure: Regenerate.
108 2015-03-14 Mike Frysinger <vapier@gentoo.org>
110 * Makefile.in (SIM_EXTRA_CFLAGS): Add
111 -DSIM_USE_DEPRECATED_RUN_FRONTEND.
112 (SIM_RUN_OBJS): Set to run.o.
114 2015-03-14 Mike Frysinger <vapier@gentoo.org>
116 * configure.ac (AC_CHECK_HEADERS): Delete.
117 * aclocal.m4, configure: Regenerate.
119 2014-08-19 Alan Modra <amodra@gmail.com>
121 * configure: Regenerate.
123 2014-08-15 Roland McGrath <mcgrathr@google.com>
125 * configure: Regenerate.
126 * config.in: Regenerate.
128 2014-03-10 Mike Frysinger <vapier@gentoo.org>
130 * interp.c (sim_do_command): Add const to cmd.
132 2014-03-05 Mike Frysinger <vapier@gentoo.org>
134 * interp.c (sim_load): Add const to prog.
136 2014-03-04 Mike Frysinger <vapier@gentoo.org>
138 * configure: Regenerate.
140 2013-09-23 Alan Modra <amodra@gmail.com>
142 * configure: Regenerate.
144 2013-06-03 Mike Frysinger <vapier@gentoo.org>
146 * aclocal.m4, configure: Regenerate.
148 2013-05-10 Freddie Chopin <freddie_chopin@op.pl>
150 * configure: Rebuild.
152 2012-08-28 Kaushik Phatak <kaushik.phatak@kpitcummins.com>
154 * cr16_sim.h: Add defines for TRAP handling.
155 * interp.c (sim_complete_command): New stub function.
156 * simops.c: Breakpoint handling code.
158 2012-06-17 Mike Frysinger <vapier@gentoo.org>
160 * interp.c: Include config.h first. Also include stdlib.h and
161 string.h so we can drop the sysdep.h include.
163 2012-06-15 Joel Brobecker <brobecker@adacore.com>
165 * config.in, configure: Regenerate.
167 2012-05-24 Pedro Alves <palves@redhat.com>
171 Replace TARGET_SIGNAL_ with GDB_SIGNAL_ throughout.
173 2012-03-24 Mike Frysinger <vapier@gentoo.org>
175 * aclocal.m4, config.in, configure: Regenerate.
177 2011-12-30 Mike Frysinger <vapier@gentoo.org>
180 * simops.c (OP_C_C): Only handle TARGET_SYS_fork, TARGET_SYS_execve,
181 TARGET_SYS_pipe, TARGET_SYS_rename, and TARGET_SYS_chown when they
184 2011-12-03 Mike Frysinger <vapier@gentoo.org>
186 * aclocal.m4: New file.
187 * configure: Regenerate.
189 2011-10-17 Mike Frysinger <vapier@gentoo.org>
191 * configure.ac: Change include to common/acinclude.m4.
193 2011-10-17 Mike Frysinger <vapier@gentoo.org>
195 * configure.ac: Change AC_PREREQ to 2.64. Delete AC_CONFIG_HEADER
196 call. Replace common.m4 include with SIM_AC_COMMON.
197 * configure: Regenerate.
199 2010-04-14 Mike Frysinger <vapier@gentoo.org>
201 * interp.c (sim_write): Add const to buffer arg.
203 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
205 * configure: Regenerate.
207 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
209 * config.in: Regenerate.
210 * configure: Likewise.
212 * configure: Regenerate.
214 2008-07-11 Hans-Peter Nilsson <hp@axis.com>
216 * configure: Regenerate to track ../common/common.m4 changes.
219 * interp.c (hash): Remove incorrect prototype.
221 2008-06-06 Vladimir Prus <vladimir@codesourcery.com>
222 Daniel Jacobowitz <dan@codesourcery.com>
223 Joseph Myers <joseph@codesourcery.com>
225 * configure: Regenerate.
227 2008-05-02 M Ranga Swami Reddy <MR.Swami.Reddy@nsc.com>
229 * interp.c: Update the machine code decode algorithm using hash table.
230 * Makefile.in, cr16_sim.h, gencode.c and simops.c: Update for typos
231 and coding standards.
233 2008-02-12 M Ranga Swami Reddy <MR.Swami.Reddy@nsc.com>
235 * ChangeLog, Makefile.in, configure, configure.in, cr16_sim.h,
236 gencode.c, interp.c, simops.c, endian.c: Created.