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