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