1 2009-01-06 Joel Sherrill <joel.sherrill@oarcorp.com>
3 * r8c.opc, m32c.opc: Add parentheses to remove warnings.
5 2008-10-01 DJ Delorie <dj@redhat.com>
7 * int.c (trigger_peripheral_interrupt): Clear interrupt pending
8 bit when peripheral interrupts are serviced.
10 2008-07-11 Hans-Peter Nilsson <hp@axis.com>
12 * configure: Regenerate to track ../common/common.m4 changes.
15 2008-06-16 DJ Delorie <dj@redhat.com>
17 * m32c.opc (BRK, GDBBRK): Remove debug logic.
18 * main.c (main): Add option to set raw console.
19 * mem.h (m32c_use_raw_console): Declare.
20 * mem.c (m32c_sim_restore_console): Only restore console if it's
22 (m32c_use_raw_console): Define.
23 (mem_get_byte): Set raw console if m32c_use_raw_console is set.
25 2008-06-06 Vladimir Prus <vladimir@codesourcery.com>
26 Daniel Jacobowitz <dan@codesourcery.com>
27 Joseph Myers <joseph@codesourcery.com>
29 * configure: Regenerate.
31 2008-06-06 DJ Delorie <dj@redhat.com>
33 * Makefile.in: Add Timer A support.
34 * cpu.h (m32c_opcode_pc): New.
36 * gdb-if.c (sim_open): Add Timer A support. Support unbuffered
38 * int.c (trigger_interrupt): Manage the U flag properly.
39 (trigger_based_interrupt): Likewise.
40 (trigger_fixed_interrupt): New.
41 (trigger_peripheral_interrupt): New.
42 * int.h (trigger_peripheral_interrupt): New.
43 * m32c.opc: Use m32c_opcode_pc throughout, as needed.
44 (decode_m32c): Detect jump-to-zero with traceback.
45 (BRK): Try to do the right thing, keeping track of whether we're
46 in gdb or not, and if the user has provided a handler or not.
47 (GBRK): Alternate break opcode for gdb, in case the user's app
48 needs to use BRK for itself.
50 * main.c: Add Timer A support. Support TCP-based console.
51 (setup_tcp_console): New.
52 (main): Add Timer A support. Support TCP-based console.
53 * mem.h (m32c_sim_restore_console): New.
54 * mem.c: Add Timer A support. Support TCP-based console.
55 (mem_ptr): Enhance NULL pointer detection.
57 (m32c_sim_restore_console): New.
58 (mem_get_byte): Check for console input ready.
59 (update_timer_a): New.
60 * r8c.opc (SSTR): Use r0l, not r0h.
61 (REIT): Fix return frame logic.
62 * reg.c (print_flags): New.
63 (trace_register_changes): Use it.
64 (m32c_dump_all_registers): New.
67 * load.c: Fix indentation.
68 * trace.c: Fix indentation.
69 * trace.h: Fix indentation.
71 2006-06-26 DJ Delorie <dj@redhat.com>
73 * r8c.opc (decode_r8c): Don't bother reading the destination
74 before moving a constant into it. Fix borrow comparison for SUB.
76 2006-06-13 Richard Earnshaw <rearnsha@arm.com>
78 * configure: Regenerated.
80 2006-06-05 Daniel Jacobowitz <dan@codesourcery.com>
82 * configure: Regenerated.
84 2006-05-31 Daniel Jacobowitz <dan@codesourcery.com>
86 * configure: Regenerated.
88 2006-03-13 DJ Delorie <dj@redhat.com>
90 * mem.c (mem_put_byte): Hook simulated UART to stdout.
91 (mem_put_hi): Hook in simulated trace port.
92 (mem_get_byte): Hook in simulated uart control port.
93 * opc2c: Be more picky about matching special comments.
94 * r8c.opc (shift_op): Limit shift counts to -16..16.
95 (BMcnd): Map conditional codes.
96 * reg.c (condition_true): Mask condition code to 4 bits.
97 * syscalls.c: Include local syscall.h.
98 * syscall.h: New, copied from libgloss.
100 2005-10-06 Jim Blandy <jimb@redhat.com>
102 Simulator for Renesas M32C and M16C, by DJ Delorie <dj@redhat.com>,
103 with further work from Jim Blandy <jimb@redhat.com> and
104 Kevin Buettner <kevinb@redhat.com>.