OSDN Git Service

1a34d71910c4106eec9c9ab648525970ab7792b4
[pf3gnuchains/pf3gnuchains4x.git] / sim / m32c / ChangeLog
1 2011-01-11  Andrew Burgess <aburgess@broadcom.com>
2
3         * gdb-if.c (sim_store_register): Update return value to
4         match new API.
5
6 2010-12-04  Masaki Muranaka  <monaka@monami-software.com>
7
8         * Makefile.in: Use CC_FOR_BUILD to build opc2c.
9
10 2010-05-26  Ozkan Sezer  <sezeroz@gmail.com>
11
12         * main.c (setup_tcp_console): Check error return from socket() call
13         by its equality to -1 not by it being negative.
14
15 2010-04-14  Mike Frysinger  <vapier@gentoo.org>
16
17         * gdb-if.c (sim_write): Add const to buf arg.
18         * mem.h (mem_put_blk): Add const to bufptr arg.
19         * mem.c (mem_put_blk): Likewise, and add const to cast.
20
21 2010-01-20  DJ Delorie  <dj@redhat.com>
22
23         * m32c.opc (MATH_OP): When doing subtraction, also set carry if
24         the result is zero.
25
26 2010-01-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
27
28         * configure: Regenerate.
29
30 2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
31
32         * config.in: Regenerate.
33         * configure: Likewise.
34
35         * configure: Regenerate.
36
37 2009-08-14  DJ Delorie  <dj@redhat.com>
38
39         * configure.in: Check for sys/select.h, termios.h, sys/socket.h,
40         netinet/in.h, and netinet/tcp.h.
41         * configure: Regenerate.
42         * config.in: Add those headers.
43         * main.c: Check for them.
44         (setup_tcp_console): Disable if no networking.
45         (main): Note missing networking or termios.
46         * mem.c: Check for those headers.
47         (stdin_ready): Disable if no termios.
48         (m32c_sim_restore_console): Disable if no termios.
49         (mem_get_byte): Disable console input if no termios.
50         
51 2009-01-06  Joel Sherrill <joel.sherrill@oarcorp.com>
52
53         * r8c.opc, m32c.opc: Add parentheses to remove warnings.
54
55 2008-10-01  DJ Delorie  <dj@redhat.com>
56
57         * int.c (trigger_peripheral_interrupt): Clear interrupt pending
58         bit when peripheral interrupts are serviced.
59
60 2008-07-11  Hans-Peter Nilsson  <hp@axis.com>
61
62         * configure: Regenerate to track ../common/common.m4 changes.
63         * config.in: Ditto.
64
65 2008-06-16  DJ Delorie  <dj@redhat.com>
66
67         * m32c.opc (BRK, GDBBRK): Remove debug logic.
68         * main.c (main): Add option to set raw console.
69         * mem.h (m32c_use_raw_console): Declare.
70         * mem.c (m32c_sim_restore_console): Only restore console if it's
71         been previously set.
72         (m32c_use_raw_console): Define.
73         (mem_get_byte): Set raw console if m32c_use_raw_console is set.
74
75 2008-06-06  Vladimir Prus  <vladimir@codesourcery.com>
76             Daniel Jacobowitz  <dan@codesourcery.com>
77             Joseph Myers  <joseph@codesourcery.com>
78
79         * configure: Regenerate.
80
81 2008-06-06  DJ Delorie  <dj@redhat.com>
82
83         * Makefile.in: Add Timer A support.
84         * cpu.h (m32c_opcode_pc): New.
85         (in_gdb): New.
86         * gdb-if.c (sim_open): Add Timer A support.  Support unbuffered
87         console.
88         * int.c (trigger_interrupt): Manage the U flag properly.
89         (trigger_based_interrupt): Likewise.
90         (trigger_fixed_interrupt): New.
91         (trigger_peripheral_interrupt): New.
92         * int.h (trigger_peripheral_interrupt): New.
93         * m32c.opc: Use m32c_opcode_pc throughout, as needed.
94         (decode_m32c): Detect jump-to-zero with traceback.
95         (BRK): Try to do the right thing, keeping track of whether we're
96         in gdb or not, and if the user has provided a handler or not.
97         (GBRK): Alternate break opcode for gdb, in case the user's app
98         needs to use BRK for itself.
99         (BRK2): Implement.
100         * main.c: Add Timer A support.  Support TCP-based console.
101         (setup_tcp_console): New.
102         (main): Add Timer A support.  Support TCP-based console.
103         * mem.h (m32c_sim_restore_console): New.
104         * mem.c: Add Timer A support.  Support TCP-based console.
105         (mem_ptr): Enhance NULL pointer detection.
106         (stdin_ready): New.
107         (m32c_sim_restore_console): New.
108         (mem_get_byte): Check for console input ready.
109         (update_timer_a): New.
110         * r8c.opc (SSTR): Use r0l, not r0h.
111         (REIT): Fix return frame logic.
112         * reg.c (print_flags): New.
113         (trace_register_changes): Use it.
114         (m32c_dump_all_registers): New.
115         * timer_a.h: New.
116         
117         * load.c: Fix indentation.
118         * trace.c: Fix indentation.
119         * trace.h: Fix indentation.
120
121 2006-06-26  DJ Delorie  <dj@redhat.com>
122
123         * r8c.opc (decode_r8c): Don't bother reading the destination
124         before moving a constant into it.  Fix borrow comparison for SUB.
125
126 2006-06-13  Richard Earnshaw  <rearnsha@arm.com>
127
128         * configure: Regenerated.
129
130 2006-06-05  Daniel Jacobowitz  <dan@codesourcery.com>
131
132         * configure: Regenerated.
133
134 2006-05-31  Daniel Jacobowitz  <dan@codesourcery.com>
135
136         * configure: Regenerated.
137
138 2006-03-13  DJ Delorie  <dj@redhat.com>
139
140         * mem.c (mem_put_byte): Hook simulated UART to stdout.
141         (mem_put_hi): Hook in simulated trace port.
142         (mem_get_byte): Hook in simulated uart control port.
143         * opc2c: Be more picky about matching special comments.
144         * r8c.opc (shift_op): Limit shift counts to -16..16.
145         (BMcnd): Map conditional codes.
146         * reg.c (condition_true): Mask condition code to 4 bits.
147         * syscalls.c: Include local syscall.h.
148         * syscall.h: New, copied from libgloss.
149
150 2005-10-06  Jim Blandy  <jimb@redhat.com>
151
152         Simulator for Renesas M32C and M16C, by DJ Delorie <dj@redhat.com>,
153         with further work from Jim Blandy <jimb@redhat.com> and
154         Kevin Buettner <kevinb@redhat.com>.
155         
156         * ChangeLog: New.
157         * Makefile.in: New.
158         * blinky.S: New.
159         * config.in: New.
160         * configure: New.
161         * configure.in: New.
162         * cpu.h: New.
163         * gdb-if.c: New.
164         * gloss.S: New.
165         * int.c: New.
166         * int.h: New.
167         * load.c: New.
168         * load.h: New.
169         * m32c.opc: New.
170         * main.c: New.
171         * mem.c: New.
172         * mem.h: New.
173         * misc.c: New.
174         * misc.h: New.
175         * opc2c.c: New.
176         * r8c.opc: New.
177         * reg.c: New.
178         * safe-fgets.c: New.
179         * safe-fgets.h: New.
180         * sample.S: New.
181         * sample.ld: New.
182         * sample2.c: New.
183         * srcdest.c: New.
184         * syscalls.c: New.
185         * syscalls.h: New.
186         * trace.c: New.
187         * trace.h: New.
188
189