Commit | Line | Data |
---|---|---|
b5689863 MF |
1 | 2021-06-19 Mike Frysinger <vapier@gentoo.org> |
2 | ||
3 | * aclocal.m4: Regenerate. | |
4 | * configure: Regenerate. | |
5 | ||
07490bf8 MF |
6 | 2021-06-19 Mike Frysinger <vapier@gentoo.org> |
7 | ||
8 | * configure: Regenerate. | |
9 | ||
47ce766a MF |
10 | 2021-06-18 Mike Frysinger <vapier@gentoo.org> |
11 | ||
12 | * aclocal.m4, configure: Regenerate. | |
13 | ||
982c3a65 MF |
14 | 2021-06-18 Mike Frysinger <vapier@gentoo.org> |
15 | ||
16 | * configure: Regenerate. | |
17 | ||
1fef66b0 MF |
18 | 2021-06-18 Mike Frysinger <vapier@gentoo.org> |
19 | ||
20 | * dv-m68hc11eepr.c: Include sim-signal.h. | |
21 | * interrupts.c, m68hc11_sim.c: Likewise. | |
22 | * sim-main.h: Delete sim-signal.h include. | |
23 | ||
f9a4d543 MF |
24 | 2021-06-17 Mike Frysinger <vapier@gentoo.org> |
25 | ||
26 | * configure.ac: Delete SIM_AC_OPTION_ENDIAN call. | |
27 | * interp.c (sim_open): Set current_target_byte_order. | |
28 | * aclocal.m4, configure: Regenerate. | |
29 | ||
ef5058ae MF |
30 | 2021-06-17 Mike Frysinger <vapier@gentoo.org> |
31 | ||
32 | * sim-main.h: Delete sim/callback.h include. | |
33 | ||
a8a3d907 MF |
34 | 2021-06-16 Mike Frysinger <vapier@gentoo.org> |
35 | ||
36 | * configure: Regenerate. | |
37 | ||
52d37d2c MF |
38 | 2021-06-16 Mike Frysinger <vapier@gentoo.org> |
39 | ||
40 | * configure: Regenerate. | |
41 | * config.in: Removed. | |
42 | ||
bcaa61f7 MF |
43 | 2021-06-15 Mike Frysinger <vapier@gentoo.org> |
44 | ||
45 | * config.in, configure: Regenerate. | |
46 | ||
ba307cdd MF |
47 | 2021-06-12 Mike Frysinger <vapier@gentoo.org> |
48 | ||
49 | * configure.ac: Delete call to SIM_AC_OPTION_ALIGNMENT. | |
50 | ||
dba333c1 MF |
51 | 2021-06-12 Mike Frysinger <vapier@gentoo.org> |
52 | ||
53 | * aclocal.m4, config.in, configure: Regenerate. | |
54 | ||
b15c5d7a MF |
55 | 2021-06-12 Mike Frysinger <vapier@gentoo.org> |
56 | ||
57 | * config.in, configure: Regenerate. | |
58 | ||
f4fdd845 MF |
59 | 2021-05-17 Mike Frysinger <vapier@gentoo.org> |
60 | ||
61 | * sim-main.h (SIM_HAVE_COMMON_SIM_STATE): Delete. | |
62 | ||
383861bd MF |
63 | 2021-05-17 Mike Frysinger <vapier@gentoo.org> |
64 | ||
65 | * sim-main.h (SIM_HAVE_COMMON_SIM_STATE): Define. | |
66 | (struct sim_state): Delete. | |
67 | ||
6df01ab8 MF |
68 | 2021-05-16 Mike Frysinger <vapier@gentoo.org> |
69 | ||
70 | * dv-m68hc11.c, dv-m68hc11eepr.c, dv-m68hc11sio.c, dv-m68hc11spi.c, | |
71 | dv-m68hc11tim.c, dv-nvram.c, emulos.c, gencode.c, interp.c, | |
72 | interrupts.c, m68hc11_sim.c: Include defs.h. | |
73 | ||
79633c12 MF |
74 | 2021-05-16 Mike Frysinger <vapier@gentoo.org> |
75 | ||
76 | * config.in, configure: Regenerate. | |
77 | ||
df68e12b MF |
78 | 2021-05-14 Mike Frysinger <vapier@gentoo.org> |
79 | ||
80 | * sim-main.h: Update include path. | |
81 | ||
8a16cc4b MF |
82 | 2021-05-07 Mike Frysinger <vapier@gentoo.org> |
83 | ||
84 | * dv-m68hc11tim.c (cycle_to_string): Increase buf to 128 bytes. | |
85 | Merge two sprintf buf calls. | |
86 | ||
8e78e9b9 MF |
87 | 2021-05-06 Mike Frysinger <vapier@gentoo.org> |
88 | ||
89 | * interp.c (sim_hw_configure): Change %lx to %x in format strings. | |
90 | * configure.ac: Delete SIM_AC_OPTION_WARNINGS call. | |
91 | * configure: Regenerate. | |
92 | ||
8852d028 MF |
93 | 2021-05-06 Mike Frysinger <vapier@gentoo.org> |
94 | ||
95 | * emulos.c: Include errno.h & stdio.h. | |
96 | (emul_write): Print a warning when the write fails. | |
97 | ||
bf06b2a2 MF |
98 | 2021-05-04 Mike Frysinger <vapier@gentoo.org> |
99 | ||
100 | * dv-m68hc11.c (struct m68hc11cpu): Change attach_size to unsigned int. | |
101 | * dv-m68hc11sio.c (m68hc11sio_tx_poll): Cast buffer to const char*. | |
102 | ||
aa0fca16 MF |
103 | 2021-05-04 Mike Frysinger <vapier@gentoo.org> |
104 | ||
105 | * configure: Regenerate. | |
106 | ||
fe348617 MF |
107 | 2021-05-01 Mike Frysinger <vapier@gentoo.org> |
108 | ||
109 | * config.in, configure: Regenerate. | |
110 | ||
9d903352 MF |
111 | 2021-04-23 Mike Frysinger <vapier@gentoo.org> |
112 | ||
113 | * configure.ac (SIM_AC_OPTION_HARDWARE): Delete first two args. | |
114 | * configure: Regenerate. | |
115 | ||
19f6a43c TT |
116 | 2021-04-22 Tom Tromey <tom@tromey.com> |
117 | ||
118 | * configure, config.in: Rebuild. | |
119 | ||
d6581fcd TT |
120 | 2021-04-22 Tom Tromey <tom@tromey.com> |
121 | ||
122 | * Makefile.in (INCLUDE): Remove. | |
123 | ||
e7d8f1da TT |
124 | 2021-04-22 Tom Tromey <tom@tromey.com> |
125 | ||
126 | * Makefile.in (interp.o): Remove. | |
127 | ||
efd82ac7 TT |
128 | 2021-04-22 Tom Tromey <tom@tromey.com> |
129 | ||
130 | * configure: Rebuild. | |
131 | ||
2662c237 MF |
132 | 2021-04-21 Mike Frysinger <vapier@gentoo.org> |
133 | ||
134 | * aclocal.m4: Regenerate. | |
135 | ||
1f195bc3 SM |
136 | 2021-04-21 Simon Marchi <simon.marchi@polymtl.ca> |
137 | ||
138 | * configure: Regenerate. | |
139 | ||
37e9f182 MF |
140 | 2021-04-18 Mike Frysinger <vapier@gentoo.org> |
141 | ||
142 | * configure: Regenerate. | |
143 | ||
d5a71b11 MF |
144 | 2021-04-12 Mike Frysinger <vapier@gentoo.org> |
145 | ||
146 | * interp.c (sim_open): Delete 3rd arg to sim_cpu_alloc_all. | |
147 | ||
c2783492 MF |
148 | 2021-04-02 Mike Frysinger <vapier@gentoo.org> |
149 | ||
150 | * aclocal.m4, configure: Regenerate. | |
151 | ||
c6c7769d MF |
152 | 2021-03-13 Mike Frysinger <vapier@gentoo.org> |
153 | ||
154 | * Makefile.in (gencode.o): New rule. | |
155 | (gencode): Call LINK_FOR_BUILD. | |
156 | ||
ebe9564b MF |
157 | 2021-02-28 Mike Frysinger <vapier@gentoo.org> |
158 | ||
159 | * configure: Regenerate. | |
160 | ||
760b3e8b MF |
161 | 2021-02-21 Mike Frysinger <vapier@gentoo.org> |
162 | ||
163 | * configure.ac (AC_CONFIG_MACRO_DIRS): Replace common with m4. | |
164 | * aclocal.m4, configure: Regenerate. | |
165 | ||
136da8cd MF |
166 | 2021-02-13 Mike Frysinger <vapier@gentoo.org> |
167 | ||
168 | * configure.ac: Replace sinclude with AC_CONFIG_MACRO_DIRS. | |
169 | * aclocal.m4, configure: Regenerate. | |
170 | ||
aa09469f MF |
171 | 2021-02-06 Mike Frysinger <vapier@gentoo.org> |
172 | ||
173 | * configure: Regenerate. | |
174 | ||
683b8d96 MF |
175 | 2021-01-30 Mike Frysinger <vapier@gentoo.org> |
176 | ||
177 | * dv-m68hc11tim.c (cycle_to_string): Change llu to PRIi64. | |
178 | ||
b9e016f5 MF |
179 | 2021-01-30 Mike Frysinger <vapier@gentoo.org> |
180 | ||
181 | * m68hc11_sim.c (cpu_set_sp): Add static markings. | |
182 | (cpu_get_reg, cpu_get_src_reg, cpu_set_dst_reg, | |
183 | cpu_get_indexed_operand_addr, cpu_get_indexed_operand8): Likewise. | |
184 | ||
fb8d4e59 MF |
185 | 2021-01-30 Mike Frysinger <vapier@gentoo.org> |
186 | ||
187 | * interp.c (sim_get_info, sim_board_reset): Pass %s to sim_hw_parse. | |
188 | ||
ee64caae MF |
189 | 2021-01-30 Mike Frysinger <vapier@gentoo.org> |
190 | ||
191 | * dv-m68hc11.c, m68hc11_sim.c: Include stdlib.h. | |
192 | ||
88f68ee2 MF |
193 | 2021-01-30 Mike Frysinger <vapier@gentoo.org> |
194 | ||
195 | * configure.ac (SIM_AC_OPTION_HARDWARE): Inline variables. | |
196 | * configure: Regenerate. | |
197 | ||
68ed2854 MF |
198 | 2021-01-11 Mike Frysinger <vapier@gentoo.org> |
199 | ||
200 | * config.in, configure: Regenerate. | |
201 | ||
50df264d MF |
202 | 2021-01-09 Mike Frysinger <vapier@gentoo.org> |
203 | ||
204 | * configure: Regenerate. | |
205 | ||
bf470982 MF |
206 | 2021-01-09 Mike Frysinger <vapier@gentoo.org> |
207 | ||
208 | * configure.ac (SIM_AC_OPTION_WARNINGS): Pass "no". | |
209 | * configure: Regenerate. | |
210 | ||
46f900c0 MF |
211 | 2021-01-08 Mike Frysinger <vapier@gentoo.org> |
212 | ||
213 | * configure: Regenerate. | |
214 | ||
dfb856ba MF |
215 | 2021-01-04 Mike Frysinger <vapier@gentoo.org> |
216 | ||
217 | * configure: Regenerate. | |
218 | ||
5c887dd5 JB |
219 | 2017-09-06 John Baldwin <jhb@FreeBSD.org> |
220 | ||
221 | * configure: Regenerate. | |
222 | ||
13a590ca MF |
223 | 2017-02-13 Mike Frysinger <vapier@gentoo.org> |
224 | ||
225 | * gencode.c: Include libiberty.h. | |
226 | (TABLE_SIZE): Delete. | |
227 | (find_opcode_pattern): Change TABLE_SIZE to ARRAY_SIZE. | |
228 | (gen_interpreter): Likewise. | |
229 | * interrupts.c (TableSize): Delete. | |
230 | (interrupts_update_pending): Change TableSize to ARRAY_SIZE. | |
231 | ||
fa0843f5 MF |
232 | 2016-08-16 Mike Frysinger <vapier@gentoo.org> |
233 | ||
234 | * sim-main.h (inline): Delete define. | |
235 | (phys_to_virt): Change inline to STATIC_INLINE. | |
236 | (memory_read8, memory_write8, memory_read16, memory_write16, | |
237 | cpu_ccr_update_tst16, cpu_ccr_update_shift8, cpu_ccr_update_shift16, | |
238 | cpu_ccr_update_add8, cpu_ccr_update_sub8, cpu_ccr_update_add16, | |
239 | cpu_ccr_update_sub16, cpu_m68hc11_push_uint8, cpu_m68hc11_push_uint16, | |
240 | cpu_m68hc11_pop_uint8, cpu_m68hc11_pop_uint16, cpu_m68hc12_push_uint8, | |
241 | cpu_m68hc12_push_uint16, cpu_m68hc12_pop_uint8, | |
242 | cpu_m68hc12_pop_uint16, cpu_fetch8, cpu_fetch16): Likewise. | |
243 | ||
5357150c MF |
244 | 2016-08-15 Mike Frysinger <vapier@gentoo.org> |
245 | ||
246 | * interp.c (sim_get_bank_parameters): Delete abfd arg. | |
247 | Replace all symbol lookup code with calls to trace_sym_value. | |
248 | (sim_prepare_for_program): Update sim_get_bank_parameters call. | |
249 | ||
6f64fd48 MF |
250 | 2016-08-13 Mike Frysinger <vapier@gentoo.org> |
251 | ||
252 | * dv-m68hc11.c (m68hc11cpu_port_event): Adjust cpu prototype style. | |
253 | * dv-m68hc11spi.c (m68hc11spi_port_event): Likewise. | |
254 | * dv-m68hc11tim.c (m68hc11tim_print_timer): Likewise. | |
255 | * emulos.c (emul_bench): Likewise. | |
256 | (emul_write): Likewise. Also rename state to cpu. | |
257 | (emul_os): Rename proc to cpu. | |
258 | * gencode.c: Rename proc to cpu. | |
259 | * interrupts.c (interrupts_initialize): Likewise. | |
260 | * interrupts.h (interrupts): Adjust cpu type. | |
261 | (interrupts_initialize): Likewise. | |
262 | * m68hc11_sim.c (cpu_get_reg): Adjust cpu prototype style. | |
263 | (cpu_get_src_reg, cpu_set_dst_reg, cpu_set_reg, | |
264 | cpu_get_indexed_operand_addr, cpu_get_indexed_operand8, | |
265 | cpu_get_indexed_operand16, cpu_dbcc, cpu_exg): Likewise. | |
266 | (cpu_ccr_update_tst8): Rename proc to cpu. | |
267 | * sim-main.h: Rename PROC and proc to cpu. | |
268 | ||
527aaa4a MF |
269 | 2016-08-13 Mike Frysinger <vapier@gentoo.org> |
270 | ||
271 | * dv-m68hc11eepr.c (attach_m68hc11eepr_regs): Drop cast with | |
272 | return value of hw_malloc. | |
273 | * dv-m68hc11sio.c (m68hc11sio_rx_poll): Mark static. | |
274 | (m68hc11sio_tx_poll): Likewise. | |
275 | * dv-m68hc11spi.c (m68hc11spi_clock): Likewise. | |
276 | * dv-m68hc11tim.c (m68hc11tim_timer_event): Likewise. | |
277 | * dv-nvram.c (attach_nvram_regs): Drop cast with | |
278 | return value of hw_malloc. | |
279 | * emulos.c (emul_bench): Mark static. | |
280 | (emul_write): Likewise. | |
281 | (emul_exit): Likewise. | |
282 | * gencode.c: Include stdio.h. | |
283 | (gen_function_entry): Unify two print lines. | |
284 | (cmp_opcode): Mark args const. | |
285 | ||
ce39bd38 MF |
286 | 2016-01-10 Mike Frysinger <vapier@gentoo.org> |
287 | ||
288 | * config.in, configure: Regenerate. | |
289 | ||
35656e95 MF |
290 | 2016-01-10 Mike Frysinger <vapier@gentoo.org> |
291 | ||
292 | * configure: Regenerate. | |
293 | ||
16f7876d MF |
294 | 2016-01-10 Mike Frysinger <vapier@gentoo.org> |
295 | ||
296 | * configure: Regenerate. | |
297 | ||
e19418e0 MF |
298 | 2016-01-10 Mike Frysinger <vapier@gentoo.org> |
299 | ||
300 | * configure: Regenerate. | |
301 | ||
99d8e879 MF |
302 | 2016-01-10 Mike Frysinger <vapier@gentoo.org> |
303 | ||
304 | * configure: Regenerate. | |
305 | ||
347fe5bb MF |
306 | 2016-01-10 Mike Frysinger <vapier@gentoo.org> |
307 | ||
308 | * configure.ac (SIM_AC_OPTION_INLINE): Delete call. | |
309 | * configure: Regenerate. | |
310 | ||
22be3fbe MF |
311 | 2016-01-10 Mike Frysinger <vapier@gentoo.org> |
312 | ||
313 | * configure: Regenerate. | |
314 | ||
0dc73ef7 MF |
315 | 2016-01-10 Mike Frysinger <vapier@gentoo.org> |
316 | ||
317 | * configure: Regenerate. | |
318 | ||
936df756 MF |
319 | 2016-01-09 Mike Frysinger <vapier@gentoo.org> |
320 | ||
321 | * config.in, configure: Regenerate. | |
322 | ||
2e3d4f4d MF |
323 | 2016-01-06 Mike Frysinger <vapier@gentoo.org> |
324 | ||
325 | * interp.c (sim_open): Mark argv const. | |
326 | (sim_create_inferior): Mark argv and env const. | |
327 | ||
9bbf6f91 MF |
328 | 2016-01-04 Mike Frysinger <vapier@gentoo.org> |
329 | ||
330 | * configure: Regenerate. | |
331 | ||
77cf2ef5 MF |
332 | 2016-01-03 Mike Frysinger <vapier@gentoo.org> |
333 | ||
334 | * interp.c (sim_open): Update sim_parse_args comment. | |
335 | ||
61971b86 MF |
336 | 2016-01-03 Mike Frysinger <vapier@gentoo.org> |
337 | ||
338 | * sim-main.h (sim_state): Delete devices member. | |
339 | ||
0cb8d851 MF |
340 | 2016-01-03 Mike Frysinger <vapier@gentoo.org> |
341 | ||
342 | * configure.ac (SIM_AC_OPTION_HOSTENDIAN): Delete. | |
343 | * configure: Regenerate. | |
344 | ||
1ac72f06 MF |
345 | 2016-01-02 Mike Frysinger <vapier@gentoo.org> |
346 | ||
347 | * configure.ac (SIM_AC_OPTION_ENDIAN): Change BIG_ENDIAN to BIG. | |
348 | * configure: Regenerate. | |
349 | ||
8e26d677 MF |
350 | 2015-12-30 Mike Frysinger <vapier@gentoo.org> |
351 | ||
352 | * configure.ac: Change LITTLE_ENDIAN to BIG_ENDIAN. | |
353 | * configure: Regenerate. | |
354 | ||
eca4255a MF |
355 | 2015-12-30 Mike Frysinger <vapier@gentoo.org> |
356 | ||
357 | * imterp.c (sim_open): Delete current_alignment and | |
358 | current_target_byte_order assignments. | |
359 | * configure.ac: Call SIM_AC_OPTION_ENDIAN. | |
360 | * configure: Regenerate. | |
361 | ||
e1211e55 MF |
362 | 2015-12-30 Mike Frysinger <vapier@gentoo.org> |
363 | ||
364 | * wrapper.c (m68hc11_reg_store, m68hc11_reg_fetch): Define. | |
365 | (sim_open): Call CPU_REG_FETCH/CPU_REG_STORE. | |
366 | (sim_store_register): Rename to ... | |
367 | (m68hc11_reg_store): ... this. Delete local cpu var. | |
368 | (sim_fetch_register): Rename to ... | |
369 | (m68hc11_reg_fetch): ... this. Delete local cpu var. | |
370 | ||
5e744ef8 MF |
371 | 2015-12-27 Mike Frysinger <vapier@gentoo.org> |
372 | ||
373 | * Makefile.in (SIM_OBJS): Delete sim-hload.o. | |
374 | ||
1b393626 MF |
375 | 2015-12-26 Mike Frysinger <vapier@gentoo.org> |
376 | ||
377 | * config.in, configure: Regenerate. | |
378 | ||
26936211 MF |
379 | 2015-12-24 Mike Frysinger <vapier@gentoo.org> |
380 | ||
381 | * sim-main.h (SIM_HANDLES_LMA): Delete. | |
382 | ||
84e8e361 MF |
383 | 2015-12-24 Mike Frysinger <vapier@gentoo.org> |
384 | ||
385 | * sim-main.h (WITH_WATCHPOINTS): Delete. | |
386 | ||
cdf850e9 MF |
387 | 2015-11-17 Mike Frysinger <vapier@gentoo.org> |
388 | ||
389 | * sim-main.h (WITH_MODULO_MEMORY): Delete. | |
390 | ||
797eee42 MF |
391 | 2015-11-15 Mike Frysinger <vapier@gentoo.org> |
392 | ||
393 | * Makefile.in (SIM_OBJS): Delete sim-reason.o and sim-stop.o. | |
394 | ||
d2dfd242 MF |
395 | 2015-11-14 Mike Frysinger <vapier@gentoo.org> |
396 | ||
397 | * Makefile.in (SIM_OBJS): Delete sim-load.o. | |
398 | ||
6e4f085c MF |
399 | 2015-11-14 Mike Frysinger <vapier@gentoo.org> |
400 | ||
401 | * interp.c (sim_close): Delete. | |
402 | ||
8d0978fb MF |
403 | 2015-06-23 Mike Frysinger <vapier@gentoo.org> |
404 | ||
405 | * configure: Regenerate. | |
406 | ||
a3487082 MF |
407 | 2015-06-12 Mike Frysinger <vapier@gentoo.org> |
408 | ||
409 | * configure: Regenerate. | |
410 | ||
306f4178 MF |
411 | 2015-06-12 Mike Frysinger <vapier@gentoo.org> |
412 | ||
413 | * configure: Regenerate. | |
414 | ||
09896bd2 MF |
415 | 2015-06-11 Mike Frysinger <vapier@gentoo.org> |
416 | ||
417 | * interp.c (interrupt_names): Delete. | |
418 | ||
a84f8df0 MF |
419 | 2015-06-11 Mike Frysinger <vapier@gentoo.org> |
420 | ||
421 | * Makefile.in (SIM_OBJS): Add sim-resume.o | |
422 | * interp.c (has_stepped, sim_resume): Delete. | |
423 | ||
5d19c366 MF |
424 | 2015-06-11 Mike Frysinger <vapier@gentoo.org> |
425 | ||
426 | * interp.c (INLINE): Delete define. | |
427 | ||
0a13382c NC |
428 | 2015-04-29 Nick Clifton <nickc@redhat.com> |
429 | ||
430 | PR 18273 | |
431 | * gencode.c (gen_fetch_operands): Remove unreachable code. | |
432 | ||
20bca71d MF |
433 | 2015-04-18 Mike Frysinger <vapier@gentoo.org> |
434 | ||
435 | * sim-main.h (SIM_CPU): Delete. | |
436 | ||
7e83aa92 MF |
437 | 2015-04-18 Mike Frysinger <vapier@gentoo.org> |
438 | ||
439 | * sim-main.h (sim_cia): Delete. | |
440 | ||
034685f9 MF |
441 | 2015-04-17 Mike Frysinger <vapier@gentoo.org> |
442 | ||
443 | * sim-main.h (CIA_GET, CIA_SET): Delete. | |
444 | ||
78e9aa70 MF |
445 | 2015-04-15 Mike Frysinger <vapier@gentoo.org> |
446 | ||
447 | * Makefile.in (SIM_OBJS): Delete sim-cpu.o. | |
448 | * sim-main.h (STATE_CPU): Delete. | |
449 | ||
bf12d44e MF |
450 | 2015-04-13 Mike Frysinger <vapier@gentoo.org> |
451 | ||
452 | * configure: Regenerate. | |
453 | ||
bea3f671 MF |
454 | 2015-04-13 Mike Frysinger <vapier@gentoo.org> |
455 | ||
456 | * Makefile.in (SIM_OBJS): Add sim-cpu.o. | |
457 | * interp.c (m68hc11_pc_get, m68hc11_pc_set): New functions. | |
458 | (sim_open): Declare new local var i. Call sim_cpu_alloc_all. | |
459 | Call CPU_PC_FETCH & CPU_PC_STORE for all cpus. | |
460 | (sim_pc_get): Delete. | |
461 | * sim-main.h (SIM_CPU): Define. | |
462 | (STATE_CPU): Drop &. | |
463 | (struct sim_state): Change cpu to an array of pointers. | |
464 | ||
122bbfb5 MF |
465 | 2015-04-06 Mike Frysinger <vapier@gentoo.org> |
466 | ||
467 | * Makefile.in (SIM_OBJS): Delete sim-engine.o and sim-hrw.o. | |
468 | ||
2b6ca062 MF |
469 | 2015-03-31 Mike Frysinger <vapier@gentoo.org> |
470 | ||
471 | * m68hc11_sim.c (cpu_get_indexed_operand_addr, | |
472 | cpu_get_indexed_operand8, cpu_get_indexed_operand16): Rename restrict | |
473 | variable to restricted. | |
474 | * sim-main.h (cpu_get_indexed_operand_addr): Likewise. | |
475 | ||
05f53ed6 MF |
476 | 2015-03-24 Mike Frysinger <vapier@gentoo.org> |
477 | ||
478 | * interp.c (sim_pc_get): New function. | |
479 | ||
523ba8f9 MF |
480 | 2015-03-24 Mike Frysinger <vapier@gentoo.org> |
481 | ||
482 | * compile.c (sim_set_profile, sim_set_profile_size, sim_set_callbacks, | |
483 | sim_size, sim_trace): Delete. | |
484 | * sim-main.h (sim_set_profile, sim_set_profile_size): Delete. | |
485 | ||
30452bbe MF |
486 | 2015-03-24 Mike Frysinger <vapier@gentoo.org> |
487 | ||
488 | * configure: Regenerate. | |
489 | ||
64dd13df MF |
490 | 2015-03-23 Mike Frysinger <vapier@gentoo.org> |
491 | ||
492 | * configure: Regenerate. | |
493 | ||
49cd1634 MF |
494 | 2015-03-23 Mike Frysinger <vapier@gentoo.org> |
495 | ||
496 | * configure: Regenerate. | |
497 | * configure.ac (m68hc11_extra_objs): Delete. | |
498 | * Makefile.in (SIM_OBJS): Delete SIM_EXTRA_OBJS. | |
499 | (SIM_EXTRA_OBJS): Delete. | |
500 | ||
ae7d0cac MF |
501 | 2015-03-16 Mike Frysinger <vapier@gentoo.org> |
502 | ||
503 | * config.in, configure: Regenerate. | |
504 | ||
465fb143 MF |
505 | 2015-03-14 Mike Frysinger <vapier@gentoo.org> |
506 | ||
507 | * Makefile.in (SIM_RUN_OBJS): Delete. | |
508 | ||
5cddc23a MF |
509 | 2015-03-14 Mike Frysinger <vapier@gentoo.org> |
510 | ||
511 | * configure.ac (AC_CHECK_HEADERS): Delete. | |
512 | * aclocal.m4, configure: Regenerate. | |
513 | ||
2974be62 AM |
514 | 2014-08-19 Alan Modra <amodra@gmail.com> |
515 | ||
516 | * configure: Regenerate. | |
517 | ||
faa743bb RM |
518 | 2014-08-15 Roland McGrath <mcgrathr@google.com> |
519 | ||
520 | * configure: Regenerate. | |
521 | * config.in: Regenerate. | |
522 | ||
1a8a700e MF |
523 | 2014-03-04 Mike Frysinger <vapier@gentoo.org> |
524 | ||
525 | * configure: Regenerate. | |
526 | ||
bf3d9781 AM |
527 | 2013-09-23 Alan Modra <amodra@gmail.com> |
528 | ||
529 | * configure: Regenerate. | |
530 | ||
31e6ad7d MF |
531 | 2013-06-03 Mike Frysinger <vapier@gentoo.org> |
532 | ||
533 | * aclocal.m4, configure: Regenerate. | |
534 | ||
d3685d60 TT |
535 | 2013-05-10 Freddie Chopin <freddie_chopin@op.pl> |
536 | ||
537 | * configure: Rebuild. | |
538 | ||
1517bd27 MF |
539 | 2013-03-26 Mike Frysinger <vapier@gentoo.org> |
540 | ||
541 | * configure: Regenerate. | |
542 | ||
256139f5 JS |
543 | 2013-03-23 Joel Sherrill <joel.sherrill@oarcorp.com> |
544 | ||
545 | * configure.ac: Use $SIM_DV_SOCKSER_O. | |
546 | * configure: Regenerated. | |
547 | ||
5f3ef9d0 JB |
548 | 2012-06-15 Joel Brobecker <brobecker@adacore.com> |
549 | ||
550 | * config.in, configure: Regenerate. | |
551 | ||
2232061b MF |
552 | 2012-03-24 Mike Frysinger <vapier@gentoo.org> |
553 | ||
554 | * aclocal.m4, config.in, configure: Regenerate. | |
555 | ||
db2e4d67 MF |
556 | 2011-12-03 Mike Frysinger <vapier@gentoo.org> |
557 | ||
558 | * aclocal.m4: New file. | |
559 | * configure: Regenerate. | |
560 | ||
4399a56b MF |
561 | 2011-10-19 Mike Frysinger <vapier@gentoo.org> |
562 | ||
563 | * configure: Regenerate after common/acinclude.m4 update. | |
564 | ||
9c082ca8 MF |
565 | 2011-10-17 Mike Frysinger <vapier@gentoo.org> |
566 | ||
567 | * configure.ac: Change include to common/acinclude.m4. | |
568 | ||
6ffe910a MF |
569 | 2011-10-17 Mike Frysinger <vapier@gentoo.org> |
570 | ||
571 | * configure.ac: Change AC_PREREQ to 2.64. Delete AC_CONFIG_HEADER | |
572 | call. Replace common.m4 include with SIM_AC_COMMON. | |
573 | * configure: Regenerate. | |
574 | ||
2419798b MF |
575 | 2011-07-05 Mike Frysinger <vapier@gentoo.org> |
576 | ||
577 | * interp.c (sim_do_command): Delete. | |
578 | ||
3725885a RW |
579 | 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
580 | ||
581 | * configure: Regenerate. | |
582 | ||
d6416cdc RW |
583 | 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
584 | ||
81ecdfbb RW |
585 | * config.in: Regenerate. |
586 | * configure: Likewise. | |
587 | ||
d6416cdc RW |
588 | * configure: Regenerate. |
589 | ||
b5bd9624 HPN |
590 | 2008-07-11 Hans-Peter Nilsson <hp@axis.com> |
591 | ||
592 | * configure: Regenerate to track ../common/common.m4 changes. | |
593 | * config.in: Ditto. | |
594 | ||
6efef468 | 595 | 2008-06-06 Vladimir Prus <vladimir@codesourcery.com> |
72f4393d L |
596 | Daniel Jacobowitz <dan@codesourcery.com> |
597 | Joseph Myers <joseph@codesourcery.com> | |
6efef468 JM |
598 | |
599 | * configure: Regenerate. | |
600 | ||
b1bfc053 HPN |
601 | 2006-12-21 Hans-Peter Nilsson <hp@axis.com> |
602 | ||
603 | * config.in: Regenerate. | |
604 | ||
e85e3205 RE |
605 | 2006-06-13 Richard Earnshaw <rearnsha@arm.com> |
606 | ||
607 | * configure: Regenerated. | |
608 | ||
2f0122dc DJ |
609 | 2006-06-05 Daniel Jacobowitz <dan@codesourcery.com> |
610 | ||
611 | * configure: Regenerated. | |
612 | ||
20e95c23 DJ |
613 | 2006-05-31 Daniel Jacobowitz <dan@codesourcery.com> |
614 | ||
615 | * configure: Regenerated. | |
616 | ||
b3a3ffef HPN |
617 | 2006-03-29 Hans-Peter Nilsson <hp@axis.com> |
618 | ||
619 | * configure: Regenerate. | |
620 | ||
2b193c4a MK |
621 | 2005-03-23 Mark Kettenis <kettenis@gnu.org> |
622 | ||
623 | * configure: Regenerate. | |
624 | ||
35695fd6 AC |
625 | 2005-01-14 Andrew Cagney <cagney@gnu.org> |
626 | ||
627 | * configure.ac: Sinclude aclocal.m4 before common.m4. Add | |
628 | explicit call to AC_CONFIG_HEADER. | |
629 | * configure: Regenerate. | |
630 | ||
38f48d72 AC |
631 | 2005-01-11 Andrew Cagney <cagney@localhost.localdomain> |
632 | ||
633 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
634 | ||
b7026657 AC |
635 | 2005-01-07 Andrew Cagney <cagney@gnu.org> |
636 | ||
637 | * configure.ac: Rename configure.in, require autoconf 2.59. | |
638 | * configure: Re-generate. | |
639 | ||
379832de HPN |
640 | 2004-12-08 Hans-Peter Nilsson <hp@axis.com> |
641 | ||
642 | * configure: Regenerate for ../common/aclocal.m4 update. | |
643 | ||
84b11e2e AM |
644 | 2004-06-15 Alan Modra <amodra@bigpond.net.au> |
645 | ||
646 | * interp.c (sim_prepare_for_program): Use bfd_get_section_size | |
647 | instead of bfd_get_section_size_before_reloc. | |
648 | ||
a685700c SC |
649 | 2003-08-08 Stephane Carrez <stcarrez@nerim.fr> |
650 | ||
651 | * dv-m68hc11tim.c (cycle_to_string): Add flags parameter to better | |
652 | control the translation. | |
653 | (m68hc11tim_print_timer): Update cycle_to_string conversion. | |
654 | (m68hc11tim_timer_event): Fix handling of output | |
655 | compare register with its interrupts. | |
656 | (m68hc11tim_io_write_buffer): Check output compare | |
657 | after setting M6811_TMSK1. | |
658 | (m68hc11tim_io_read_buffer): Fix compilation warning. | |
659 | * dv-m68hc11.c (m68hc11_option_handler): Likewise. | |
660 | * dv-m68hc11spi.c (m68hc11spi_info): Likewise. | |
661 | * dv-m68hc11sio.c (m68hc11sio_info): Likewise. | |
662 | * interrupts.c (interrupts_info): Likewise. | |
663 | (interrupts_reset): Recognize bootstrap mode. | |
664 | * sim-main.h (PRINT_CYCLE, PRINT_TIME): New defines. | |
665 | (_sim_cpu): Add cpu_start_mode. | |
666 | (cycle_to_string): Add flags member. | |
667 | * m68hc11_sim.c (OPTION_CPU_BOOTSTRAP): New option. | |
668 | (cpu_options): Declare new option bootstrap. | |
669 | (cpu_option_handler): Handle it. | |
670 | (cpu_info): Update call to cycle_to_string. | |
671 | ||
77342e5e SC |
672 | 2003-08-08 Stephane Carrez <stcarrez@nerim.fr> |
673 | ||
674 | * sim-main.h (phys_to_virt): Use memory bank parameters to translate | |
675 | the physical address in virtual address. | |
676 | (struct _sim_cpu): Add memory bank members. | |
677 | * m68hc11_sim.c (cpu_initialize): Clear memory bank parameters. | |
678 | * interp.c (sim_hw_configure): Create memory bank according to memory | |
679 | bank parameters. | |
680 | (sim_get_bank_parameters): New function to obtain memory bank config | |
681 | from the symbol table. | |
682 | (sim_prepare_for_program): Call it to obtain the memory bank parameters. | |
683 | (sim_open): Call sim_prepare_for_program. | |
684 | * dv-m68hc11.c (m68hc11cpu_io_write_buffer): Use memory bank parameters | |
685 | to check if address is within bank window. | |
686 | (m68hc11cpu_io_read_buffer): Likewise. | |
687 | (attach_m68hc11_regs): Map the memory bank according to memory bank | |
688 | parameters. | |
689 | ||
53b3cd22 SC |
690 | 2003-08-08 Stephane Carrez <stcarrez@nerim.fr>, |
691 | ||
692 | * sim-main.h (PAGE_REGNUM, Z_REGNUM): Use same numbering as gdb. | |
693 | ||
962e9d85 SC |
694 | 2003-08-08 Stephane Carrez <stcarrez@nerim.fr>, |
695 | Gary Piercey <gpiercey@northstar-technical.com> | |
696 | ||
697 | * m68hc11_sim.c (print_io_word): New function to print 16-bit value. | |
698 | * sim-main.h (print_io_word): Declare. | |
699 | * dv-m68hc11tim.c (tmsk1_desc): New description table for TMSK1. | |
700 | (tflg1_desc): Likewise for TFLG1. | |
701 | (m68hc11tim_info): Print input and output compare registers | |
702 | ||
9b9f7b3c SC |
703 | 2003-03-02 Stephane Carrez <stcarrez@nerim.fr> |
704 | ||
705 | * Makefile.in (SIM_EXTRA_CFLAGS): Set WITH_TARGET_ADDRESS_BITSIZE | |
706 | to 32 to support memory bank switching; temporarily use 32-bit for | |
707 | WORD_BITSIZE to avoid a bug in sim-common. | |
708 | ||
00416c6e SC |
709 | 2003-03-01 Stephane Carrez <stcarrez@nerim.fr> |
710 | ||
711 | * interp.c (sim_fetch_register): Only store a single byte for | |
712 | 1 byte registers. | |
713 | ||
6b4a8935 AC |
714 | 2003-02-27 Andrew Cagney <cagney@redhat.com> |
715 | ||
716 | * interp.c (sim_prepare_for_program, sim_open) | |
717 | (sim_create_inferior): Rename _bfd to bfd. | |
718 | ||
099d1b50 SC |
719 | 2002-08-13 Stephane Carrez <stcarrez@nerim.fr> |
720 | ||
721 | * dv-m68hc11eepr.c (struct m68hc11eepr ): Use const char* for filename. | |
722 | ||
31c7c532 SC |
723 | 2002-08-13 Marko Kohtala <marko.kohtala@luukku.com> |
724 | ||
72f4393d | 725 | * interp.c (sim_prepare_for_program): Look up the image for the |
31c7c532 SC |
726 | reset vector and set cpu_use_elf_start to 1 if not found. |
727 | (sim_open): Do not set cpu_use_elf_start. | |
728 | ||
39762100 SC |
729 | 2002-08-13 Marko Kohtala <marko.kohtala@luukku.com> |
730 | ||
731 | * interp.c (sim_hw_configure): Return 1 for success. | |
732 | (sim_prepare_for_program): Use the sim_hw_configure exit code to | |
733 | return SIM_RC_FAIL. | |
734 | ||
7230d809 SC |
735 | 2002-08-13 Stephane Carrez <stcarrez@nerim.fr> |
736 | ||
737 | * dv-m68hc11.c (m68hc11cpu_io_read_buffer): Translate memory | |
738 | bank window to some virtual address to read from extended memory. | |
739 | (m68hc11cpu_io_write_buffer): Likewise for writing. | |
ca156d78 | 740 | (attach_m68hc11_regs): When use_bank property is defined, attach |
7230d809 | 741 | to the 68HC12 16K memory bank window. |
7230d809 SC |
742 | * interp.c (sim_hw_configure): Create memory region for banked |
743 | memory. | |
744 | ||
dcceded2 SC |
745 | 2002-08-13 Stephane Carrez <Stephane.Carrez@nerim.fr> |
746 | ||
747 | * interp.c (sim_hw_configure): Connect port-X to cpu-write-port. | |
748 | * dv-m68hc11.c (m68hc11cpu_ports): Add cpu-write-port input. | |
749 | (m68hc11cpu_port_event): Handle CPU_WRITE_PORT event. | |
750 | ||
abea9e28 SC |
751 | 2002-08-13 Marko Kohtala <marko.kohtala@luukku.com> |
752 | ||
753 | * dv-m68hc11.c (m68hc11cpu_io_write): Fix to update IO mapping | |
754 | when IO mapping changed, not when internal RAM mapping is changed. | |
755 | ||
63f36def SC |
756 | 2002-08-13 Stephane Carrez <stcarrez@nerim.fr> |
757 | ||
758 | * m68hc11_sim.c (cpu_special): Handle call and rtc instructions. | |
759 | * sim-main.h (M6812_CALL_INDIRECT): Add to enum. | |
760 | (m6811_regs): Add page register. | |
761 | (cpu_set_page, cpu_get_page): New macros. | |
762 | (phys_to_virt): New function. | |
763 | (cpu_get_indexed_operand_addr, cpu_return): Declare. | |
764 | * gencode.c: Identify indirect addressing mode for call and fix daa. | |
72f4393d | 765 | (gen_function_entry): New param to tell if src8/dst8 locals are |
63f36def SC |
766 | necessary. |
767 | (gen_interpreter): Use it to avoid generation of unused variables. | |
768 | * interp.c (sim_fetch_register): Allow to read page register; page | |
769 | register, A, B and CCR are only 1 byte wide. | |
770 | (sim_store_register): Likewise for writing. | |
771 | ||
c8cca39f AC |
772 | 2002-06-16 Andrew Cagney <ac131313@redhat.com> |
773 | ||
774 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
775 | ||
3c25f8c7 AC |
776 | 2002-06-09 Andrew Cagney <cagney@redhat.com> |
777 | ||
778 | * Makefile.in (INCLUDE): Update path to callback.h. | |
779 | * sim-main.h: Include "gdb/callback.h" and "gdb/remote-sim.h". | |
780 | ||
86596dc8 SC |
781 | 2002-03-07 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
782 | ||
783 | * m68hc11_sim.c (cpu_move8): Call sim_engine_abort in default case. | |
784 | (cpu_move16): Likewise. | |
785 | (sim_memory_error): Use sim_io_printf. | |
786 | (cpu_option_handler): Fix compilation warning. | |
72f4393d | 787 | * interp.c (sim_hw_configure): Fix compilation warning; |
86596dc8 SC |
788 | remove m68hc12sio@2 device. |
789 | (sim_open): Likewise. | |
72f4393d | 790 | * dv-m68hc11tim.c (m68hc11tim_port_event): Fix clear of TFLG2 |
86596dc8 SC |
791 | flags when reset. |
792 | (cycle_to_string): Improve convertion of cpu cycle number. | |
793 | (m68hc11tim_info): Print info about PACNT. | |
794 | (m68hc11tim_io_write_buffer): Fix clearing of TFLG2; handle | |
795 | TCTL1 and TCTL2 registers. | |
796 | * dv-m68hc11.c (m68hc11_info): Print 6811 current running mode. | |
797 | ||
827ec39a SC |
798 | 2002-03-07 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
799 | ||
72f4393d | 800 | * interp.c (sim_hw_configure): Save the HW cpu pointer in the |
827ec39a SC |
801 | cpu struct. |
802 | (sim_hw_configure): Connect the capture input/output events. | |
803 | * sim-main.h (_sim_cpu): New member hw_cpu. | |
804 | (m68hc11cpu_set_oscillator): Declare. | |
805 | (m68hc11cpu_clear_oscillator): Declare. | |
806 | (m68hc11cpu_set_port): Declare. | |
807 | * dv-m68hc11.c (m68hc11_options): New for oscillator commands. | |
808 | (m68hc11cpu_ports): New input ports and output ports to reflect | |
809 | the HC11 IOs. | |
810 | (m68hc11_delete): Cleanup any running oscillator. | |
811 | (attach_m68hc11_regs): Create the input oscillators. | |
812 | (make_oscillator): New function. | |
813 | (find_oscillator): New function. | |
814 | (oscillator_handler): New function. | |
815 | (reset_oscillators): New function. | |
816 | (m68hc11cpu_port_event): Handle the new input ports. | |
817 | (m68hc11cpu_set_oscillator): New function. | |
818 | (m68hc11cpu_clear_oscillator): New function. | |
819 | (get_frequency): New function. | |
820 | (m68hc11_option_handler): New function. | |
821 | (m68hc11cpu_set_port): New function. | |
822 | (m68hc11cpu_io_write): Post the port output events. | |
823 | * dv-m68hc11spi.c (set_bit_port): Use m68hc11cpu_set_port to set | |
824 | the output port value. | |
825 | * dv-m68hc11tim.c (m68hc11tim_port_event): Handle CAPTURE event | |
826 | by latching the TCNT value in the register. | |
827 | ||
5abb9efa SC |
828 | 2002-03-07 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
829 | ||
830 | * sim-main.h (cpu_frame, cpu_frame_list): Remove. | |
831 | (cpu_frame_reg, cpu_print_frame): Remove. | |
832 | (cpu_m68hc11_push_uint8, cpu_m68hc11_pop_uint8): Cleanup. | |
833 | (cpu_m68hc11_push_uint16, cpu_m68hc11_pop_uint16): Likewise. | |
834 | (cpu_m68hc12_push_uint8, cpu_m68hc12_push_uint16): Likewise. | |
835 | (cpu_m68hc12_pop_uint8, cpu_m68hc12_pop_uint16): Likewise. | |
836 | * m68hc11_sim.c (cpu_find_frame): Remove. | |
837 | (cpu_create_frame_list): Remove. | |
838 | (cpu_remove_frame_list, cpu_create_frame, cpu_free_frame): Remove. | |
839 | (cpu_frame_reg, cpu_print_frame, cpu_update_frame): Remove. | |
840 | (cpu_call): Cleanup to remove #if HAVE_FRAME and calls to the above. | |
841 | (cpu_update_frame): Likewise. | |
842 | (cpu_return): Likewise. | |
843 | (cpu_reset): Likewise. | |
72f4393d | 844 | (cpu_initialize): Likewise. |
5abb9efa SC |
845 | * interp.c (sim_do_command): Remove call to cpu_print_frame. |
846 | ||
26128965 SC |
847 | 2002-03-07 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
848 | ||
849 | * interrupts.c (interrupts_reset): New function, setup interrupt | |
850 | vector address according to cpu mode. | |
851 | (interrupts_initialize): Move reset portion to the above. | |
852 | (interrupt_names): New table to give a name to interrupts. | |
853 | (idefs): Handle pulse accumulator interrupts. | |
854 | (interrupts_info): Print the interrupt history. | |
855 | (interrupt_option_handler): New function. | |
856 | (interrupt_options): New table of options. | |
857 | (interrupts_update_pending): Keep track of when interrupts are | |
858 | raised and implement breakpoint-on-raise-interrupt. | |
859 | (interrupts_process): Keep track of when interrupts are taken | |
860 | and implement breakpoint-on-interrupt. | |
861 | * interrupts.h (struct interrupt_history): Define. | |
862 | (struct interrupt): Keep track of the interrupt history. | |
863 | (interrupts_reset): Declare. | |
864 | (interrupts_initialize): Update prototype. | |
865 | * m68hc11_sim.c (cpu_reset): Reset interrupts. | |
866 | (cpu_initialize): Cleanup. | |
867 | ||
eefde351 SC |
868 | 2001-07-28 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
869 | ||
870 | * dv-m68hc11eepr.c (m68hc11eepr_info): Fix print of current write | |
871 | address. | |
872 | (m68hc11eepr_port_event): Fix detach/attach logic. | |
873 | ||
00d0c012 SC |
874 | 2001-07-22 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
875 | ||
876 | * Makefile.in (SIM_OBJS): Remove sim-resume.o | |
877 | * interp.c (sim_resume): New function from sim-resume.c, install | |
878 | the stepping event after having processed the pending ticks. | |
879 | (has_stepped): Likewise. | |
880 | (sim_info): Produce an output only if verbose or STATE_VERBOSE_P. | |
881 | ||
b51c7603 AC |
882 | 2001-07-10 Andrew Cagney <ac131313@redhat.com> |
883 | ||
884 | * Makefile.in (gencode): Provide explicit path to gencode.c. | |
885 | ||
81e09ed8 SC |
886 | 2001-05-20 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
887 | ||
888 | * Makefile.in (M68HC11_OBJS): Add m68hc12int.o. | |
889 | (m68hc12int.c): Generate using gencode -m6812. | |
890 | (m68hc11int.c): Likewise with -m6811. | |
891 | ||
892 | * gencode.c (m6811_opcode_patterns): New patterns for 68HC12. | |
893 | (m6811_page1_opcodes): Remove duplicate entries. | |
894 | (m6811_page2_opcodes): Likewise. | |
895 | (m6811_page3_opcodes): Likewise. | |
896 | (m6811_page4_opcodes): Likewise. | |
897 | (m6812_page1_opcodes): New table for 68HC12 instructions. | |
898 | (m6812_page2_opcodes): Likewise. | |
899 | (gen_fetch_operands): New modes [] and &[] for 68HC12 operands. | |
900 | (gen_save_result): Likewise. | |
901 | (gen_interpreter_for_table): Handle 68HC11 and 68HC12 opcodes. | |
902 | (cmp_opcode): New function for opcode comparision. | |
903 | (prepare_table): Sort the opcodes. | |
904 | (gen_interpreter): Prepare all the tables and generate either | |
905 | a 68HC11 or a 68HC12 simulator. | |
906 | (main): New options -m6811 and -m6812. | |
907 | ||
908 | * m68hc11_sim.c (cpu_single_step): Use pointer to cpu interpretor. | |
909 | (cpu_special): Simulation of some 68HC12 instructions. | |
910 | (cpu_exg): New function. | |
911 | (cpu_dbcc): Likewise. | |
912 | (cpu_fetch_relbranch16): Likewise. | |
913 | (cpu_push_all): Push according to 68HC11 or 68HC12. | |
914 | (cpu_move16): Likewise. | |
915 | (cpu_move8): Likewise. | |
916 | (cpu_get_indexed_operand16): Likewise. | |
917 | (cpu_get_indexed_operand8): Likewise. | |
918 | (cpu_get_indexed_operand_addr): Likewise. | |
919 | (cpu_set_reg, cpu_set_dst_reg, cpu_get_src_reg, cpu_get_reg): Likewise. | |
920 | (cpu_reset): Setup INIT register according to architecture. | |
72f4393d | 921 | |
81e09ed8 SC |
922 | * sim-main.h (M6811_Special): Add 68HC12 specific instructions. |
923 | (_sim_cpu): Keep track of the cpu being simulated. | |
924 | (cpu_get_tmp3, cpu_get_tmp2, cpu_set_tmp3, cpu_set_tmp2): New. | |
925 | (cpu_m68hc11_push_uintxx): Rename of cpu_push_uintxx. | |
926 | (cpu_m68hc11_pop_uint8): Likewise. | |
927 | (cpu_m68hc12_push_uintxx): New functions for 68HC12. | |
928 | (cpu_m68hc12_pop_uintxx): Likewise. | |
929 | (cpu_exg, cpu_dbcc, cpu_move8, cpu_move16): Likewise, | |
930 | (cpu_fetch_relbranch16): Likewise. | |
931 | (cpu_interp_m6811): Rename of cpu_interp. | |
72f4393d | 932 | (cpu_interp_m6812): New function. |
81e09ed8 SC |
933 | * interp.c (free_state): New function. |
934 | (dev_list_68hc12): New table. | |
935 | (sim_board_reset): Reset depending on the cpu (HC11 or HC12). | |
936 | (sim_hw_configure): New function. | |
937 | (sim_prepare_for_program): New function. | |
938 | (sim_open): Use above new functions. | |
939 | (sim_close): Call free_state(). | |
940 | (sim_info): Print info according to cpu. | |
941 | (sim_create_inferior): Use sim_prepare_for_program. | |
942 | (sim_do_command): Configure the hardware after a change of the | |
943 | architecture. | |
944 | ||
11115521 SC |
945 | 2001-05-20 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
946 | ||
947 | * dv-m68hc11sio.c (m68hc11sio_tx_poll): Always check for | |
948 | pending interrupts. | |
949 | * interrupts.c (interrupts_process): Keep track of the last number | |
950 | of masked insn cycles. | |
951 | (interrupts_initialize): Clear last number of masked insn cycles. | |
952 | (interrupts_info): Report them. | |
72f4393d L |
953 | (interrupts_update_pending): Compute clear and set masks of |
954 | interrupts and clear the interrupt bits before setting them | |
11115521 SC |
955 | (due to SCI interrupt sharing). |
956 | * interrupts.h (struct interrupts): New members last_mask_cycles | |
957 | and xirq_last_mask_cycles. | |
958 | ||
b93775f5 SC |
959 | 2000-11-26 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
960 | ||
961 | * dv-m68hc11.c (m68hc11cpu_io_read_buffer): Use attach_size | |
962 | instead of a hard-coded value. | |
963 | (m68hc11cpu_io_write_buffer): Likewise. | |
964 | (dv_m68hc11_descriptor): Define a 68hc12 device. | |
965 | * dv-m68hc11eepr.c (dv_m68hc11eepr_descriptor): Likewise. | |
966 | * dv-m68hc11tim.c (dv_m68hc11tim_descriptor): Likewise. | |
967 | * dv-m68hc11spi.c (dv_m68hc11spi_descriptor): Likewise. | |
968 | * dv-m68hc11sio.c (dv_m68hc11sio_descriptor): Likewise. | |
969 | ||
639aa4f7 SC |
970 | 2000-11-22 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
971 | ||
972 | * dv-m68hc11.c (attach_m68hc11_regs): Register a delete handler. | |
973 | (m68hc11cpu_delete): Delete handler to detach the address space. | |
974 | ||
6e73e7ed SC |
975 | 2000-11-24 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
976 | ||
977 | * dv-m68hc11eepr.c (attach_m68hc11eepr_regs): Use hw_malloc. | |
978 | * dv-nvram.c (attach_nvram_regs): Use hw_free and hw_malloc | |
979 | instead of free and malloc. | |
980 | ||
5f186447 SC |
981 | 2000-09-11 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
982 | ||
983 | * Makefile.in: Was missing from initial patch. | |
984 | ||
9830501b SC |
985 | 2000-09-10 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
986 | ||
987 | * interp.c (sim_store_register): Remove soft register hack. | |
988 | (sim_fetch_register): Likewise. | |
989 | (sim_create_inferior): Likewise. | |
990 | * sim-main.h: Likewise. | |
991 | ||
a8afa79a SC |
992 | 2000-09-10 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
993 | ||
994 | * interrupts.c (interrupts_update_pending): Clear the mask of | |
995 | pending interrupts here. | |
996 | (interrupts_get_current): Don't clear the mask of pending interrupts. | |
997 | ||
2990a9f4 SC |
998 | 2000-09-10 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
999 | ||
1000 | * sim-main.h: Define cycle_to_string. | |
72f4393d | 1001 | * dv-m68hc11tim.c (cycle_to_string): New function to translate |
2990a9f4 SC |
1002 | the cpu cycle into some formatted time string. |
1003 | (m68hc11tim_print_timer): Use it. | |
1004 | * dv-m68hc11sio.c (m68hc11sio_info): Use cycle_to_string. | |
1005 | * dv-m68hc11spi.c (m68hc11spi_info): Likewise. | |
1006 | * interrupts.c (interrupts_info): Likewise. | |
1007 | * m68hc11_sim.c (cpu_info): Likewise. | |
1008 | ||
401493c8 SC |
1009 | 2000-09-06 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
1010 | ||
1011 | * dv-m68hc11tim.c (m68hc11tim_timer_event): Compute the overflow | |
1012 | interrupt and compare events accurately. Take into account the | |
1013 | pending ticks not processed by the simulator yet (introduced a shift). | |
1014 | (m68hc11_port_event): Reset the timer interrupt delays. | |
1015 | (m68hc11tim_io_read_buffer): Be able to read several bytes. | |
1016 | (m68hc11tim_io_write_buffer): Likewise for write. | |
1017 | (m68hc11tim_io_write_buffer): Recompute the timer overflow interrupt. | |
1018 | ||
4d72d17a SC |
1019 | 2000-09-06 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
1020 | ||
1021 | * dv-m68hc11spi.c (m68hc11spi_io_read_buffer): Clear the interrupts. | |
1022 | (m68hc11spi_io_write_buffer): Likewise and fix the spi frame. | |
1023 | (m68hc11spi_info): Clarify the status report | |
1024 | of the SPI when a byte is being sent. | |
1025 | (m68hc11spi_clock): Fix the spi send frame. | |
72f4393d | 1026 | |
63348d04 SC |
1027 | 2000-08-11 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
1028 | ||
1029 | * sim-main.h (m68hc11_map_level): Define level of address mappings. | |
1030 | * dv-m68hc11eepr.c (struct m68hc11eepr ): New flag to indicate | |
1031 | whether the eeprom is currently mapped or not. | |
1032 | (m68hc11eepr_port_event): Use the flag to see if we must unmap | |
1033 | or map the eeprom. Update the flag to reflect the current state. | |
1034 | Use M6811_EEPROM_LEVEL when mapping the eeprom. | |
1035 | (m68hc11eepr_finish): Remove overlap hack. | |
1036 | (attach_m68hc11eepr_regs): Use M6811_IO_LEVEL when mapping the | |
1037 | config and control registers. | |
1038 | * dv-m68hc11.c (m68hc11cpu_finish): Remove overlap hack. | |
1039 | (attach_m68hc11_regs): Use M6811_IO_LEVEL. | |
1040 | (m68hc11cpu_io_write): Likewise when unmapping and re-mapping. | |
1041 | * dv-m68hc11spi.c (m68hc11spi_finish): Likewise. | |
1042 | (attach_m68hc11spi_regs): Likewise. | |
1043 | * dv-m68hc11tim.c (m68hc11tim_finish): Likewise. | |
1044 | (attach_m68hc11tim_regs): Likewise. | |
1045 | * dv-m68hc11sio.c (m68hc11sio_finish): Likewise. | |
1046 | (attach_m68hc11sio_regs): Likewise. | |
1047 | * interp.c (sim_open): Likewise. | |
1048 | * dv-nvram.c (attach_nvram_regs): Likewise. | |
1049 | ||
5d031c16 AC |
1050 | Thu Jul 27 21:27:25 2000 Andrew Cagney <cagney@b1.cygnus.com> |
1051 | ||
1052 | * configure, config.in: Regenerate. | |
1053 | ||
e0709f50 AC |
1054 | 2000-06-25 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
1055 | ||
1056 | * Makefile.in (SIM_RUN_OBJS): Define to use nrun.c | |
1057 | * dv-m68hc11.c (m68hc11cpu_finish): Register detach address callback. | |
1058 | (dv_m6811_detach_address_callback): New function to detach a | |
1059 | device from an address space. | |
1060 | * dv-m68hc11eepr.c (m68hc11eepr_port_event): Initialize | |
1061 | config register according to --cpu-config option. | |
1062 | * sim-main.h (_sim_cpu): Add cpu_config member. | |
1063 | * interp.c (sim_open): Delete specific simulator options. | |
1064 | * m68hc11_sim.c (cpu_option_handler): New options | |
1065 | --emulos and -cpu-config <val> to configure the simulator. | |
1066 | (cpu_initialize): Initialize cpu_config member. | |
1067 | ||
1068 | 2000-06-24 Stephane Carrez <Stephane.Carrez@worldnet.fr> | |
1069 | ||
1070 | * emulos.c: Fix indentation and comments. | |
1071 | * gencode.c: Likewise. | |
1072 | * dv-m68hc11tim.c (m68hc11tim_timer_event): Handle COMPARE_EVENT. | |
1073 | (m68hc11tim_io_write_buffer): Write compare registers and | |
1074 | setup compare event. | |
1075 | * interp.c: Remove unused global variables. | |
1076 | * interrupts.c (idefs): New compare interrupts. | |
1077 | Fix indentation and comments. | |
1078 | * interrupts.h: Likewise. | |
1079 | ||
1080 | 2000-06-18 Stephane Carrez <Stephane.Carrez@worldnet.fr> | |
1081 | ||
1082 | * dv-m68hc11sio.c: Fix indentation and comments. | |
1083 | Remove INT_PORT. | |
1084 | * dv-m68hc11.c: Fix indentation and comments. | |
1085 | (m68hc11cpu_port_event): Move initialization of M6811_HPRIO from here. | |
1086 | * m68hc11_sim.c (cpu_reset): To here. | |
1087 | * dv-m68hc11eepr.c: Fix indentation and comments. | |
72f4393d | 1088 | |
e0709f50 AC |
1089 | 2000-06-17 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
1090 | ||
1091 | * dv-nvram.c: New file, rename from dv-pram.c. | |
1092 | * dv-pram.c: Delete file. | |
1093 | * sim-main.h: Incorporate m68hc11_sim.h. | |
1094 | * m68hc11_sim.h: Delete file. | |
1095 | * configure.in: Rename pram into nvram. | |
1096 | * interp.c (sim_open): Likewise in creation of device tree. | |
72f4393d | 1097 | |
e0709f50 AC |
1098 | 2000-05-31 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
1099 | ||
1100 | * interp.c (sim_open): Create the SPI device. | |
1101 | * dv-m68hc11spi.c: New file for SPI device simulation. | |
1102 | * configure.in (hw_extra_devices): Add SPI device. | |
1103 | ||
1104 | 2000-05-28 Stephane Carrez <Stephane.Carrez@worldnet.fr> | |
1105 | ||
1106 | * interrupts.c (interrupts_initialize): Clear XIRQ accounting. | |
1107 | (interrupts_process): Separate IRQ and XIRQ accounting. | |
1108 | (interrupts_info): Report XIRQ accounting. | |
1109 | * interrupts.h (struct interrupts): Added accounting for XIRQ. | |
1110 | ||
1111 | 2000-04-16 Stephane Carrez <stcarrez@worldnet.fr> | |
1112 | ||
1113 | * dv-pram.c (attach_pram_regs): Fix the 'save-modified' mode. | |
1114 | * m68hc11_sim.h (_sim_cpu): Allow configuration of cpu mode. | |
72f4393d | 1115 | * dv-m68hc11.c (attach_m68hc11_regs): Get the cpu MODA,MODB |
e0709f50 AC |
1116 | configuration from the 'mode' device tree property. |
1117 | (m68hc11cpu_port_event): Reset M6811_HPRIO to the cpu MODA, MODB | |
1118 | configuration. | |
1119 | ||
1120 | 2000-02-24 Stephane Carrez <stcarrez@worldnet.fr> | |
1121 | ||
1122 | * sim-main.h: Remove WITH_TARGET_* defines. | |
1123 | * Makefile.in (SIM_EXTRA_CFLAGS): Specify the WITH_TARGET_* flags. | |
1124 | ||
1125 | 2000-02-08 Stephane Carrez <stcarrez@worldnet.fr> | |
1126 | ||
1127 | * dv-m68hc11sio.c (m68hc11sio_port_event): Setup the SCI to | |
1128 | 1200 baud when cpu is in bootstrap mode. | |
1129 | ||
1130 | * dv-m68hc11tim.c (m68hc11tim_io_write_buffer): Be able to | |
1131 | write in the TCTN timer register. | |
1132 | ||
1133 | * dv-m68hc11sio.c (m68hc11sio_io_write_buffer): Divide cpu clock | |
1134 | by 4 to obtain the E clock frequency. | |
1135 | (sccr2_desc): Use M6811_TIE for TIE bit. | |
1136 | (m68hc11sio_info): Fix baud rate report. | |
1137 | ||
1138 | * dv-m68hc11tim.c (to_realtime): Likewise. | |
1139 | ||
1140 | * interp.c (sim_open): When building device tree, only provide | |
1141 | devices that do not exist yet. | |
1142 | ||
1143 | * emulos.c: Fix compilation pb under Windows. | |
1144 | ||
1145 | * dv-m68hc11.c (attach_m68hc11_regs): Get the clock frequency | |
1146 | from the 'clock' property. | |
1147 | ||
1148 | 2000-01-02 Stephane Carrez <stcarrez@worldnet.fr> | |
1149 | ||
1150 | * m68hc11_sim.h (*_REGNUM): Define. | |
1151 | (_sim_cpu): New member cpu_page0_reg table. | |
1152 | * interp.c (sim_create_inferior): Fill the cpu_page0_reg table with | |
1153 | addresses of soft registers in .page0. | |
72f4393d | 1154 | (sim_fetch_register, sim_store_register): Use cpu_page0_reg table |
e0709f50 AC |
1155 | to get/set soft registers. |
1156 | ||
1157 | 1999-12-31 Stephane Carrez <stcarrez@worldnet.fr> | |
1158 | ||
1159 | * dv-m68hc11.c (m68hc11cpu_io_write_buffer): Clear byte to avoid | |
1160 | returning random values. | |
1161 | ||
1162 | 1999-12-17 Stephane Carrez <stcarrez@worldnet.fr> | |
1163 | ||
1164 | * gencode.c: Fix "subb N,x" that used a instead of b. | |
1165 | ||
1166 | 1999-09-09 Stephane Carrez <stcarrez@worldnet.fr> | |
1167 | ||
1168 | * gencode.c: Fixed sbc8 and adc8 when there was a initial carry. | |
1169 | ||
1170 | 1999-09-01 Stephane Carrez <stcarrez@worldnet.fr> | |
1171 | ||
1172 | * sim-main.h (SIM_HANDLES_LMA): Define to enable loading using lma. | |
1173 | ||
1174 | 1999-08-14 Stephane Carrez <stcarrez@worldnet.fr> | |
1175 | ||
1176 | * dv-m68hc11.c (attach_m68hc11_regs): Save the size of the | |
1177 | register region in the m68hc11cpu struct. | |
1178 | (m68hc11cpu_io_write): When the IO mapping addres changes, | |
1179 | detach the register region and re-attach it at the new address. | |
1180 | (m68hc11cpu_io_read_buffer): Renamed base_address into | |
1181 | attach_address. | |
1182 | (m68hc11cpu_io_write_buffer): Likewise. Pass the hw pointer | |
1183 | to m68hc11cpu_io_write. | |
1184 | ||
1185 | 1999-08-13 Stephane Carrez <stcarrez@worldnet.fr> | |
1186 | ||
1187 | * gencode.c: For sbc8, check the carry and increment the source | |
1188 | before trying to set the carry for the result. | |
1189 | ||
1190 | 1999-05-24 John S. Kallal <kallal@voicenet.com> | |
72f4393d | 1191 | |
e0709f50 AC |
1192 | * interp.c (sim_get_info): Don't crash if the command line is 0. |
1193 | Define prototype for sim_get_info() and init_system(). | |
1194 | (sim_info): Correct call to sim_get_info(). | |
72f4393d | 1195 | |
e0709f50 AC |
1196 | 1999-05-16 Stephane Carrez <stcarrez@worldnet.fr> |
1197 | ||
1198 | * configure.in: Recognize m6811-*-*. | |
1199 | * configure: Regenerate. | |
1200 | * m68hc11_sim.h (cpu_ccr_update_add8, cpu_ccr_update_add16, | |
1201 | cpu_ccr_update_sub8, cpu_ccr_update_sub16): | |
1202 | Correct the computation of carry of 8 and 16-bits add and subtract. | |
1203 | * gencode.c: Use cpu_ccr_update_sub8 for subtraction (carry and | |
1204 | overflow set in a different manner than add). | |
1205 | ||
1206 | 1999-05-14 Stephane Carrez <stcarrez@worldnet.fr> | |
1207 | ||
1208 | * dv-m68hc11.c (dv_m6811_attach_address_callback): Removed a | |
1209 | trace message. | |
1210 | * interp.c (sim_open, sim_create_inferior): Initialize the | |
1211 | cpu_elf_start from the ELF header. | |
1212 | * m68hc11_sim.c (cpu_initialize): Clear the new data members. | |
1213 | (cpu_restart): Use cpu_elf_start as the starting address when | |
1214 | the flag is set. | |
1215 | (cpu_special): When cpu_use_elf_start is set, the WAI instruction | |
1216 | exits the simulator (exit status is in D). | |
1217 | * m68hc11_sim.h (_sim_cpu): Added members cpu_use_elf_start and | |
1218 | cpu_elf_star to start execution at address specified in ELF file. | |
1219 | ||
1220 | 1999-05-02 Stephane Carrez <stcarrez@worldnet.fr> | |
1221 | ||
1222 | * Makefile.in, config.in, configure, configure.in: New files. | |
1223 | * gencode.c: New file, generation of 68HC11 interpreter. | |
1224 | * m68hc11_sim.h, m68hc11_sim.c: New files, specific operations | |
1225 | for interpreter. | |
1226 | * interrupts.c, interrupts.h: New files, management of interrupts. | |
72f4393d | 1227 | * interp.c, sim-main.h, |
e0709f50 AC |
1228 | * dv-m68hc11.c, dv-m68hc11eepr.c, dv-m68hc11sio.c, |
1229 | dv-m68hc11tim.c, dv-pram.c: New files representing devices for | |
1230 | 68HC11 (dv-pram.c is generic and could probably migrate to common). | |
1231 | * emulos.c: New file, basic emulation of some os. |