5512d6995a588a102cf8a10ba7128d6c98ae7fbc
[external/binutils.git] / sim / m32c / ChangeLog
1 2008-10-01  DJ Delorie  <dj@redhat.com>
2
3         * int.c (trigger_peripheral_interrupt): Clear interrupt pending
4         bit when peripheral interrupts are serviced.
5
6 2008-07-11  Hans-Peter Nilsson  <hp@axis.com>
7
8         * configure: Regenerate to track ../common/common.m4 changes.
9         * config.in: Ditto.
10
11 2008-06-16  DJ Delorie  <dj@redhat.com>
12
13         * m32c.opc (BRK, GDBBRK): Remove debug logic.
14         * main.c (main): Add option to set raw console.
15         * mem.h (m32c_use_raw_console): Declare.
16         * mem.c (m32c_sim_restore_console): Only restore console if it's
17         been previously set.
18         (m32c_use_raw_console): Define.
19         (mem_get_byte): Set raw console if m32c_use_raw_console is set.
20
21 2008-06-06  Vladimir Prus  <vladimir@codesourcery.com>
22             Daniel Jacobowitz  <dan@codesourcery.com>
23             Joseph Myers  <joseph@codesourcery.com>
24
25         * configure: Regenerate.
26
27 2008-06-06  DJ Delorie  <dj@redhat.com>
28
29         * Makefile.in: Add Timer A support.
30         * cpu.h (m32c_opcode_pc): New.
31         (in_gdb): New.
32         * gdb-if.c (sim_open): Add Timer A support.  Support unbuffered
33         console.
34         * int.c (trigger_interrupt): Manage the U flag properly.
35         (trigger_based_interrupt): Likewise.
36         (trigger_fixed_interrupt): New.
37         (trigger_peripheral_interrupt): New.
38         * int.h (trigger_peripheral_interrupt): New.
39         * m32c.opc: Use m32c_opcode_pc throughout, as needed.
40         (decode_m32c): Detect jump-to-zero with traceback.
41         (BRK): Try to do the right thing, keeping track of whether we're
42         in gdb or not, and if the user has provided a handler or not.
43         (GBRK): Alternate break opcode for gdb, in case the user's app
44         needs to use BRK for itself.
45         (BRK2): Implement.
46         * main.c: Add Timer A support.  Support TCP-based console.
47         (setup_tcp_console): New.
48         (main): Add Timer A support.  Support TCP-based console.
49         * mem.h (m32c_sim_restore_console): New.
50         * mem.c: Add Timer A support.  Support TCP-based console.
51         (mem_ptr): Enhance NULL pointer detection.
52         (stdin_ready): New.
53         (m32c_sim_restore_console): New.
54         (mem_get_byte): Check for console input ready.
55         (update_timer_a): New.
56         * r8c.opc (SSTR): Use r0l, not r0h.
57         (REIT): Fix return frame logic.
58         * reg.c (print_flags): New.
59         (trace_register_changes): Use it.
60         (m32c_dump_all_registers): New.
61         * timer_a.h: New.
62         
63         * load.c: Fix indentation.
64         * trace.c: Fix indentation.
65         * trace.h: Fix indentation.
66
67 2006-06-26  DJ Delorie  <dj@redhat.com>
68
69         * r8c.opc (decode_r8c): Don't bother reading the destination
70         before moving a constant into it.  Fix borrow comparison for SUB.
71
72 2006-06-13  Richard Earnshaw  <rearnsha@arm.com>
73
74         * configure: Regenerated.
75
76 2006-06-05  Daniel Jacobowitz  <dan@codesourcery.com>
77
78         * configure: Regenerated.
79
80 2006-05-31  Daniel Jacobowitz  <dan@codesourcery.com>
81
82         * configure: Regenerated.
83
84 2006-03-13  DJ Delorie  <dj@redhat.com>
85
86         * mem.c (mem_put_byte): Hook simulated UART to stdout.
87         (mem_put_hi): Hook in simulated trace port.
88         (mem_get_byte): Hook in simulated uart control port.
89         * opc2c: Be more picky about matching special comments.
90         * r8c.opc (shift_op): Limit shift counts to -16..16.
91         (BMcnd): Map conditional codes.
92         * reg.c (condition_true): Mask condition code to 4 bits.
93         * syscalls.c: Include local syscall.h.
94         * syscall.h: New, copied from libgloss.
95
96 2005-10-06  Jim Blandy  <jimb@redhat.com>
97
98         Simulator for Renesas M32C and M16C, by DJ Delorie <dj@redhat.com>,
99         with further work from Jim Blandy <jimb@redhat.com> and
100         Kevin Buettner <kevinb@redhat.com>.
101         
102         * ChangeLog: New.
103         * Makefile.in: New.
104         * blinky.S: New.
105         * config.in: New.
106         * configure: New.
107         * configure.in: New.
108         * cpu.h: New.
109         * gdb-if.c: New.
110         * gloss.S: New.
111         * int.c: New.
112         * int.h: New.
113         * load.c: New.
114         * load.h: New.
115         * m32c.opc: New.
116         * main.c: New.
117         * mem.c: New.
118         * mem.h: New.
119         * misc.c: New.
120         * misc.h: New.
121         * opc2c.c: New.
122         * r8c.opc: New.
123         * reg.c: New.
124         * safe-fgets.c: New.
125         * safe-fgets.h: New.
126         * sample.S: New.
127         * sample.ld: New.
128         * sample2.c: New.
129         * srcdest.c: New.
130         * syscalls.c: New.
131         * syscalls.h: New.
132         * trace.c: New.
133         * trace.h: New.
134
135