1 2021-06-22 Mike Frysinger <vapier@gentoo.org>
3 * configure.ac: Removed.
7 2021-06-21 Mike Frysinger <vapier@gentoo.org>
9 * aclocal.m4: Regenerate.
10 * configure: Regenerate.
12 2021-06-21 Mike Frysinger <vapier@gentoo.org>
14 * configure: Regenerate.
16 2021-06-20 Mike Frysinger <vapier@gentoo.org>
18 * configure.ac (SIM_AC_COMMON): Delete.
19 * aclocal.m4, configure: Regenerate.
21 2021-06-20 Mike Frysinger <vapier@gentoo.org>
23 * aclocal.m4: Regenerate.
24 * configure: Regenerate.
26 2021-06-19 Mike Frysinger <vapier@gentoo.org>
28 * aclocal.m4: Regenerate.
29 * configure: Regenerate.
31 2021-06-19 Mike Frysinger <vapier@gentoo.org>
33 * configure: Regenerate.
35 2021-06-18 Mike Frysinger <vapier@gentoo.org>
37 * aclocal.m4, configure: Regenerate.
39 2021-06-18 Mike Frysinger <vapier@gentoo.org>
41 * configure: Regenerate.
43 2021-06-17 Mike Frysinger <vapier@gentoo.org>
45 * configure: Regenerate.
47 2021-06-16 Mike Frysinger <vapier@gentoo.org>
49 * configure: Regenerate.
51 2021-06-16 Mike Frysinger <vapier@gentoo.org>
53 * configure: Regenerate.
56 2021-06-15 Mike Frysinger <vapier@gentoo.org>
58 * config.in, configure: Regenerate.
60 2021-06-12 Mike Frysinger <vapier@gentoo.org>
62 * mem.c: Delete HAVE_SYS_SELECT_H.
64 2021-06-12 Mike Frysinger <vapier@gentoo.org>
66 * aclocal.m4, config.in, configure: Regenerate.
68 2021-06-12 Mike Frysinger <vapier@gentoo.org>
70 * configure.ac: Delete call to AC_CHECK_HEADERS_ONCE.
71 * config.in, configure: Regenerate.
73 2021-06-02 John Baldwin <jhb@FreeBSD.org>
75 * m32c.opc: Include defs.h.
78 2021-05-28 Mike Frysinger <vapier@gentoo.org>
80 * gdb-if.c (open): Rename to ...
82 (sim_open, sim_close): Rename open to is_open.
84 2021-05-16 Mike Frysinger <vapier@gentoo.org>
86 * int.c, misc.c, opc2c.c, reg.c, srcdest.c: Include defs.h.
87 * gdb-if.c, load.c, main.c, mem.c, syscalls.c, trace.c: Replace
88 config.h include with defs.h.
90 2021-05-16 Mike Frysinger <vapier@gentoo.org>
92 * config.in, configure: Regenerate.
94 2021-05-14 Mike Frysinger <vapier@gentoo.org>
96 * gdb-if.c: Update include path.
97 * syscalls.c: Likewise.
99 2021-05-07 Mike Frysinger <vapier@gentoo.org>
101 * mem.c: Include errno.h.
102 (mem_put_byte): Print a warning when the write call fails.
103 (mem_put_blk): Declare local buf pointer and use it.
104 (mem_get_byte): Return 0 when the read call fails.
105 (mem_get_blk): Declare local buf pointer and use it.
106 * trace.c (load_file_and_line): Declare ret.
107 Assign fread to ret and use to index f->data.
108 * configure.ac: Delete SIM_AC_OPTION_WARNINGS call.
109 * configure: Regenerate.
111 2021-05-07 Mike Frysinger <vapier@gentoo.org>
113 * m32c.opc: Add scope braces around a few segments.
116 2021-05-07 Mike Frysinger <vapier@gentoo.org>
118 * Makefile.in: Delete safe-fgets.
119 * opc2c.c: Delete safe-fgets.h include.
120 (main): Replace safe_fgets with getline.
121 * safe-fgets.c, safe-fgets.h: Removed.
123 2021-05-05 Mike Frysinger <vapier@gentoo.org>
125 * gdb-if.c: Include libiberty.h.
126 (sim_do_command): Rewrite to use buildargv.
128 2021-05-04 Mike Frysinger <vapier@gentoo.org>
130 * configure: Regenerate.
132 2021-05-04 Mike Frysinger <vapier@gentoo.org>
134 * load.c (m32c_load): Use BFD_VMA_FMT and drop casts.
136 2021-05-02 Mike Frysinger <vapier@gentoo.org>
138 * m32c.opc: Include ansidecl.h.
140 * opc2c.c (dump_lines): Change AU to ATTRIBUTE_UNUSED.
141 * r8c.opc: Include ansidecl.h.
144 2021-05-01 Mike Frysinger <vapier@gentoo.org>
146 * config.in, configure: Regenerate.
148 2021-04-26 Mike Frysinger <vapier@gentoo.org>
150 * Makefile.in (NL_TARGET): Delete.
152 2021-04-26 Mike Frysinger <vapier@gentoo.org>
154 * aclocal.m4, config.in, configure: Regenerate.
156 2021-04-22 Tom Tromey <tom@tromey.com>
158 * configure, config.in: Rebuild.
160 2021-04-22 Tom Tromey <tom@tromey.com>
162 * Makefile.in (LIBS): Remove
164 2021-04-22 Tom Tromey <tom@tromey.com>
166 * configure: Rebuild.
168 2021-04-21 Mike Frysinger <vapier@gentoo.org>
170 * aclocal.m4: Regenerate.
172 2021-04-21 Simon Marchi <simon.marchi@polymtl.ca>
174 * configure: Regenerate.
176 2021-04-18 Mike Frysinger <vapier@gentoo.org>
178 * configure.ac: Change AC_CHECK_HEADERS to AC_CHECK_HEADERS_ONCE.
179 * configure: Regenerate.
181 2021-04-18 Mike Frysinger <vapier@gentoo.org>
183 * Makefile.in (NL_TARGET): Define.
184 * syscalls.c: Change syscall.h include to targ-vals.h.
185 (m32c_syscall): Add TARGET_ prefix to all SYS_ constants.
186 * syscall.h: Removed.
188 2021-04-18 Mike Frysinger <vapier@gentoo.org>
190 * configure: Regenerate.
192 2021-04-08 Simon Marchi <simon.marchi@polymtl.ca>
194 * Makefile.in: Set ASAN_OPTIONS when running opc2c.
196 2021-04-07 Simon Marchi <simon.marchi@polymtl.ca>
198 * opc2c.c (main): Remove vlist variable.
200 2021-04-02 Mike Frysinger <vapier@gentoo.org>
202 * aclocal.m4, configure: Regenerate.
204 2021-03-13 Mike Frysinger <vapier@gentoo.org>
206 * Makefile.in (opc2c.o, safe-fgets.o): Call COMPILE_FOR_BUILD.
207 (opc2c): Call LINK_FOR_BUILD.
209 2021-03-08 Mike Frysinger <vapier@gentoo.org>
211 * Makefile.in (opc2c): Delete $(BUILD_LIBS).
213 2021-02-28 Mike Frysinger <vapier@gentoo.org>
215 * configure: Regenerate.
217 2021-02-21 Mike Frysinger <vapier@gentoo.org>
219 * configure.ac (AC_CONFIG_MACRO_DIRS): Replace common with m4.
220 * aclocal.m4, configure: Regenerate.
222 2021-02-13 Mike Frysinger <vapier@gentoo.org>
224 * configure.ac: Replace sinclude with AC_CONFIG_MACRO_DIRS.
225 * aclocal.m4, configure: Regenerate.
227 2021-02-06 Mike Frysinger <vapier@gentoo.org>
229 * gdb-if.c (sim_memory_map): Define.
231 2021-02-06 Mike Frysinger <vapier@gentoo.org>
233 * configure: Regenerate.
235 2021-01-11 Mike Frysinger <vapier@gentoo.org>
237 * config.in, configure: Regenerate.
239 2021-01-09 Mike Frysinger <vapier@gentoo.org>
241 * configure: Regenerate.
243 2021-01-09 Mike Frysinger <vapier@gentoo.org>
245 * configure.ac (SIM_AC_OPTION_WARNINGS): Pass "no".
246 * configure: Regenerate.
248 2021-01-08 Mike Frysinger <vapier@gentoo.org>
250 * configure: Regenerate.
252 2021-01-04 Mike Frysinger <vapier@gentoo.org>
254 * configure: Regenerate.
256 2017-09-06 John Baldwin <jhb@FreeBSD.org>
258 * configure: Regenerate.
260 2017-02-13 Mike Frysinger <vapier@gentoo.org>
262 * srcdest.c: Include libiberty.h.
263 (decode_sd23): Use ARRAY_SIZE.
265 2016-01-10 Mike Frysinger <vapier@gentoo.org>
267 * config.in, configure: Regenerate.
269 2016-01-10 Mike Frysinger <vapier@gentoo.org>
271 * configure: Regenerate.
273 2016-01-10 Mike Frysinger <vapier@gentoo.org>
275 * configure: Regenerate.
277 2016-01-10 Mike Frysinger <vapier@gentoo.org>
279 * configure: Regenerate.
281 2016-01-10 Mike Frysinger <vapier@gentoo.org>
283 * configure: Regenerate.
285 2016-01-10 Mike Frysinger <vapier@gentoo.org>
287 * configure: Regenerate.
289 2016-01-10 Mike Frysinger <vapier@gentoo.org>
291 * configure: Regenerate.
293 2016-01-10 Mike Frysinger <vapier@gentoo.org>
295 * configure: Regenerate.
297 2016-01-09 Mike Frysinger <vapier@gentoo.org>
299 * config.in, configure: Regenerate.
301 2016-01-06 Mike Frysinger <vapier@gentoo.org>
303 * sim-if.c (sim_open): Mark argv const.
304 (sim_create_inferior): Mark argv and env const.
306 2016-01-04 Mike Frysinger <vapier@gentoo.org>
308 * configure: Regenerate.
310 2016-01-03 Mike Frysinger <vapier@gentoo.org>
312 * config.in, configure: Regenerate.
314 2015-12-26 Mike Frysinger <vapier@gentoo.org>
316 * config.in, configure: Regenerate.
318 2015-11-09 Mike Frysinger <vapier@gentoo.org>
320 * Makefile.in (sample.x, sample.mot, sample2.x, sample2.o, gloss.o):
322 * blinky.S: Moved to ../testsuite/sim/m32c/.
323 * gloss.S, sample.ld, sample.S, sample2.c: Likewise.
325 2015-11-09 Mike Frysinger <vapier@gentoo.org>
327 * Makefile.in: Delete redundant dependency info.
329 2015-08-05 Nick Clifton <nickc@redhat.com>
331 * gdb-if.c (sim_info): Stub function to allow GDB to be built
334 2015-06-23 Mike Frysinger <vapier@gentoo.org>
336 * configure: Regenerate.
338 2015-06-12 Mike Frysinger <vapier@gentoo.org>
340 * configure: Regenerate.
342 2015-06-12 Mike Frysinger <vapier@gentoo.org>
344 * configure: Regenerate.
346 2015-04-13 Mike Frysinger <vapier@gentoo.org>
348 * configure: Regenerate.
350 2015-04-01 Mike Frysinger <vapier@gentoo.org>
352 * configure.ac: Call SIM_AC_OPTION_WARNINGS.
353 * configure: Regenerate.
354 * cpu.h (decode_opcode, decode_r8c, decode_m32c,
355 trace_register_changes): Convert old style prototypes.
356 (m32c_dump_all_registers): New prototype.
357 * gdb-if.c: Include stdlib.h.
359 (siggnal, handle_step): Mark static.
360 (sim_resume): Move rc decl to top of scope.
361 * load.c: Include load.h.
362 (decode_opcode); Convert old style prototype.
363 (m32c_load): Move base decl to top of scope.
364 * load.h (m32c_set_mach): Change mach type to unsigned long.
365 * m32c.opc (getbyte, decode_m32c): Convert old style prototypes.
366 (prefix): Convert old style prototype and mark static.
367 * mem.c (mem_ptr, mem_usage_stats, e, mem_get_pc, stdin_ready,
368 m32c_sim_restore_console, update_timer_a): Convert old style
370 (mem_put_byte): Mark static.
371 * mem.h (mem_get_pc, m32c_sim_restore_console): Convert old style
373 * r8c.opc (getbyte, IMM, decode_r8c): Convert old style prototypes.
374 * reg.c (stack_heap_stats, trace_register_changes,
375 m32c_dump_all_registers): Convert old style prototypes.
376 (put_reg): Move b decl to top of scope.
377 * sample2.c (start): Convert old style prototype.
378 * srcdest.c (disp8, disp16, disp24, disp20): Convert old style
380 (decode_srcdest4, decode_jumpdest): Move sd init below decls.
381 * timer_a.h (update_timer_a): Convert old style prototype.
382 * trace.c: Include trace.h.
383 (load_file_and_line): Move file decl to top of scope.
384 (sim_disasm_one): Convert old style prototype.
386 2015-03-31 Mike Frysinger <vapier@gentoo.org>
388 * config.in, configure: Regenerate.
390 2015-03-16 Mike Frysinger <vapier@gentoo.org>
392 * aclocal.m4, config.in, configure: Regenerate.
394 2014-08-19 Alan Modra <amodra@gmail.com>
396 * configure: Regenerate.
398 2014-08-15 Roland McGrath <mcgrathr@google.com>
400 * configure: Regenerate.
401 * config.in: Regenerate.
403 2014-03-10 Mike Frysinger <vapier@gentoo.org>
405 * gdb-if.c (sim_do_command): Add const to cmd. Move args
406 to top and add const. Call strdup on cmd and free at end.
408 2014-03-05 Mike Frysinger <vapier@gentoo.org>
410 * gdb-if.c (sim_load): Add const to prog.
412 2013-09-23 Alan Modra <amodra@gmail.com>
414 * configure: Regenerate.
416 2013-06-03 Mike Frysinger <vapier@gentoo.org>
418 * aclocal.m4, configure: Regenerate.
420 2012-06-15 Joel Brobecker <brobecker@adacore.com>
422 * config.in, configure: Regenerate.
424 2012-05-24 Pedro Alves <palves@redhat.com>
428 Replace TARGET_SIGNAL_ with GDB_SIGNAL_ throughout.
430 2012-05-18 Nick Clifton <nickc@redhat.com>
433 * gdb-if.c: Include config.h before system header files.
435 * syscalls.c: Likewise.
438 2012-03-24 Mike Frysinger <vapier@gentoo.org>
440 * aclocal.m4, config.in, configure: Regenerate.
442 2012-01-02 Joel Brobecker <brobecker@adacore.com>
444 * blinky.S, gloss.S, sample.S: Reformat copyright header.
446 2011-12-03 Mike Frysinger <vapier@gentoo.org>
448 * aclocal.m4: New file.
449 * configure: Regenerate.
451 2011-10-17 Mike Frysinger <vapier@gentoo.org>
453 * configure.ac: Change include to common/acinclude.m4.
455 2011-10-17 Mike Frysinger <vapier@gentoo.org>
457 * configure.ac: Change AC_PREREQ to 2.64. Delete AC_CONFIG_HEADER
458 call. Replace common.m4 include with SIM_AC_COMMON.
459 * configure: Regenerate.
461 2011-07-11 Mike Frysinger <vapier@gentoo.org>
463 * configure.ac: Rename from configure.in.
465 2011-07-11 Mike Frysinger <vapier@gentoo.org>
467 * configure.in: Add "dnl" before copyright notice.
469 2011-04-16 Mike Frysinger <vapier@gentoo.org>
471 * gdb-if.c (sim_complete_command): New stub function.
473 2011-01-11 Andrew Burgess <aburgess@broadcom.com>
475 * gdb-if.c (sim_store_register): Update return value to
478 2010-12-04 Masaki Muranaka <monaka@monami-software.com>
480 * Makefile.in: Use CC_FOR_BUILD to build opc2c.
482 2010-05-26 Ozkan Sezer <sezeroz@gmail.com>
484 * main.c (setup_tcp_console): Check error return from socket() call
485 by its equality to -1 not by it being negative.
487 2010-04-14 Mike Frysinger <vapier@gentoo.org>
489 * gdb-if.c (sim_write): Add const to buf arg.
490 * mem.h (mem_put_blk): Add const to bufptr arg.
491 * mem.c (mem_put_blk): Likewise, and add const to cast.
493 2010-01-20 DJ Delorie <dj@redhat.com>
495 * m32c.opc (MATH_OP): When doing subtraction, also set carry if
498 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
500 * configure: Regenerate.
502 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
504 * config.in: Regenerate.
505 * configure: Likewise.
507 * configure: Regenerate.
509 2009-08-14 DJ Delorie <dj@redhat.com>
511 * configure.in: Check for sys/select.h, termios.h, sys/socket.h,
512 netinet/in.h, and netinet/tcp.h.
513 * configure: Regenerate.
514 * config.in: Add those headers.
515 * main.c: Check for them.
516 (setup_tcp_console): Disable if no networking.
517 (main): Note missing networking or termios.
518 * mem.c: Check for those headers.
519 (stdin_ready): Disable if no termios.
520 (m32c_sim_restore_console): Disable if no termios.
521 (mem_get_byte): Disable console input if no termios.
523 2009-05-08 Kevin Buettner <kevinb@redhat.com>
525 * gdb-if.c (m32c_signal_to_host): Rename to
526 m32c_signal_to_target. Change signal return values from SIGILL,
527 SIGTRAP, SIGSEGV, etc. to TARGET_SIGNAL_ILL, TARGET_SIGNAL_TRAP,
528 TARGET_SIGNAL_SEGV, etc. Fix all callers.
530 2009-01-06 Joel Sherrill <joel.sherrill@oarcorp.com>
532 * r8c.opc, m32c.opc: Add parentheses to remove warnings.
534 2008-10-01 DJ Delorie <dj@redhat.com>
536 * int.c (trigger_peripheral_interrupt): Clear interrupt pending
537 bit when peripheral interrupts are serviced.
539 2008-07-11 Hans-Peter Nilsson <hp@axis.com>
541 * configure: Regenerate to track ../common/common.m4 changes.
544 2008-06-16 DJ Delorie <dj@redhat.com>
546 * m32c.opc (BRK, GDBBRK): Remove debug logic.
547 * main.c (main): Add option to set raw console.
548 * mem.h (m32c_use_raw_console): Declare.
549 * mem.c (m32c_sim_restore_console): Only restore console if it's
551 (m32c_use_raw_console): Define.
552 (mem_get_byte): Set raw console if m32c_use_raw_console is set.
554 2008-06-06 Vladimir Prus <vladimir@codesourcery.com>
555 Daniel Jacobowitz <dan@codesourcery.com>
556 Joseph Myers <joseph@codesourcery.com>
558 * configure: Regenerate.
560 2008-06-06 DJ Delorie <dj@redhat.com>
562 * Makefile.in: Add Timer A support.
563 * cpu.h (m32c_opcode_pc): New.
565 * gdb-if.c (sim_open): Add Timer A support. Support unbuffered
567 * int.c (trigger_interrupt): Manage the U flag properly.
568 (trigger_based_interrupt): Likewise.
569 (trigger_fixed_interrupt): New.
570 (trigger_peripheral_interrupt): New.
571 * int.h (trigger_peripheral_interrupt): New.
572 * m32c.opc: Use m32c_opcode_pc throughout, as needed.
573 (decode_m32c): Detect jump-to-zero with traceback.
574 (BRK): Try to do the right thing, keeping track of whether we're
575 in gdb or not, and if the user has provided a handler or not.
576 (GBRK): Alternate break opcode for gdb, in case the user's app
577 needs to use BRK for itself.
579 * main.c: Add Timer A support. Support TCP-based console.
580 (setup_tcp_console): New.
581 (main): Add Timer A support. Support TCP-based console.
582 * mem.h (m32c_sim_restore_console): New.
583 * mem.c: Add Timer A support. Support TCP-based console.
584 (mem_ptr): Enhance NULL pointer detection.
586 (m32c_sim_restore_console): New.
587 (mem_get_byte): Check for console input ready.
588 (update_timer_a): New.
589 * r8c.opc (SSTR): Use r0l, not r0h.
590 (REIT): Fix return frame logic.
591 * reg.c (print_flags): New.
592 (trace_register_changes): Use it.
593 (m32c_dump_all_registers): New.
596 * load.c: Fix indentation.
597 * trace.c: Fix indentation.
598 * trace.h: Fix indentation.
600 2006-06-26 DJ Delorie <dj@redhat.com>
602 * r8c.opc (decode_r8c): Don't bother reading the destination
603 before moving a constant into it. Fix borrow comparison for SUB.
605 2006-06-13 Richard Earnshaw <rearnsha@arm.com>
607 * configure: Regenerated.
609 2006-06-05 Daniel Jacobowitz <dan@codesourcery.com>
611 * configure: Regenerated.
613 2006-05-31 Daniel Jacobowitz <dan@codesourcery.com>
615 * configure: Regenerated.
617 2006-03-13 DJ Delorie <dj@redhat.com>
619 * mem.c (mem_put_byte): Hook simulated UART to stdout.
620 (mem_put_hi): Hook in simulated trace port.
621 (mem_get_byte): Hook in simulated uart control port.
622 * opc2c: Be more picky about matching special comments.
623 * r8c.opc (shift_op): Limit shift counts to -16..16.
624 (BMcnd): Map conditional codes.
625 * reg.c (condition_true): Mask condition code to 4 bits.
626 * syscalls.c: Include local syscall.h.
627 * syscall.h: New, copied from libgloss.
629 2005-10-06 Jim Blandy <jimb@redhat.com>
631 Simulator for Renesas M32C and M16C, by DJ Delorie <dj@redhat.com>,
632 with further work from Jim Blandy <jimb@redhat.com> and
633 Kevin Buettner <kevinb@redhat.com>.