Commit | Line | Data |
---|---|---|
269e9c18 MF |
1 | 2015-04-01 Mike Frysinger <vapier@gentoo.org> |
2 | ||
3 | * configure.ac: Call SIM_AC_OPTION_WARNINGS. | |
4 | * configure: Regenerate. | |
5 | * cpu.h (decode_opcode, decode_r8c, decode_m32c, | |
6 | trace_register_changes): Convert old style prototypes. | |
7 | (m32c_dump_all_registers): New prototype. | |
8 | * gdb-if.c: Include stdlib.h. | |
9 | (sim_info): Delete. | |
10 | (siggnal, handle_step): Mark static. | |
11 | (sim_resume): Move rc decl to top of scope. | |
12 | * load.c: Include load.h. | |
13 | (decode_opcode); Convert old style prototype. | |
14 | (m32c_load): Move base decl to top of scope. | |
15 | * load.h (m32c_set_mach): Change mach type to unsigned long. | |
16 | * m32c.opc (getbyte, decode_m32c): Convert old style prototypes. | |
17 | (prefix): Convert old style prototype and mark static. | |
18 | * mem.c (mem_ptr, mem_usage_stats, e, mem_get_pc, stdin_ready, | |
19 | m32c_sim_restore_console, update_timer_a): Convert old style | |
20 | prototypes. | |
21 | (mem_put_byte): Mark static. | |
22 | * mem.h (mem_get_pc, m32c_sim_restore_console): Convert old style | |
23 | prototypes. | |
24 | * r8c.opc (getbyte, IMM, decode_r8c): Convert old style prototypes. | |
25 | * reg.c (stack_heap_stats, trace_register_changes, | |
26 | m32c_dump_all_registers): Convert old style prototypes. | |
27 | (put_reg): Move b decl to top of scope. | |
28 | * sample2.c (start): Convert old style prototype. | |
29 | * srcdest.c (disp8, disp16, disp24, disp20): Convert old style | |
30 | prototypes. | |
31 | (decode_srcdest4, decode_jumpdest): Move sd init below decls. | |
32 | * timer_a.h (update_timer_a): Convert old style prototype. | |
33 | * trace.c: Include trace.h. | |
34 | (load_file_and_line): Move file decl to top of scope. | |
35 | (sim_disasm_one): Convert old style prototype. | |
36 | ||
aadc9410 MF |
37 | 2015-03-31 Mike Frysinger <vapier@gentoo.org> |
38 | ||
39 | * config.in, configure: Regenerate. | |
40 | ||
ae7d0cac MF |
41 | 2015-03-16 Mike Frysinger <vapier@gentoo.org> |
42 | ||
43 | * aclocal.m4, config.in, configure: Regenerate. | |
44 | ||
2974be62 AM |
45 | 2014-08-19 Alan Modra <amodra@gmail.com> |
46 | ||
47 | * configure: Regenerate. | |
48 | ||
faa743bb RM |
49 | 2014-08-15 Roland McGrath <mcgrathr@google.com> |
50 | ||
51 | * configure: Regenerate. | |
52 | * config.in: Regenerate. | |
53 | ||
60d847df MF |
54 | 2014-03-10 Mike Frysinger <vapier@gentoo.org> |
55 | ||
56 | * gdb-if.c (sim_do_command): Add const to cmd. Move args | |
57 | to top and add const. Call strdup on cmd and free at end. | |
58 | ||
b2b255bd MF |
59 | 2014-03-05 Mike Frysinger <vapier@gentoo.org> |
60 | ||
61 | * gdb-if.c (sim_load): Add const to prog. | |
62 | ||
bf3d9781 AM |
63 | 2013-09-23 Alan Modra <amodra@gmail.com> |
64 | ||
65 | * configure: Regenerate. | |
66 | ||
31e6ad7d MF |
67 | 2013-06-03 Mike Frysinger <vapier@gentoo.org> |
68 | ||
69 | * aclocal.m4, configure: Regenerate. | |
70 | ||
5f3ef9d0 JB |
71 | 2012-06-15 Joel Brobecker <brobecker@adacore.com> |
72 | ||
73 | * config.in, configure: Regenerate. | |
74 | ||
a493e3e2 PA |
75 | 2012-05-24 Pedro Alves <palves@redhat.com> |
76 | ||
77 | PR gdb/7205 | |
78 | ||
79 | Replace TARGET_SIGNAL_ with GDB_SIGNAL_ throughout. | |
80 | ||
a6ff997c NC |
81 | 2012-05-18 Nick Clifton <nickc@redhat.com> |
82 | ||
83 | PR 14072 | |
84 | * gdb-if.c: Include config.h before system header files. | |
85 | * load.c: Likewise. | |
86 | * syscalls.c: Likewise. | |
87 | * trace.c: Likewise. | |
88 | ||
2232061b MF |
89 | 2012-03-24 Mike Frysinger <vapier@gentoo.org> |
90 | ||
91 | * aclocal.m4, config.in, configure: Regenerate. | |
92 | ||
12c3e59c JB |
93 | 2012-01-02 Joel Brobecker <brobecker@adacore.com> |
94 | ||
95 | * blinky.S, gloss.S, sample.S: Reformat copyright header. | |
96 | ||
db2e4d67 MF |
97 | 2011-12-03 Mike Frysinger <vapier@gentoo.org> |
98 | ||
99 | * aclocal.m4: New file. | |
100 | * configure: Regenerate. | |
101 | ||
9c082ca8 MF |
102 | 2011-10-17 Mike Frysinger <vapier@gentoo.org> |
103 | ||
104 | * configure.ac: Change include to common/acinclude.m4. | |
105 | ||
6ffe910a MF |
106 | 2011-10-17 Mike Frysinger <vapier@gentoo.org> |
107 | ||
108 | * configure.ac: Change AC_PREREQ to 2.64. Delete AC_CONFIG_HEADER | |
109 | call. Replace common.m4 include with SIM_AC_COMMON. | |
110 | * configure: Regenerate. | |
111 | ||
89ab8a15 MF |
112 | 2011-07-11 Mike Frysinger <vapier@gentoo.org> |
113 | ||
114 | * configure.ac: Rename from configure.in. | |
115 | ||
31a27ee8 MF |
116 | 2011-07-11 Mike Frysinger <vapier@gentoo.org> |
117 | ||
118 | * configure.in: Add "dnl" before copyright notice. | |
119 | ||
af9f7da7 MF |
120 | 2011-04-16 Mike Frysinger <vapier@gentoo.org> |
121 | ||
122 | * gdb-if.c (sim_complete_command): New stub function. | |
123 | ||
dae477fe AB |
124 | 2011-01-11 Andrew Burgess <aburgess@broadcom.com> |
125 | ||
126 | * gdb-if.c (sim_store_register): Update return value to | |
127 | match new API. | |
128 | ||
cd006ce4 MM |
129 | 2010-12-04 Masaki Muranaka <monaka@monami-software.com> |
130 | ||
131 | * Makefile.in: Use CC_FOR_BUILD to build opc2c. | |
132 | ||
363a6e9f OS |
133 | 2010-05-26 Ozkan Sezer <sezeroz@gmail.com> |
134 | ||
135 | * main.c (setup_tcp_console): Check error return from socket() call | |
136 | by its equality to -1 not by it being negative. | |
137 | ||
5558e7e6 MF |
138 | 2010-04-14 Mike Frysinger <vapier@gentoo.org> |
139 | ||
140 | * gdb-if.c (sim_write): Add const to buf arg. | |
141 | * mem.h (mem_put_blk): Add const to bufptr arg. | |
142 | * mem.c (mem_put_blk): Likewise, and add const to cast. | |
143 | ||
2b1a61a6 DD |
144 | 2010-01-20 DJ Delorie <dj@redhat.com> |
145 | ||
146 | * m32c.opc (MATH_OP): When doing subtraction, also set carry if | |
147 | the result is zero. | |
148 | ||
3725885a RW |
149 | 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
150 | ||
151 | * configure: Regenerate. | |
152 | ||
d6416cdc RW |
153 | 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
154 | ||
81ecdfbb RW |
155 | * config.in: Regenerate. |
156 | * configure: Likewise. | |
157 | ||
d6416cdc RW |
158 | * configure: Regenerate. |
159 | ||
340cf1cf DD |
160 | 2009-08-14 DJ Delorie <dj@redhat.com> |
161 | ||
162 | * configure.in: Check for sys/select.h, termios.h, sys/socket.h, | |
163 | netinet/in.h, and netinet/tcp.h. | |
164 | * configure: Regenerate. | |
165 | * config.in: Add those headers. | |
166 | * main.c: Check for them. | |
167 | (setup_tcp_console): Disable if no networking. | |
168 | (main): Note missing networking or termios. | |
169 | * mem.c: Check for those headers. | |
170 | (stdin_ready): Disable if no termios. | |
171 | (m32c_sim_restore_console): Disable if no termios. | |
172 | (mem_get_byte): Disable console input if no termios. | |
173 | ||
ed25d732 JS |
174 | 2009-01-06 Joel Sherrill <joel.sherrill@oarcorp.com> |
175 | ||
176 | * r8c.opc, m32c.opc: Add parentheses to remove warnings. | |
177 | ||
bec7fb47 DD |
178 | 2008-10-01 DJ Delorie <dj@redhat.com> |
179 | ||
180 | * int.c (trigger_peripheral_interrupt): Clear interrupt pending | |
181 | bit when peripheral interrupts are serviced. | |
182 | ||
b5bd9624 HPN |
183 | 2008-07-11 Hans-Peter Nilsson <hp@axis.com> |
184 | ||
185 | * configure: Regenerate to track ../common/common.m4 changes. | |
186 | * config.in: Ditto. | |
187 | ||
e7ddc197 DD |
188 | 2008-06-16 DJ Delorie <dj@redhat.com> |
189 | ||
190 | * m32c.opc (BRK, GDBBRK): Remove debug logic. | |
191 | * main.c (main): Add option to set raw console. | |
192 | * mem.h (m32c_use_raw_console): Declare. | |
193 | * mem.c (m32c_sim_restore_console): Only restore console if it's | |
194 | been previously set. | |
195 | (m32c_use_raw_console): Define. | |
196 | (mem_get_byte): Set raw console if m32c_use_raw_console is set. | |
197 | ||
6efef468 JM |
198 | 2008-06-06 Vladimir Prus <vladimir@codesourcery.com> |
199 | Daniel Jacobowitz <dan@codesourcery.com> | |
200 | Joseph Myers <joseph@codesourcery.com> | |
201 | ||
202 | * configure: Regenerate. | |
203 | ||
3877a145 DD |
204 | 2008-06-06 DJ Delorie <dj@redhat.com> |
205 | ||
206 | * Makefile.in: Add Timer A support. | |
207 | * cpu.h (m32c_opcode_pc): New. | |
208 | (in_gdb): New. | |
209 | * gdb-if.c (sim_open): Add Timer A support. Support unbuffered | |
210 | console. | |
211 | * int.c (trigger_interrupt): Manage the U flag properly. | |
212 | (trigger_based_interrupt): Likewise. | |
213 | (trigger_fixed_interrupt): New. | |
214 | (trigger_peripheral_interrupt): New. | |
215 | * int.h (trigger_peripheral_interrupt): New. | |
216 | * m32c.opc: Use m32c_opcode_pc throughout, as needed. | |
217 | (decode_m32c): Detect jump-to-zero with traceback. | |
218 | (BRK): Try to do the right thing, keeping track of whether we're | |
219 | in gdb or not, and if the user has provided a handler or not. | |
220 | (GBRK): Alternate break opcode for gdb, in case the user's app | |
221 | needs to use BRK for itself. | |
222 | (BRK2): Implement. | |
223 | * main.c: Add Timer A support. Support TCP-based console. | |
224 | (setup_tcp_console): New. | |
225 | (main): Add Timer A support. Support TCP-based console. | |
7cc70e53 | 226 | * mem.h (m32c_sim_restore_console): New. |
3877a145 DD |
227 | * mem.c: Add Timer A support. Support TCP-based console. |
228 | (mem_ptr): Enhance NULL pointer detection. | |
229 | (stdin_ready): New. | |
230 | (m32c_sim_restore_console): New. | |
231 | (mem_get_byte): Check for console input ready. | |
232 | (update_timer_a): New. | |
233 | * r8c.opc (SSTR): Use r0l, not r0h. | |
234 | (REIT): Fix return frame logic. | |
235 | * reg.c (print_flags): New. | |
236 | (trace_register_changes): Use it. | |
237 | (m32c_dump_all_registers): New. | |
238 | * timer_a.h: New. | |
239 | ||
240 | * load.c: Fix indentation. | |
241 | * trace.c: Fix indentation. | |
242 | * trace.h: Fix indentation. | |
243 | ||
f4f21c20 DD |
244 | 2006-06-26 DJ Delorie <dj@redhat.com> |
245 | ||
246 | * r8c.opc (decode_r8c): Don't bother reading the destination | |
247 | before moving a constant into it. Fix borrow comparison for SUB. | |
248 | ||
e85e3205 RE |
249 | 2006-06-13 Richard Earnshaw <rearnsha@arm.com> |
250 | ||
251 | * configure: Regenerated. | |
252 | ||
2f0122dc DJ |
253 | 2006-06-05 Daniel Jacobowitz <dan@codesourcery.com> |
254 | ||
255 | * configure: Regenerated. | |
256 | ||
20e95c23 DJ |
257 | 2006-05-31 Daniel Jacobowitz <dan@codesourcery.com> |
258 | ||
259 | * configure: Regenerated. | |
260 | ||
727b6b4b DD |
261 | 2006-03-13 DJ Delorie <dj@redhat.com> |
262 | ||
263 | * mem.c (mem_put_byte): Hook simulated UART to stdout. | |
264 | (mem_put_hi): Hook in simulated trace port. | |
265 | (mem_get_byte): Hook in simulated uart control port. | |
266 | * opc2c: Be more picky about matching special comments. | |
267 | * r8c.opc (shift_op): Limit shift counts to -16..16. | |
268 | (BMcnd): Map conditional codes. | |
269 | * reg.c (condition_true): Mask condition code to 4 bits. | |
270 | * syscalls.c: Include local syscall.h. | |
271 | * syscall.h: New, copied from libgloss. | |
272 | ||
d45a4bef JB |
273 | 2005-10-06 Jim Blandy <jimb@redhat.com> |
274 | ||
275 | Simulator for Renesas M32C and M16C, by DJ Delorie <dj@redhat.com>, | |
276 | with further work from Jim Blandy <jimb@redhat.com> and | |
277 | Kevin Buettner <kevinb@redhat.com>. | |
278 | ||
279 | * ChangeLog: New. | |
280 | * Makefile.in: New. | |
281 | * blinky.S: New. | |
282 | * config.in: New. | |
283 | * configure: New. | |
284 | * configure.in: New. | |
285 | * cpu.h: New. | |
286 | * gdb-if.c: New. | |
287 | * gloss.S: New. | |
288 | * int.c: New. | |
289 | * int.h: New. | |
290 | * load.c: New. | |
291 | * load.h: New. | |
292 | * m32c.opc: New. | |
293 | * main.c: New. | |
294 | * mem.c: New. | |
295 | * mem.h: New. | |
296 | * misc.c: New. | |
297 | * misc.h: New. | |
298 | * opc2c.c: New. | |
299 | * r8c.opc: New. | |
300 | * reg.c: New. | |
301 | * safe-fgets.c: New. | |
302 | * safe-fgets.h: New. | |
303 | * sample.S: New. | |
304 | * sample.ld: New. | |
305 | * sample2.c: New. | |
306 | * srcdest.c: New. | |
307 | * syscalls.c: New. | |
308 | * syscalls.h: New. | |
309 | * trace.c: New. | |
310 | * trace.h: New. | |
311 | ||
312 |