]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - sim/cr16/ChangeLog
sim: drop unused SIM_AC_OPTION_PACKAGES
[thirdparty/binutils-gdb.git] / sim / cr16 / ChangeLog
1 2016-01-10 Mike Frysinger <vapier@gentoo.org>
2
3 * configure: Regenerate.
4
5 2016-01-10 Mike Frysinger <vapier@gentoo.org>
6
7 * configure.ac (SIM_AC_OPTION_ENVIRONMENT): Delete call.
8 * configure: Regenerate.
9
10 2016-01-10 Mike Frysinger <vapier@gentoo.org>
11
12 * configure: Regenerate.
13
14 2016-01-10 Mike Frysinger <vapier@gentoo.org>
15
16 * configure: Regenerate.
17
18 2016-01-10 Mike Frysinger <vapier@gentoo.org>
19
20 * configure.ac (SIM_AC_OPTION_INLINE): Delete call.
21 * configure: Regenerate.
22
23 2016-01-10 Mike Frysinger <vapier@gentoo.org>
24
25 * configure: Regenerate.
26
27 2016-01-10 Mike Frysinger <vapier@gentoo.org>
28
29 * configure: Regenerate.
30
31 2016-01-09 Mike Frysinger <vapier@gentoo.org>
32
33 * config.in, configure: Regenerate.
34
35 2016-01-06 Mike Frysinger <vapier@gentoo.org>
36
37 * interp.c (sim_open): Mark argv const.
38 (sim_create_inferior): Mark argv and env const.
39
40 2016-01-04 Mike Frysinger <vapier@gentoo.org>
41
42 * configure: Regenerate.
43
44 2016-01-03 Mike Frysinger <vapier@gentoo.org>
45
46 * interp.c (sim_open): Update sim_parse_args comment.
47
48 2016-01-03 Mike Frysinger <vapier@gentoo.org>
49
50 * configure.ac (SIM_AC_OPTION_HOSTENDIAN): Delete.
51 * configure: Regenerate.
52
53 2016-01-02 Mike Frysinger <vapier@gentoo.org>
54
55 * configure.ac (SIM_AC_OPTION_ENDIAN): Change LITTLE_ENDIAN to
56 LITTLE.
57 * configure: Regenerate.
58
59 2015-12-27 Mike Frysinger <vapier@gentoo.org>
60
61 * Makefile.in (SIM_OBJS): Delete sim-hload.o.
62
63 2015-12-26 Mike Frysinger <vapier@gentoo.org>
64
65 * config.in, configure: Regenerate.
66
67 2015-12-24 Mike Frysinger <vapier@gentoo.org>
68
69 * sim-if.c (cris_option_install): Delete.
70 (sim_open): Call sim_add_option_table.
71 * tconfig.h: Delete sim-module.h include.
72 (MODULE_INSTALL_FN, MODULE_LIST): Delete.
73
74 2015-11-15 Mike Frysinger <vapier@gentoo.org>
75
76 * Makefile.in (SIM_OBJS): Delete sim-reason.o, sim-reg.o, and
77 sim-stop.o.
78
79 2015-11-15 Mike Frysinger <vapier@gentoo.org>
80
81 * cr16_sim.h (cr16_callback): Delete.
82 * interp.c (cr16_callback): Delete.
83 (do_run): Delete cr16_callback. Replace
84 cr16_callback->printf_filtered with sim_io_printf.
85 (sim_open): Delete cr16_callback assignment.
86 (step_once, sim_create_inferior): Replace
87 cr16_callback->printf_filtered with sim_io_printf.
88 * simops.c (move_to_cr, trace_input_func, do_trace_output_flush,
89 do_trace_output_finish, trace_output_40, trace_output_32,
90 trace_output_16, trace_output_void, trace_output_flag): Replace
91 cr16_callback->printf_filtered with sim_io_printf and
92 cr16_callback->flush_stdout with sim_io_flush_stdout.
93 (OP_14C_14): Likewise. Rename cr16_callback to cb.
94
95 2015-11-15 Mike Frysinger <vapier@gentoo.org>
96
97 * Makefile.in (SIM_OBJS): Add sim-reason.o, sim-resume.o, and
98 sim-stop.o.
99 * cr16_sim.h (struct _state): Delete exe and exception.
100 * interp.c (lookup_hash): Call sim_engine_halt instead of setting
101 State.exception.
102 (do_run): Delete unused s and func variables.
103 (stop_simulator, sim_stop, sim_stop_reason): Delete.
104 (sim_resume): Rename to ...
105 (step_once): ... this. Delete State.exception code and move
106 siggnal checking to sim_engine_run.
107 (sim_engine_run): New function.
108 * simops.c (EXCEPTION): Define.
109 (move_to_cr): Call EXCEPTION instead of setting State.exception.
110 (OP_1_4, OP_18_8, OP_10_10, OP_C0_8, OP_102_14, OP_148_14, OP_D_C,
111 OP_14_D, OP_15_D, OP_2C00_10, OP_16_D, OP_17_D, OP_31E_10, OP_6_10):
112 Likewise.
113 (OP_C_C): Likewise. Call sim_engine_halt instead of setting
114 State.exception.
115 (OP_0_20): Call sim_engine_halt instead of setting State.exception.
116
117 2015-11-15 Mike Frysinger <vapier@gentoo.org>
118
119 * Makefile.in (SIM_OBJS): Delete endian.o.
120 (INCLUDE): Delete endian.c.
121 * configure.ac (SIM_AC_OPTION_ENDIAN): Declare little endian.
122 (SIM_AC_OPTION_ALIGNMENT): release unaligned loads.
123 * configure: Regenerate.
124 * cr16_sim.h (IMAP_BLOCK_SIZE, DMAP_BLOCK_SIZE, SEGMENT_SIZE,
125 IMEM_SEGMENTS, DMEM_SEGMENTS, UMEM_SEGMENTS, cr16_memory, dmem_addr,
126 imem_addr, decode_pc, get_longword, get_word, write_word,
127 write_longword, READ_16): Delete.
128 (struct _state): Delete mem member.
129 (endian.c): Delete include.
130 (SB, RB, SW, RW, SLW): Rewrite to use sim-core functions.
131 (get_longword): New function.
132 (RLW): Rewrite to use get_longword.
133 * endian.c: Delete file.
134 * interp.c (map_memory, sim_size, last_segname, last_from, last_to,
135 IMAP0_OFFSET, DMAP0_OFFSET, DMAP2_SHADDOW, DMAP2_OFFSET,
136 dmap_register, imap_register, sim_cr16_translate_dmap_addr,
137 sim_cr16_translate_imap_addr, sim_cr16_translate_addr, map_memory,
138 xfer_mem, sim_write, sim_read, dmem_addr, imem_addr): Delete.
139 (do_run): Delete iaddr and replace imem_addr/get_longword with RW.
140 (sim_open): Call sim_do_commandf. Delete sim_size call.
141 (sim_resume): Delete iaddr and replace imem_addr/get_longword with
142 RLW.
143 * simops.c (MEMPTR): Rewrite to use sim_core_trans_addr.
144
145 2015-11-15 Mike Frysinger <vapier@gentoo.org>
146
147 * cr16_sim.h (struct simops): Add SIM_DESC and SIM_CPU to func args.
148 (SET_CREG, SET_HW_CREG, SET_PSR_BIT): Pass sd and cpu to move_to_cr.
149 (dmem_addr, imem_addr, move_to_cr): Add SIM_DESC and SIM_CPU args.
150 (RB, SW, RW, SLW, RLW): Pass sd and cpu to dmem_addr.
151 * endian.c: Change cr16_sim.h include to sim-main.h.
152 * gencode.c: Likewise. Add SIM_DESC and SIM_CPU args to all OPs.
153 * interp.c (lookup_hash, map_memory, do_run, dmap_register,
154 imap_register, sim_cr16_translate_dmap_addr, xfer_mem,
155 sim_cr16_translate_imap_addr, sim_cr16_translate_addr): Add
156 SIM_DESC and SIM_CPU args and adjust all callers.
157 (trace_sd): Delete.
158 (sim_open): Do not assign trace_sd.
159 (sim_resume, sim_create_inferior): Set up cpu from the first one
160 in sd.
161 (cr16_reg_store): Get sim state from cpu.
162 * simops.c (move_to_cr): Add SIM_DESC and SIM_CPU args.
163 (trace_input_func, trace_input, do_trace_output_finish,
164 do_trace_output_finish, trace_output_40, trace_output_32,
165 trace_output_16, trace_output_void, trace_output_flag): Add
166 SIM_DESC arg.
167 (trace_input_func): Likewise. Change trace_sd to sd.
168 (OP_*): Add SIM_DESC and SIM_CPU args to all OP funcs.
169
170 2015-11-15 Mike Frysinger <vapier@gentoo.org>
171
172 * cr16_sim.h (get_longlong, write_longlong, WRITE_16, READ_64,
173 WRITE_64): Delete.
174 * endian.c (get_longlong, write_longlong): Likewise.
175
176 2015-11-15 Mike Frysinger <vapier@gentoo.org>
177
178 * Makefile.in (SIM_OBJS): Add sim-reg.o.
179 * interp.c (cr16_reg_fetch, cr16_reg_store): Add prototypes.
180 (sim_open): Call CPU_REG_FETCH/CPU_REG_STORE.
181 (cr16_extract_unsigned_integer, cr16_store_unsigned_integer):
182 New helper functions.
183 (sim_fetch_register): Rename to ...
184 (cr16_reg_fetch): ... this. Use cr16_store_unsigned_integer
185 to write out the updated register values.
186 (sim_store_register): Rename to ...
187 (cr16_reg_store): ... this. Use cr16_extract_unsigned_integer
188 to read in the updated register values.
189
190 2015-11-15 Mike Frysinger <vapier@gentoo.org>
191
192 * interp.c (sim_open): Delete sim_create_inferior call.
193
194 2015-11-14 Mike Frysinger <vapier@gentoo.org>
195
196 * interp.c (sim_close): Delete.
197
198 2015-11-10 Mike Frysinger <vapier@gentoo.org>
199
200 * interp.c (sim_cr16_translate_dmap_addr): Mark static.
201 (sim_cr16_translate_imap_addr): Likewise.
202 (sim_cr16_translate_addr): Likewise.
203
204 2015-06-23 Mike Frysinger <vapier@gentoo.org>
205
206 * configure: Regenerate.
207
208 2015-06-12 Mike Frysinger <vapier@gentoo.org>
209
210 * configure: Regenerate.
211
212 2015-06-12 Mike Frysinger <vapier@gentoo.org>
213
214 * configure: Regenerate.
215
216 2015-04-18 Mike Frysinger <vapier@gentoo.org>
217
218 * sim-main.h (SIM_CPU): Delete.
219
220 2015-04-18 Mike Frysinger <vapier@gentoo.org>
221
222 * sim-main.h (sim_cia): Delete.
223
224 2015-04-17 Mike Frysinger <vapier@gentoo.org>
225
226 * sim-main.h (CIA_GET, CIA_SET): Delete.
227
228 2015-04-17 Mike Frysinger <vapier@gentoo.org>
229
230 * interp.c (cr16_pc_get, cr16_pc_set): New functions.
231 (sim_open): Call CPU_PC_FETCH & CPU_PC_STORE for all cpus.
232
233 2015-04-15 Mike Frysinger <vapier@gentoo.org>
234
235 * Makefile.in (SIM_OBJS): Delete sim-cpu.o.
236 * sim-main.h (STATE_CPU): Delete.
237
238 2015-04-13 Mike Frysinger <vapier@gentoo.org>
239
240 * configure: Regenerate.
241
242 2015-04-06 Mike Frysinger <vapier@gentoo.org>
243
244 * Makefile.in (SIM_OBJS): Delete sim-engine.o.
245
246 2015-04-01 Mike Frysinger <vapier@gentoo.org>
247
248 * interp.c (sim_set_profile, sim_set_profile_size): Delete.
249
250 2015-03-31 Mike Frysinger <vapier@gentoo.org>
251
252 * Makefile.in (simops.o): New rule.
253
254 2015-03-29 Mike Frysinger <vapier@gentoo.org>
255
256 * cr16_sim.h (text, text_start, text_end, prog_bfd): Delete.
257 (SEXT8, SEXT16, SEXT32): Undefine.
258 * interp.c: Delete run-sim.h and cr16_sim.h includes. Include
259 sim-main.h and sim-options.h.
260 (myname, sim_kind, init_text_p, prog_bfd_was_opened_p, prog_bfd,
261 text, text_start, text_end, decode_pc, sim_set_profile,
262 sim_set_profile_size, sim_set_trace, sim_info, sim_set_callbacks,
263 sim_trace, sim_complete_command, sim_do_command, sim_load): Delete.
264 (do_run): Delete prototype.
265 (INLINE): Delete define.
266 (do_run, xfer_mem): Pass in SIM_DESC. Set cr16_callback locally from
267 it.
268 (sim_size): Mark static.
269 (sim_write, sim_read): Pass sd to xfer_mem.
270 (free_state): New function.
271 (trace_sd): Declare global variable.
272 (sim_open): Rewrite to use new common logic.
273 (sim_close): Delete body.
274 (sim_resume): Pass sd to do_run.
275 * Makefile.in (SIM_RUN_OBJS, SIM_EXTRA_CFLAGS): Delete.
276 (SIM_OBJS): Change to $(SIM_NEW_COMMON_OBJS).
277 * sim-main.h: New file.
278 * simops.c: Change cr16_sim.h include to sim-main.h.
279 (trace_input_func): Rewrite pc checks to use trace_sd.
280
281 2015-03-29 Mike Frysinger <vapier@gentoo.org>
282
283 * Makefile.in (SIM_EXTRA_CFLAGS): Delete -DNEED_UI_LOOP_HOOK.
284 * interp.c [NEED_UI_LOOP_HOOK] (UI_LOOP_POLL_INTERVAL,
285 ui_loop_hook_counter, deprecated_ui_loop_hook): Delete.
286 (sim_resume) [NEED_UI_LOOP_HOOK]: Delete ui code.
287
288 2015-03-29 Mike Frysinger <vapier@gentoo.org>
289
290 * interp.c (old_segment_mapping, ins_type_counters, add_commas,
291 set_dmap_register, set_imap_register, HELD_SPI_IDX, HELD_SPU_IDX,
292 spu_register, spi_register, set_spi_register, set_spu_register):
293 Delete.
294 (sim_cr16_translate_addr): Delete old_segment_mapping handling.
295 (sim_open): Likewise.
296 (sim_info): Delete function body.
297
298 2015-03-29 Mike Frysinger <vapier@gentoo.org>
299
300 * Makefile.in (gencode.o, cr16-opc.o): Add $(WARN_CFLAGS).
301 (gencode): Add $(BUILD_LDFLAGS).
302 * endian.c (get_word, get_longword, get_longlong, write_word,
303 write_longword, write_longlong): Convert old style prototypes.
304 * gencode.c: Include string.h.
305 (write_header): Convert old style prototype and fix printf format.
306 (write_template, write_opcodes): Likewise.
307 (check_opcodes): Mark static void and put behind #if 0.
308 * interp.c: Include inttypes.h and run-sim.h.
309 (add_commas): Delete prototype.
310 (decode_pc): Convert old style prototype.
311 (do_run): Change h->op compare to 0.
312 (add_commas, set_dmap_register, set_imap_register, HELD_SPI_IDX,
313 HELD_SPU_IDX, spu_register, spi_register, set_spi_register,
314 set_spu_register): Wrap in #if 0.
315 (sim_write, sim_read, sim_close, sim_stop, sim_set_callbacks,
316 sim_stop_reason, sim_fetch_register, sim_store_register,
317 sim_do_command): Convert old style prototypes.
318 (sim_create_inferior): Fix pointer cast to use uintptr_t.
319 * simops.c [HAVE_TIME_H]: Include time.h.
320 [HAVE_SYS_TIME_H]: Include sys/time.h.
321 [TARGET_SYS_utime]: Include utime.h.
322 [TARGET_SYS_wait]: Include sys/wait.h.
323 (strrchr): Delete prototype.
324 (cond_stat): Mark static.
325 (trace_input_func): Mark name static.
326 (trace_input_func, trace_output_void, trace_output_flag): Convert old style prototypes.
327 (trace_output_40): Wrap in #if 0.
328 (OP_*): Convert old style prototypes. Move trace_input call below
329 all variable decls. Initialize tmp to 0 when appropriate.
330
331 2015-03-29 Mike Frysinger <vapier@gentoo.org>
332
333 * Makefile.in (SIM_EXTRA_CFLAGS): Delete -DSIM_HAVE_ENVIRONMENT.
334 (interp.o, simops.o, endian.o, table.o): Delete rules.
335 * configure.ac: Call SIM_AC_OPTION_ENDIAN, SIM_AC_OPTION_ALIGNMENT,
336 SIM_AC_OPTION_HOSTENDIAN, SIM_AC_OPTION_ENVIRONMENT, and
337 SIM_AC_OPTION_INLINE.
338 * config.in, configure: Regenerate.
339 * interp.c (sim_trace): Define.
340
341 2015-03-16 Mike Frysinger <vapier@gentoo.org>
342
343 * config.in, configure: Regenerate.
344
345 2015-03-14 Mike Frysinger <vapier@gentoo.org>
346
347 * Makefile.in (SIM_EXTRA_CFLAGS): Add
348 -DSIM_USE_DEPRECATED_RUN_FRONTEND.
349 (SIM_RUN_OBJS): Set to run.o.
350
351 2015-03-14 Mike Frysinger <vapier@gentoo.org>
352
353 * configure.ac (AC_CHECK_HEADERS): Delete.
354 * aclocal.m4, configure: Regenerate.
355
356 2014-08-19 Alan Modra <amodra@gmail.com>
357
358 * configure: Regenerate.
359
360 2014-08-15 Roland McGrath <mcgrathr@google.com>
361
362 * configure: Regenerate.
363 * config.in: Regenerate.
364
365 2014-03-10 Mike Frysinger <vapier@gentoo.org>
366
367 * interp.c (sim_do_command): Add const to cmd.
368
369 2014-03-05 Mike Frysinger <vapier@gentoo.org>
370
371 * interp.c (sim_load): Add const to prog.
372
373 2014-03-04 Mike Frysinger <vapier@gentoo.org>
374
375 * configure: Regenerate.
376
377 2013-09-23 Alan Modra <amodra@gmail.com>
378
379 * configure: Regenerate.
380
381 2013-06-03 Mike Frysinger <vapier@gentoo.org>
382
383 * aclocal.m4, configure: Regenerate.
384
385 2013-05-10 Freddie Chopin <freddie_chopin@op.pl>
386
387 * configure: Rebuild.
388
389 2012-08-28 Kaushik Phatak <kaushik.phatak@kpitcummins.com>
390
391 * cr16_sim.h: Add defines for TRAP handling.
392 * interp.c (sim_complete_command): New stub function.
393 * simops.c: Breakpoint handling code.
394
395 2012-06-17 Mike Frysinger <vapier@gentoo.org>
396
397 * interp.c: Include config.h first. Also include stdlib.h and
398 string.h so we can drop the sysdep.h include.
399
400 2012-06-15 Joel Brobecker <brobecker@adacore.com>
401
402 * config.in, configure: Regenerate.
403
404 2012-05-24 Pedro Alves <palves@redhat.com>
405
406 PR gdb/7205
407
408 Replace TARGET_SIGNAL_ with GDB_SIGNAL_ throughout.
409
410 2012-03-24 Mike Frysinger <vapier@gentoo.org>
411
412 * aclocal.m4, config.in, configure: Regenerate.
413
414 2011-12-30 Mike Frysinger <vapier@gentoo.org>
415
416 PR sim/12862
417 * simops.c (OP_C_C): Only handle TARGET_SYS_fork, TARGET_SYS_execve,
418 TARGET_SYS_pipe, TARGET_SYS_rename, and TARGET_SYS_chown when they
419 are defined.
420
421 2011-12-03 Mike Frysinger <vapier@gentoo.org>
422
423 * aclocal.m4: New file.
424 * configure: Regenerate.
425
426 2011-10-17 Mike Frysinger <vapier@gentoo.org>
427
428 * configure.ac: Change include to common/acinclude.m4.
429
430 2011-10-17 Mike Frysinger <vapier@gentoo.org>
431
432 * configure.ac: Change AC_PREREQ to 2.64. Delete AC_CONFIG_HEADER
433 call. Replace common.m4 include with SIM_AC_COMMON.
434 * configure: Regenerate.
435
436 2010-04-14 Mike Frysinger <vapier@gentoo.org>
437
438 * interp.c (sim_write): Add const to buffer arg.
439
440 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
441
442 * configure: Regenerate.
443
444 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
445
446 * config.in: Regenerate.
447 * configure: Likewise.
448
449 * configure: Regenerate.
450
451 2008-07-11 Hans-Peter Nilsson <hp@axis.com>
452
453 * configure: Regenerate to track ../common/common.m4 changes.
454 * config.in: Ditto.
455
456 * interp.c (hash): Remove incorrect prototype.
457
458 2008-06-06 Vladimir Prus <vladimir@codesourcery.com>
459 Daniel Jacobowitz <dan@codesourcery.com>
460 Joseph Myers <joseph@codesourcery.com>
461
462 * configure: Regenerate.
463
464 2008-05-02 M Ranga Swami Reddy <MR.Swami.Reddy@nsc.com>
465
466 * interp.c: Update the machine code decode algorithm using hash table.
467 * Makefile.in, cr16_sim.h, gencode.c and simops.c: Update for typos
468 and coding standards.
469
470 2008-02-12 M Ranga Swami Reddy <MR.Swami.Reddy@nsc.com>
471
472 * ChangeLog, Makefile.in, configure, configure.in, cr16_sim.h,
473 gencode.c, interp.c, simops.c, endian.c: Created.
474