Automatic date update in version.in
[binutils-gdb.git] / sim / m68hc11 / ChangeLog-2021
blobc79a4e7053fea2f7cc2dd5cf67af60037a353612
1 2021-06-22  Mike Frysinger  <vapier@gentoo.org>
3         * configure.ac: Removed.
4         * aclocal.m4: Removed.
5         * configure: Removed.
7 2021-06-21  Mike Frysinger  <vapier@gentoo.org>
9         * aclocal.m4: Regenerate.
10         * configure: Regenerate.
12 2021-06-21  Mike Frysinger  <vapier@gentoo.org>
14         * Makefile.in (SIM_EXTRA_HW_DEVICES): Define.
15         * configure.ac (SIM_AC_OPTION_HARDWARE): Delete call.
16         * configure: Regenerate.
18 2021-06-20  Mike Frysinger  <vapier@gentoo.org>
20         * configure.ac (SIM_AC_COMMON): Delete.
21         * aclocal.m4, configure: Regenerate.
23 2021-06-20  Mike Frysinger  <vapier@gentoo.org>
25         * aclocal.m4: Regenerate.
26         * configure: Regenerate.
28 2021-06-20  Mike Frysinger  <vapier@gentoo.org>
30         * sim-main.h: Add UNUSED to all STATIC_INLINE functions.
32 2021-06-20  Mike Frysinger  <vapier@gentoo.org>
34         * aclocal.m4: Regenerate.
35         * configure: Regenerate.
37 2021-06-19  Mike Frysinger  <vapier@gentoo.org>
39         * aclocal.m4: Regenerate.
40         * configure: Regenerate.
42 2021-06-19  Mike Frysinger  <vapier@gentoo.org>
44         * configure: Regenerate.
46 2021-06-18  Mike Frysinger  <vapier@gentoo.org>
48         * aclocal.m4, configure: Regenerate.
50 2021-06-18  Mike Frysinger  <vapier@gentoo.org>
52         * configure: Regenerate.
54 2021-06-18  Mike Frysinger  <vapier@gentoo.org>
56         * dv-m68hc11eepr.c: Include sim-signal.h.
57         * interrupts.c, m68hc11_sim.c: Likewise.
58         * sim-main.h: Delete sim-signal.h include.
60 2021-06-17  Mike Frysinger  <vapier@gentoo.org>
62         * configure.ac: Delete SIM_AC_OPTION_ENDIAN call.
63         * interp.c (sim_open): Set current_target_byte_order.
64         * aclocal.m4, configure: Regenerate.
66 2021-06-17  Mike Frysinger  <vapier@gentoo.org>
68         * sim-main.h: Delete sim/callback.h include.
70 2021-06-16  Mike Frysinger  <vapier@gentoo.org>
72         * configure: Regenerate.
74 2021-06-16  Mike Frysinger  <vapier@gentoo.org>
76         * configure: Regenerate.
77         * config.in: Removed.
79 2021-06-15  Mike Frysinger  <vapier@gentoo.org>
81         * config.in, configure: Regenerate.
83 2021-06-12  Mike Frysinger  <vapier@gentoo.org>
85         * configure.ac: Delete call to SIM_AC_OPTION_ALIGNMENT.
87 2021-06-12  Mike Frysinger  <vapier@gentoo.org>
89         * aclocal.m4, config.in, configure: Regenerate.
91 2021-06-12  Mike Frysinger  <vapier@gentoo.org>
93         * config.in, configure: Regenerate.
95 2021-05-17  Mike Frysinger  <vapier@gentoo.org>
97         * sim-main.h (SIM_HAVE_COMMON_SIM_STATE): Delete.
99 2021-05-17  Mike Frysinger  <vapier@gentoo.org>
101         * sim-main.h (SIM_HAVE_COMMON_SIM_STATE): Define.
102         (struct sim_state): Delete.
104 2021-05-16  Mike Frysinger  <vapier@gentoo.org>
106         * dv-m68hc11.c, dv-m68hc11eepr.c, dv-m68hc11sio.c, dv-m68hc11spi.c,
107         dv-m68hc11tim.c, dv-nvram.c, emulos.c, gencode.c, interp.c,
108         interrupts.c, m68hc11_sim.c: Include defs.h.
110 2021-05-16  Mike Frysinger  <vapier@gentoo.org>
112         * config.in, configure: Regenerate.
114 2021-05-14  Mike Frysinger  <vapier@gentoo.org>
116         * sim-main.h: Update include path.
118 2021-05-07  Mike Frysinger  <vapier@gentoo.org>
120         * dv-m68hc11tim.c (cycle_to_string): Increase buf to 128 bytes.
121         Merge two sprintf buf calls.
123 2021-05-06  Mike Frysinger  <vapier@gentoo.org>
125         * interp.c (sim_hw_configure): Change %lx to %x in format strings.
126         * configure.ac: Delete SIM_AC_OPTION_WARNINGS call.
127         * configure: Regenerate.
129 2021-05-06  Mike Frysinger  <vapier@gentoo.org>
131         * emulos.c: Include errno.h & stdio.h.
132         (emul_write): Print a warning when the write fails.
134 2021-05-04  Mike Frysinger  <vapier@gentoo.org>
136         * dv-m68hc11.c (struct m68hc11cpu): Change attach_size to unsigned int.
137         * dv-m68hc11sio.c (m68hc11sio_tx_poll): Cast buffer to const char*.
139 2021-05-04  Mike Frysinger  <vapier@gentoo.org>
141         * configure: Regenerate.
143 2021-05-01  Mike Frysinger  <vapier@gentoo.org>
145         * config.in, configure: Regenerate.
147 2021-04-23  Mike Frysinger  <vapier@gentoo.org>
149         * configure.ac (SIM_AC_OPTION_HARDWARE): Delete first two args.
150         * configure: Regenerate.
152 2021-04-22  Tom Tromey  <tom@tromey.com>
154         * configure, config.in: Rebuild.
156 2021-04-22  Tom Tromey  <tom@tromey.com>
158         * Makefile.in (INCLUDE): Remove.
160 2021-04-22  Tom Tromey  <tom@tromey.com>
162         * Makefile.in (interp.o): Remove.
164 2021-04-22  Tom Tromey  <tom@tromey.com>
166         * configure: Rebuild.
168 2021-04-21  Mike Frysinger  <vapier@gentoo.org>
170         * aclocal.m4: Regenerate.
172 2021-04-21  Simon Marchi  <simon.marchi@polymtl.ca>
174         * configure: Regenerate.
176 2021-04-18  Mike Frysinger  <vapier@gentoo.org>
178         * configure: Regenerate.
180 2021-04-12  Mike Frysinger  <vapier@gentoo.org>
182         * interp.c (sim_open): Delete 3rd arg to sim_cpu_alloc_all.
184 2021-04-02  Mike Frysinger  <vapier@gentoo.org>
186         * aclocal.m4, configure: Regenerate.
188 2021-03-13  Mike Frysinger  <vapier@gentoo.org>
190         * Makefile.in (gencode.o): New rule.
191         (gencode): Call LINK_FOR_BUILD.
193 2021-02-28  Mike Frysinger  <vapier@gentoo.org>
195         * configure: Regenerate.
197 2021-02-21  Mike Frysinger  <vapier@gentoo.org>
199         * configure.ac (AC_CONFIG_MACRO_DIRS): Replace common with m4.
200         * aclocal.m4, configure: Regenerate.
202 2021-02-13  Mike Frysinger  <vapier@gentoo.org>
204         * configure.ac: Replace sinclude with AC_CONFIG_MACRO_DIRS.
205         * aclocal.m4, configure: Regenerate.
207 2021-02-06  Mike Frysinger  <vapier@gentoo.org>
209         * configure: Regenerate.
211 2021-01-30  Mike Frysinger  <vapier@gentoo.org>
213         * dv-m68hc11tim.c (cycle_to_string): Change llu to PRIi64.
215 2021-01-30  Mike Frysinger  <vapier@gentoo.org>
217         * m68hc11_sim.c (cpu_set_sp): Add static markings.
218         (cpu_get_reg, cpu_get_src_reg, cpu_set_dst_reg,
219         cpu_get_indexed_operand_addr, cpu_get_indexed_operand8): Likewise.
221 2021-01-30  Mike Frysinger  <vapier@gentoo.org>
223         * interp.c (sim_get_info, sim_board_reset): Pass %s to sim_hw_parse.
225 2021-01-30  Mike Frysinger  <vapier@gentoo.org>
227         * dv-m68hc11.c, m68hc11_sim.c: Include stdlib.h.
229 2021-01-30  Mike Frysinger  <vapier@gentoo.org>
231         * configure.ac (SIM_AC_OPTION_HARDWARE): Inline variables.
232         * configure: Regenerate.
234 2021-01-11  Mike Frysinger  <vapier@gentoo.org>
236         * config.in, configure: Regenerate.
238 2021-01-09  Mike Frysinger  <vapier@gentoo.org>
240         * configure: Regenerate.
242 2021-01-09  Mike Frysinger  <vapier@gentoo.org>
244         * configure.ac (SIM_AC_OPTION_WARNINGS): Pass "no".
245         * configure: Regenerate.
247 2021-01-08  Mike Frysinger  <vapier@gentoo.org>
249         * configure: Regenerate.
251 2021-01-04  Mike Frysinger  <vapier@gentoo.org>
253         * configure: Regenerate.
255 2017-09-06  John Baldwin  <jhb@FreeBSD.org>
257         * configure: Regenerate.
259 2017-02-13  Mike Frysinger  <vapier@gentoo.org>
261         * gencode.c: Include libiberty.h.
262         (TABLE_SIZE): Delete.
263         (find_opcode_pattern): Change TABLE_SIZE to ARRAY_SIZE.
264         (gen_interpreter): Likewise.
265         * interrupts.c (TableSize): Delete.
266         (interrupts_update_pending): Change TableSize to ARRAY_SIZE.
268 2016-08-16  Mike Frysinger  <vapier@gentoo.org>
270         * sim-main.h (inline): Delete define.
271         (phys_to_virt): Change inline to STATIC_INLINE.
272         (memory_read8, memory_write8, memory_read16, memory_write16,
273         cpu_ccr_update_tst16, cpu_ccr_update_shift8, cpu_ccr_update_shift16,
274         cpu_ccr_update_add8, cpu_ccr_update_sub8, cpu_ccr_update_add16,
275         cpu_ccr_update_sub16, cpu_m68hc11_push_uint8, cpu_m68hc11_push_uint16,
276         cpu_m68hc11_pop_uint8, cpu_m68hc11_pop_uint16, cpu_m68hc12_push_uint8,
277         cpu_m68hc12_push_uint16, cpu_m68hc12_pop_uint8,
278         cpu_m68hc12_pop_uint16, cpu_fetch8, cpu_fetch16): Likewise.
280 2016-08-15  Mike Frysinger  <vapier@gentoo.org>
282         * interp.c (sim_get_bank_parameters): Delete abfd arg.
283         Replace all symbol lookup code with calls to trace_sym_value.
284         (sim_prepare_for_program): Update sim_get_bank_parameters call.
286 2016-08-13  Mike Frysinger  <vapier@gentoo.org>
288         * dv-m68hc11.c (m68hc11cpu_port_event): Adjust cpu prototype style.
289         * dv-m68hc11spi.c (m68hc11spi_port_event): Likewise.
290         * dv-m68hc11tim.c (m68hc11tim_print_timer): Likewise.
291         * emulos.c (emul_bench): Likewise.
292         (emul_write): Likewise.  Also rename state to cpu.
293         (emul_os): Rename proc to cpu.
294         * gencode.c: Rename proc to cpu.
295         * interrupts.c (interrupts_initialize): Likewise.
296         * interrupts.h (interrupts): Adjust cpu type.
297         (interrupts_initialize): Likewise.
298         * m68hc11_sim.c (cpu_get_reg): Adjust cpu prototype style.
299         (cpu_get_src_reg, cpu_set_dst_reg, cpu_set_reg,
300         cpu_get_indexed_operand_addr, cpu_get_indexed_operand8,
301         cpu_get_indexed_operand16, cpu_dbcc, cpu_exg): Likewise.
302         (cpu_ccr_update_tst8): Rename proc to cpu.
303         * sim-main.h: Rename PROC and proc to cpu.
305 2016-08-13  Mike Frysinger  <vapier@gentoo.org>
307         * dv-m68hc11eepr.c (attach_m68hc11eepr_regs): Drop cast with
308         return value of hw_malloc.
309         * dv-m68hc11sio.c (m68hc11sio_rx_poll): Mark static.
310         (m68hc11sio_tx_poll): Likewise.
311         * dv-m68hc11spi.c (m68hc11spi_clock): Likewise.
312         * dv-m68hc11tim.c (m68hc11tim_timer_event): Likewise.
313         * dv-nvram.c (attach_nvram_regs): Drop cast with
314         return value of hw_malloc.
315         * emulos.c (emul_bench): Mark static.
316         (emul_write): Likewise.
317         (emul_exit): Likewise.
318         * gencode.c: Include stdio.h.
319         (gen_function_entry): Unify two print lines.
320         (cmp_opcode): Mark args const.
322 2016-01-10  Mike Frysinger  <vapier@gentoo.org>
324         * config.in, configure: Regenerate.
326 2016-01-10  Mike Frysinger  <vapier@gentoo.org>
328         * configure: Regenerate.
330 2016-01-10  Mike Frysinger  <vapier@gentoo.org>
332         * configure: Regenerate.
334 2016-01-10  Mike Frysinger  <vapier@gentoo.org>
336         * configure: Regenerate.
338 2016-01-10  Mike Frysinger  <vapier@gentoo.org>
340         * configure: Regenerate.
342 2016-01-10  Mike Frysinger  <vapier@gentoo.org>
344         * configure.ac (SIM_AC_OPTION_INLINE): Delete call.
345         * configure: Regenerate.
347 2016-01-10  Mike Frysinger  <vapier@gentoo.org>
349         * configure: Regenerate.
351 2016-01-10  Mike Frysinger  <vapier@gentoo.org>
353         * configure: Regenerate.
355 2016-01-09  Mike Frysinger  <vapier@gentoo.org>
357         * config.in, configure: Regenerate.
359 2016-01-06  Mike Frysinger  <vapier@gentoo.org>
361         * interp.c (sim_open): Mark argv const.
362         (sim_create_inferior): Mark argv and env const.
364 2016-01-04  Mike Frysinger  <vapier@gentoo.org>
366         * configure: Regenerate.
368 2016-01-03  Mike Frysinger  <vapier@gentoo.org>
370         * interp.c (sim_open): Update sim_parse_args comment.
372 2016-01-03  Mike Frysinger  <vapier@gentoo.org>
374         * sim-main.h (sim_state): Delete devices member.
376 2016-01-03  Mike Frysinger  <vapier@gentoo.org>
378         * configure.ac (SIM_AC_OPTION_HOSTENDIAN): Delete.
379         * configure: Regenerate.
381 2016-01-02  Mike Frysinger  <vapier@gentoo.org>
383         * configure.ac (SIM_AC_OPTION_ENDIAN): Change BIG_ENDIAN to BIG.
384         * configure: Regenerate.
386 2015-12-30  Mike Frysinger  <vapier@gentoo.org>
388         * configure.ac: Change LITTLE_ENDIAN to BIG_ENDIAN.
389         * configure: Regenerate.
391 2015-12-30  Mike Frysinger  <vapier@gentoo.org>
393         * imterp.c (sim_open): Delete current_alignment and
394         current_target_byte_order assignments.
395         * configure.ac: Call SIM_AC_OPTION_ENDIAN.
396         * configure: Regenerate.
398 2015-12-30  Mike Frysinger  <vapier@gentoo.org>
400         * wrapper.c (m68hc11_reg_store, m68hc11_reg_fetch): Define.
401         (sim_open): Call CPU_REG_FETCH/CPU_REG_STORE.
402         (sim_store_register): Rename to ...
403         (m68hc11_reg_store): ... this.  Delete local cpu var.
404         (sim_fetch_register): Rename to ...
405         (m68hc11_reg_fetch): ... this.  Delete local cpu var.
407 2015-12-27  Mike Frysinger  <vapier@gentoo.org>
409         * Makefile.in (SIM_OBJS): Delete sim-hload.o.
411 2015-12-26  Mike Frysinger  <vapier@gentoo.org>
413         * config.in, configure: Regenerate.
415 2015-12-24  Mike Frysinger  <vapier@gentoo.org>
417         * sim-main.h (SIM_HANDLES_LMA): Delete.
419 2015-12-24  Mike Frysinger  <vapier@gentoo.org>
421         * sim-main.h (WITH_WATCHPOINTS): Delete.
423 2015-11-17  Mike Frysinger  <vapier@gentoo.org>
425         * sim-main.h (WITH_MODULO_MEMORY): Delete.
427 2015-11-15  Mike Frysinger  <vapier@gentoo.org>
429         * Makefile.in (SIM_OBJS): Delete sim-reason.o and sim-stop.o.
431 2015-11-14  Mike Frysinger  <vapier@gentoo.org>
433         * Makefile.in (SIM_OBJS): Delete sim-load.o.
435 2015-11-14  Mike Frysinger  <vapier@gentoo.org>
437         * interp.c (sim_close): Delete.
439 2015-06-23  Mike Frysinger  <vapier@gentoo.org>
441         * configure: Regenerate.
443 2015-06-12  Mike Frysinger  <vapier@gentoo.org>
445         * configure: Regenerate.
447 2015-06-12  Mike Frysinger  <vapier@gentoo.org>
449         * configure: Regenerate.
451 2015-06-11  Mike Frysinger  <vapier@gentoo.org>
453         * interp.c (interrupt_names): Delete.
455 2015-06-11  Mike Frysinger  <vapier@gentoo.org>
457         * Makefile.in (SIM_OBJS): Add sim-resume.o
458         * interp.c (has_stepped, sim_resume): Delete.
460 2015-06-11  Mike Frysinger  <vapier@gentoo.org>
462         * interp.c (INLINE): Delete define.
464 2015-04-29  Nick Clifton  <nickc@redhat.com>
466         PR 18273
467         * gencode.c (gen_fetch_operands): Remove unreachable code.
469 2015-04-18  Mike Frysinger  <vapier@gentoo.org>
471         * sim-main.h (SIM_CPU): Delete.
473 2015-04-18  Mike Frysinger  <vapier@gentoo.org>
475         * sim-main.h (sim_cia): Delete.
477 2015-04-17  Mike Frysinger  <vapier@gentoo.org>
479         * sim-main.h (CIA_GET, CIA_SET): Delete.
481 2015-04-15  Mike Frysinger  <vapier@gentoo.org>
483         * Makefile.in (SIM_OBJS): Delete sim-cpu.o.
484         * sim-main.h (STATE_CPU): Delete.
486 2015-04-13  Mike Frysinger  <vapier@gentoo.org>
488         * configure: Regenerate.
490 2015-04-13  Mike Frysinger  <vapier@gentoo.org>
492         * Makefile.in (SIM_OBJS): Add sim-cpu.o.
493         * interp.c (m68hc11_pc_get, m68hc11_pc_set): New functions.
494         (sim_open): Declare new local var i.  Call sim_cpu_alloc_all.
495         Call CPU_PC_FETCH & CPU_PC_STORE for all cpus.
496         (sim_pc_get): Delete.
497         * sim-main.h (SIM_CPU): Define.
498         (STATE_CPU): Drop &.
499         (struct sim_state): Change cpu to an array of pointers.
501 2015-04-06  Mike Frysinger  <vapier@gentoo.org>
503         * Makefile.in (SIM_OBJS): Delete sim-engine.o and sim-hrw.o.
505 2015-03-31  Mike Frysinger  <vapier@gentoo.org>
507         * m68hc11_sim.c (cpu_get_indexed_operand_addr,
508         cpu_get_indexed_operand8, cpu_get_indexed_operand16): Rename restrict
509         variable to restricted.
510         * sim-main.h (cpu_get_indexed_operand_addr): Likewise.
512 2015-03-24  Mike Frysinger  <vapier@gentoo.org>
514         * interp.c (sim_pc_get): New function.
516 2015-03-24  Mike Frysinger  <vapier@gentoo.org>
518         * compile.c (sim_set_profile, sim_set_profile_size, sim_set_callbacks,
519         sim_size, sim_trace): Delete.
520         * sim-main.h (sim_set_profile, sim_set_profile_size): Delete.
522 2015-03-24  Mike Frysinger  <vapier@gentoo.org>
524         * configure: Regenerate.
526 2015-03-23  Mike Frysinger  <vapier@gentoo.org>
528         * configure: Regenerate.
530 2015-03-23  Mike Frysinger  <vapier@gentoo.org>
532         * configure: Regenerate.
533         * configure.ac (m68hc11_extra_objs): Delete.
534         * Makefile.in (SIM_OBJS): Delete SIM_EXTRA_OBJS.
535         (SIM_EXTRA_OBJS): Delete.
537 2015-03-16  Mike Frysinger  <vapier@gentoo.org>
539         * config.in, configure: Regenerate.
541 2015-03-14  Mike Frysinger  <vapier@gentoo.org>
543         * Makefile.in (SIM_RUN_OBJS): Delete.
545 2015-03-14  Mike Frysinger  <vapier@gentoo.org>
547         * configure.ac (AC_CHECK_HEADERS): Delete.
548         * aclocal.m4, configure: Regenerate.
550 2014-08-19  Alan Modra  <amodra@gmail.com>
552         * configure: Regenerate.
554 2014-08-15  Roland McGrath  <mcgrathr@google.com>
556         * configure: Regenerate.
557         * config.in: Regenerate.
559 2014-03-04  Mike Frysinger  <vapier@gentoo.org>
561         * configure: Regenerate.
563 2013-09-23  Alan Modra  <amodra@gmail.com>
565         * configure: Regenerate.
567 2013-06-03  Mike Frysinger  <vapier@gentoo.org>
569         * aclocal.m4, configure: Regenerate.
571 2013-05-10  Freddie Chopin  <freddie_chopin@op.pl>
573         * configure: Rebuild.
575 2013-03-26  Mike Frysinger  <vapier@gentoo.org>
577         * configure: Regenerate.
579 2013-03-23  Joel Sherrill  <joel.sherrill@oarcorp.com>
581         * configure.ac: Use $SIM_DV_SOCKSER_O.
582         * configure: Regenerated.
584 2012-06-15  Joel Brobecker  <brobecker@adacore.com>
586         * config.in, configure: Regenerate.
588 2012-03-24  Mike Frysinger  <vapier@gentoo.org>
590         * aclocal.m4, config.in, configure: Regenerate.
592 2011-12-03  Mike Frysinger  <vapier@gentoo.org>
594         * aclocal.m4: New file.
595         * configure: Regenerate.
597 2011-10-19  Mike Frysinger  <vapier@gentoo.org>
599         * configure: Regenerate after common/acinclude.m4 update.
601 2011-10-17  Mike Frysinger  <vapier@gentoo.org>
603         * configure.ac: Change include to common/acinclude.m4.
605 2011-10-17  Mike Frysinger  <vapier@gentoo.org>
607         * configure.ac: Change AC_PREREQ to 2.64.  Delete AC_CONFIG_HEADER
608         call.  Replace common.m4 include with SIM_AC_COMMON.
609         * configure: Regenerate.
611 2011-07-05  Mike Frysinger  <vapier@gentoo.org>
613         * interp.c (sim_do_command): Delete.
615 2010-01-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
617         * configure: Regenerate.
619 2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
621         * config.in: Regenerate.
622         * configure: Likewise.
624         * configure: Regenerate.
626 2008-07-11  Hans-Peter Nilsson  <hp@axis.com>
628         * configure: Regenerate to track ../common/common.m4 changes.
629         * config.in: Ditto.
631 2008-06-06  Vladimir Prus  <vladimir@codesourcery.com>
632             Daniel Jacobowitz  <dan@codesourcery.com>
633             Joseph Myers  <joseph@codesourcery.com>
635         * configure: Regenerate.
637 2006-12-21  Hans-Peter Nilsson  <hp@axis.com>
639         * config.in: Regenerate.
641 2006-06-13  Richard Earnshaw  <rearnsha@arm.com>
643         * configure: Regenerated.
645 2006-06-05  Daniel Jacobowitz  <dan@codesourcery.com>
647         * configure: Regenerated.
649 2006-05-31  Daniel Jacobowitz  <dan@codesourcery.com>
651         * configure: Regenerated.
653 2006-03-29  Hans-Peter Nilsson  <hp@axis.com>
655         * configure: Regenerate.
657 2005-03-23  Mark Kettenis  <kettenis@gnu.org>
659         * configure: Regenerate.
661 2005-01-14  Andrew Cagney  <cagney@gnu.org>
663         * configure.ac: Sinclude aclocal.m4 before common.m4.  Add
664         explicit call to AC_CONFIG_HEADER.
665         * configure: Regenerate.
667 2005-01-11  Andrew Cagney  <cagney@localhost.localdomain>
669         * configure: Regenerated to track ../common/aclocal.m4 changes.
671 2005-01-07  Andrew Cagney  <cagney@gnu.org>
673         * configure.ac: Rename configure.in, require autoconf 2.59.
674         * configure: Re-generate.
676 2004-12-08  Hans-Peter Nilsson  <hp@axis.com>
678         * configure: Regenerate for ../common/aclocal.m4 update.
680 2004-06-15  Alan Modra  <amodra@bigpond.net.au>
682         * interp.c (sim_prepare_for_program): Use bfd_get_section_size
683         instead of bfd_get_section_size_before_reloc.
685 2003-08-08  Stephane Carrez  <stcarrez@nerim.fr>
687         * dv-m68hc11tim.c (cycle_to_string): Add flags parameter to better
688         control the translation.
689         (m68hc11tim_print_timer): Update cycle_to_string conversion.
690         (m68hc11tim_timer_event): Fix handling of output
691         compare register with its interrupts.
692         (m68hc11tim_io_write_buffer): Check output compare
693         after setting M6811_TMSK1.
694         (m68hc11tim_io_read_buffer): Fix compilation warning.
695         * dv-m68hc11.c (m68hc11_option_handler): Likewise.
696         * dv-m68hc11spi.c (m68hc11spi_info): Likewise.
697         * dv-m68hc11sio.c (m68hc11sio_info): Likewise.
698         * interrupts.c (interrupts_info): Likewise.
699         (interrupts_reset): Recognize bootstrap mode.
700         * sim-main.h (PRINT_CYCLE, PRINT_TIME): New defines.
701         (_sim_cpu): Add cpu_start_mode.
702         (cycle_to_string): Add flags member.
703         * m68hc11_sim.c (OPTION_CPU_BOOTSTRAP): New option.
704         (cpu_options): Declare new option bootstrap.
705         (cpu_option_handler): Handle it.
706         (cpu_info): Update call to cycle_to_string.
708 2003-08-08  Stephane Carrez  <stcarrez@nerim.fr>
710         * sim-main.h (phys_to_virt): Use memory bank parameters to translate
711         the physical address in virtual address.
712         (struct _sim_cpu): Add memory bank members.
713         * m68hc11_sim.c (cpu_initialize): Clear memory bank parameters.
714         * interp.c (sim_hw_configure): Create memory bank according to memory
715         bank parameters.
716         (sim_get_bank_parameters): New function to obtain memory bank config
717         from the symbol table.
718         (sim_prepare_for_program): Call it to obtain the memory bank parameters.
719         (sim_open): Call sim_prepare_for_program.
720         * dv-m68hc11.c (m68hc11cpu_io_write_buffer): Use memory bank parameters
721         to check if address is within bank window.
722         (m68hc11cpu_io_read_buffer): Likewise.
723         (attach_m68hc11_regs): Map the memory bank according to memory bank
724         parameters.
726 2003-08-08  Stephane Carrez  <stcarrez@nerim.fr>,
728         * sim-main.h (PAGE_REGNUM, Z_REGNUM): Use same numbering as gdb.
730 2003-08-08  Stephane Carrez  <stcarrez@nerim.fr>,
731             Gary Piercey <gpiercey@northstar-technical.com>
733         * m68hc11_sim.c (print_io_word): New function to print 16-bit value.
734         * sim-main.h (print_io_word): Declare.
735         * dv-m68hc11tim.c (tmsk1_desc): New description table for TMSK1.
736         (tflg1_desc): Likewise for TFLG1.
737         (m68hc11tim_info): Print input and output compare registers
739 2003-03-02  Stephane Carrez  <stcarrez@nerim.fr>
741         * Makefile.in (SIM_EXTRA_CFLAGS): Set WITH_TARGET_ADDRESS_BITSIZE
742         to 32 to support memory bank switching; temporarily use 32-bit for
743         WORD_BITSIZE to avoid a bug in sim-common.
745 2003-03-01  Stephane Carrez  <stcarrez@nerim.fr>
747         * interp.c (sim_fetch_register): Only store a single byte for
748         1 byte registers.
750 2003-02-27  Andrew Cagney  <cagney@redhat.com>
752         * interp.c (sim_prepare_for_program, sim_open)
753         (sim_create_inferior): Rename _bfd to bfd.
755 2002-08-13  Stephane Carrez  <stcarrez@nerim.fr>
757         * dv-m68hc11eepr.c (struct m68hc11eepr ): Use const char* for filename.
759 2002-08-13  Marko Kohtala  <marko.kohtala@luukku.com>
761         * interp.c (sim_prepare_for_program): Look up the image for the
762         reset vector and set cpu_use_elf_start to 1 if not found.
763         (sim_open): Do not set cpu_use_elf_start.
765 2002-08-13  Marko Kohtala  <marko.kohtala@luukku.com>
767         * interp.c (sim_hw_configure): Return 1 for success.
768         (sim_prepare_for_program): Use the sim_hw_configure exit code to
769         return SIM_RC_FAIL.
771 2002-08-13  Stephane Carrez  <stcarrez@nerim.fr>
773         * dv-m68hc11.c (m68hc11cpu_io_read_buffer): Translate memory
774         bank window to some virtual address to read from extended memory.
775         (m68hc11cpu_io_write_buffer): Likewise for writing.
776         (attach_m68hc11_regs): When use_bank property is defined, attach
777         to the 68HC12 16K memory bank window.
778         * interp.c (sim_hw_configure): Create memory region for banked
779         memory.
781 2002-08-13  Stephane Carrez  <Stephane.Carrez@nerim.fr>
783         * interp.c (sim_hw_configure): Connect port-X to cpu-write-port.
784         * dv-m68hc11.c (m68hc11cpu_ports): Add cpu-write-port input.
785         (m68hc11cpu_port_event): Handle CPU_WRITE_PORT event.
787 2002-08-13  Marko Kohtala  <marko.kohtala@luukku.com>
789         * dv-m68hc11.c (m68hc11cpu_io_write): Fix to update IO mapping
790         when IO mapping changed, not when internal RAM mapping is changed.
792 2002-08-13  Stephane Carrez  <stcarrez@nerim.fr>
794         * m68hc11_sim.c (cpu_special): Handle call and rtc instructions.
795         * sim-main.h (M6812_CALL_INDIRECT): Add to enum.
796         (m6811_regs): Add page register.
797         (cpu_set_page, cpu_get_page): New macros.
798         (phys_to_virt): New function.
799         (cpu_get_indexed_operand_addr, cpu_return): Declare.
800         * gencode.c: Identify indirect addressing mode for call and fix daa.
801         (gen_function_entry): New param to tell if src8/dst8 locals are
802         necessary.
803         (gen_interpreter): Use it to avoid generation of unused variables.
804         * interp.c (sim_fetch_register): Allow to read page register; page
805         register, A, B and CCR are only 1 byte wide.
806         (sim_store_register): Likewise for writing.
808 2002-06-16  Andrew Cagney  <ac131313@redhat.com>
810         * configure: Regenerated to track ../common/aclocal.m4 changes.
812 2002-06-09  Andrew Cagney  <cagney@redhat.com>
814         * Makefile.in (INCLUDE): Update path to callback.h.
815         * sim-main.h: Include "gdb/callback.h" and "gdb/remote-sim.h".
817 2002-03-07  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
819         * m68hc11_sim.c (cpu_move8): Call sim_engine_abort in default case.
820         (cpu_move16): Likewise.
821         (sim_memory_error): Use sim_io_printf.
822         (cpu_option_handler): Fix compilation warning.
823         * interp.c (sim_hw_configure): Fix compilation warning;
824         remove m68hc12sio@2 device.
825         (sim_open): Likewise.
826         * dv-m68hc11tim.c (m68hc11tim_port_event): Fix clear of TFLG2
827         flags when reset.
828         (cycle_to_string): Improve convertion of cpu cycle number.
829         (m68hc11tim_info): Print info about PACNT.
830         (m68hc11tim_io_write_buffer): Fix clearing of TFLG2; handle
831         TCTL1 and TCTL2 registers.
832         * dv-m68hc11.c (m68hc11_info): Print 6811 current running mode.
834 2002-03-07  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
836         * interp.c (sim_hw_configure): Save the HW cpu pointer in the
837         cpu struct.
838         (sim_hw_configure): Connect the capture input/output events.
839         * sim-main.h (_sim_cpu): New member hw_cpu.
840         (m68hc11cpu_set_oscillator): Declare.
841         (m68hc11cpu_clear_oscillator): Declare.
842         (m68hc11cpu_set_port): Declare.
843         * dv-m68hc11.c (m68hc11_options): New for oscillator commands.
844         (m68hc11cpu_ports): New input ports and output ports to reflect
845         the HC11 IOs.
846         (m68hc11_delete): Cleanup any running oscillator.
847         (attach_m68hc11_regs): Create the input oscillators.
848         (make_oscillator): New function.
849         (find_oscillator): New function.
850         (oscillator_handler): New function.
851         (reset_oscillators): New function.
852         (m68hc11cpu_port_event): Handle the new input ports.
853         (m68hc11cpu_set_oscillator): New function.
854         (m68hc11cpu_clear_oscillator): New function.
855         (get_frequency): New function.
856         (m68hc11_option_handler): New function.
857         (m68hc11cpu_set_port): New function.
858         (m68hc11cpu_io_write): Post the port output events.
859         * dv-m68hc11spi.c (set_bit_port): Use m68hc11cpu_set_port to set
860         the output port value.
861         * dv-m68hc11tim.c (m68hc11tim_port_event): Handle CAPTURE event
862         by latching the TCNT value in the register.
864 2002-03-07  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
866         * sim-main.h (cpu_frame, cpu_frame_list): Remove.
867         (cpu_frame_reg, cpu_print_frame): Remove.
868         (cpu_m68hc11_push_uint8, cpu_m68hc11_pop_uint8): Cleanup.
869         (cpu_m68hc11_push_uint16, cpu_m68hc11_pop_uint16): Likewise.
870         (cpu_m68hc12_push_uint8, cpu_m68hc12_push_uint16): Likewise.
871         (cpu_m68hc12_pop_uint8, cpu_m68hc12_pop_uint16): Likewise.
872         * m68hc11_sim.c (cpu_find_frame): Remove.
873         (cpu_create_frame_list): Remove.
874         (cpu_remove_frame_list, cpu_create_frame, cpu_free_frame): Remove.
875         (cpu_frame_reg, cpu_print_frame, cpu_update_frame): Remove.
876         (cpu_call): Cleanup to remove #if HAVE_FRAME and calls to the above.
877         (cpu_update_frame): Likewise.
878         (cpu_return): Likewise.
879         (cpu_reset): Likewise.
880         (cpu_initialize): Likewise.
881         * interp.c (sim_do_command): Remove call to cpu_print_frame.
883 2002-03-07  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
885         * interrupts.c (interrupts_reset): New function, setup interrupt
886         vector address according to cpu mode.
887         (interrupts_initialize): Move reset portion to the above.
888         (interrupt_names): New table to give a name to interrupts.
889         (idefs): Handle pulse accumulator interrupts.
890         (interrupts_info): Print the interrupt history.
891         (interrupt_option_handler): New function.
892         (interrupt_options): New table of options.
893         (interrupts_update_pending): Keep track of when interrupts are
894         raised and implement breakpoint-on-raise-interrupt.
895         (interrupts_process): Keep track of when interrupts are taken
896         and implement breakpoint-on-interrupt.
897         * interrupts.h (struct interrupt_history): Define.
898         (struct interrupt): Keep track of the interrupt history.
899         (interrupts_reset): Declare.
900         (interrupts_initialize): Update prototype.
901         * m68hc11_sim.c (cpu_reset): Reset interrupts.
902         (cpu_initialize): Cleanup.
904 2001-07-28  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
906         * dv-m68hc11eepr.c (m68hc11eepr_info): Fix print of current write
907         address.
908         (m68hc11eepr_port_event): Fix detach/attach logic.
910 2001-07-22  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
912         * Makefile.in (SIM_OBJS): Remove sim-resume.o
913         * interp.c (sim_resume): New function from sim-resume.c, install
914         the stepping event after having processed the pending ticks.
915         (has_stepped): Likewise.
916         (sim_info): Produce an output only if verbose or STATE_VERBOSE_P.
918 2001-07-10  Andrew Cagney  <ac131313@redhat.com>
920         * Makefile.in (gencode): Provide explicit path to gencode.c.
922 2001-05-20  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
924         * Makefile.in (M68HC11_OBJS): Add m68hc12int.o.
925         (m68hc12int.c): Generate using gencode -m6812.
926         (m68hc11int.c): Likewise with -m6811.
928         * gencode.c (m6811_opcode_patterns): New patterns for 68HC12.
929         (m6811_page1_opcodes): Remove duplicate entries.
930         (m6811_page2_opcodes): Likewise.
931         (m6811_page3_opcodes): Likewise.
932         (m6811_page4_opcodes): Likewise.
933         (m6812_page1_opcodes): New table for 68HC12 instructions.
934         (m6812_page2_opcodes): Likewise.
935         (gen_fetch_operands): New modes [] and &[] for 68HC12 operands.
936         (gen_save_result): Likewise.
937         (gen_interpreter_for_table): Handle 68HC11 and 68HC12 opcodes.
938         (cmp_opcode): New function for opcode comparision.
939         (prepare_table): Sort the opcodes.
940         (gen_interpreter): Prepare all the tables and generate either
941         a 68HC11 or a 68HC12 simulator.
942         (main): New options -m6811 and -m6812.
944         * m68hc11_sim.c (cpu_single_step): Use pointer to cpu interpretor.
945         (cpu_special): Simulation of some 68HC12 instructions.
946         (cpu_exg): New function.
947         (cpu_dbcc): Likewise.
948         (cpu_fetch_relbranch16): Likewise.
949         (cpu_push_all): Push according to 68HC11 or 68HC12.
950         (cpu_move16): Likewise.
951         (cpu_move8): Likewise.
952         (cpu_get_indexed_operand16): Likewise.
953         (cpu_get_indexed_operand8): Likewise.
954         (cpu_get_indexed_operand_addr): Likewise.
955         (cpu_set_reg, cpu_set_dst_reg, cpu_get_src_reg, cpu_get_reg): Likewise.
956         (cpu_reset): Setup INIT register according to architecture.
958         * sim-main.h (M6811_Special): Add 68HC12 specific instructions.
959         (_sim_cpu): Keep track of the cpu being simulated.
960         (cpu_get_tmp3, cpu_get_tmp2, cpu_set_tmp3, cpu_set_tmp2): New.
961         (cpu_m68hc11_push_uintxx): Rename of cpu_push_uintxx.
962         (cpu_m68hc11_pop_uint8): Likewise.
963         (cpu_m68hc12_push_uintxx): New functions for 68HC12.
964         (cpu_m68hc12_pop_uintxx): Likewise.
965         (cpu_exg, cpu_dbcc, cpu_move8, cpu_move16): Likewise,
966         (cpu_fetch_relbranch16): Likewise.
967         (cpu_interp_m6811): Rename of cpu_interp.
968         (cpu_interp_m6812): New function.
969         * interp.c (free_state): New function.
970         (dev_list_68hc12): New table.
971         (sim_board_reset): Reset depending on the cpu (HC11 or HC12).
972         (sim_hw_configure): New function.
973         (sim_prepare_for_program): New function.
974         (sim_open): Use above new functions.
975         (sim_close): Call free_state().
976         (sim_info): Print info according to cpu.
977         (sim_create_inferior): Use sim_prepare_for_program.
978         (sim_do_command): Configure the hardware after a change of the
979         architecture.
981 2001-05-20  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
983         * dv-m68hc11sio.c (m68hc11sio_tx_poll): Always check for
984         pending interrupts.
985         * interrupts.c (interrupts_process): Keep track of the last number
986         of masked insn cycles.
987         (interrupts_initialize): Clear last number of masked insn cycles.
988         (interrupts_info): Report them.
989         (interrupts_update_pending): Compute clear and set masks of
990         interrupts and clear the interrupt bits before setting them
991         (due to SCI interrupt sharing).
992         * interrupts.h (struct interrupts): New members last_mask_cycles
993         and xirq_last_mask_cycles.
995 2000-11-26  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
997         * dv-m68hc11.c (m68hc11cpu_io_read_buffer): Use attach_size
998         instead of a hard-coded value.
999         (m68hc11cpu_io_write_buffer): Likewise.
1000         (dv_m68hc11_descriptor): Define a 68hc12 device.
1001         * dv-m68hc11eepr.c (dv_m68hc11eepr_descriptor): Likewise.
1002         * dv-m68hc11tim.c (dv_m68hc11tim_descriptor): Likewise.
1003         * dv-m68hc11spi.c (dv_m68hc11spi_descriptor): Likewise.
1004         * dv-m68hc11sio.c (dv_m68hc11sio_descriptor): Likewise.
1006 2000-11-22  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
1008         * dv-m68hc11.c (attach_m68hc11_regs): Register a delete handler.
1009         (m68hc11cpu_delete): Delete handler to detach the address space.
1011 2000-11-24  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
1013         * dv-m68hc11eepr.c (attach_m68hc11eepr_regs): Use hw_malloc.
1014         * dv-nvram.c (attach_nvram_regs): Use hw_free and hw_malloc
1015         instead of free and malloc.
1017 2000-09-11  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
1019         * Makefile.in: Was missing from initial patch.
1021 2000-09-10  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
1023         * interp.c (sim_store_register): Remove soft register hack.
1024         (sim_fetch_register): Likewise.
1025         (sim_create_inferior): Likewise.
1026         * sim-main.h: Likewise.
1028 2000-09-10  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
1030         * interrupts.c (interrupts_update_pending): Clear the mask of
1031         pending interrupts here.
1032         (interrupts_get_current): Don't clear the mask of pending interrupts.
1034 2000-09-10  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
1036         * sim-main.h: Define cycle_to_string.
1037         * dv-m68hc11tim.c (cycle_to_string): New function to translate
1038         the cpu cycle into some formatted time string.
1039         (m68hc11tim_print_timer): Use it.
1040         * dv-m68hc11sio.c (m68hc11sio_info): Use cycle_to_string.
1041         * dv-m68hc11spi.c (m68hc11spi_info): Likewise.
1042         * interrupts.c (interrupts_info): Likewise.
1043         * m68hc11_sim.c (cpu_info): Likewise.
1045 2000-09-06  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
1047         * dv-m68hc11tim.c (m68hc11tim_timer_event): Compute the overflow
1048         interrupt and compare events accurately.  Take into account the
1049         pending ticks not processed by the simulator yet (introduced a shift).
1050         (m68hc11_port_event): Reset the timer interrupt delays.
1051         (m68hc11tim_io_read_buffer): Be able to read several bytes.
1052         (m68hc11tim_io_write_buffer): Likewise for write.
1053         (m68hc11tim_io_write_buffer): Recompute the timer overflow interrupt.
1055 2000-09-06  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
1057         * dv-m68hc11spi.c (m68hc11spi_io_read_buffer): Clear the interrupts.
1058         (m68hc11spi_io_write_buffer): Likewise and fix the spi frame.
1059         (m68hc11spi_info): Clarify the status report
1060         of the SPI when a byte is being sent.
1061         (m68hc11spi_clock): Fix the spi send frame.
1063 2000-08-11  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
1065         * sim-main.h (m68hc11_map_level): Define level of address mappings.
1066         * dv-m68hc11eepr.c (struct m68hc11eepr ): New flag to indicate
1067         whether the eeprom is currently mapped or not.
1068         (m68hc11eepr_port_event): Use the flag to see if we must unmap
1069         or map the eeprom.  Update the flag to reflect the current state.
1070         Use M6811_EEPROM_LEVEL when mapping the eeprom.
1071         (m68hc11eepr_finish): Remove overlap hack.
1072         (attach_m68hc11eepr_regs): Use M6811_IO_LEVEL when mapping the
1073         config and control registers.
1074         * dv-m68hc11.c (m68hc11cpu_finish): Remove overlap hack.
1075         (attach_m68hc11_regs): Use M6811_IO_LEVEL.
1076         (m68hc11cpu_io_write): Likewise when unmapping and re-mapping.
1077         * dv-m68hc11spi.c (m68hc11spi_finish): Likewise.
1078         (attach_m68hc11spi_regs): Likewise.
1079         * dv-m68hc11tim.c (m68hc11tim_finish): Likewise.
1080         (attach_m68hc11tim_regs): Likewise.
1081         * dv-m68hc11sio.c (m68hc11sio_finish): Likewise.
1082         (attach_m68hc11sio_regs): Likewise.
1083         * interp.c (sim_open): Likewise.
1084         * dv-nvram.c (attach_nvram_regs): Likewise.
1086 Thu Jul 27 21:27:25 2000  Andrew Cagney  <cagney@b1.cygnus.com>
1088         * configure, config.in: Regenerate.
1090 2000-06-25  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
1092         * Makefile.in (SIM_RUN_OBJS): Define to use nrun.c
1093         * dv-m68hc11.c (m68hc11cpu_finish): Register detach address callback.
1094         (dv_m6811_detach_address_callback): New function to detach a
1095         device from an address space.
1096         * dv-m68hc11eepr.c (m68hc11eepr_port_event): Initialize
1097         config register according to --cpu-config option.
1098         * sim-main.h (_sim_cpu): Add cpu_config member.
1099         * interp.c (sim_open): Delete specific simulator options.
1100         * m68hc11_sim.c (cpu_option_handler): New options
1101         --emulos and -cpu-config <val> to configure the simulator.
1102         (cpu_initialize): Initialize cpu_config member.
1104 2000-06-24  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
1106         * emulos.c: Fix indentation and comments.
1107         * gencode.c: Likewise.
1108         * dv-m68hc11tim.c (m68hc11tim_timer_event): Handle COMPARE_EVENT.
1109         (m68hc11tim_io_write_buffer): Write compare registers and
1110         setup compare event.
1111         * interp.c: Remove unused global variables.
1112         * interrupts.c (idefs): New compare interrupts.
1113         Fix indentation and comments.
1114         * interrupts.h: Likewise.
1116 2000-06-18  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
1118         * dv-m68hc11sio.c: Fix indentation and comments.
1119         Remove INT_PORT.
1120         * dv-m68hc11.c: Fix indentation and comments.
1121         (m68hc11cpu_port_event): Move initialization of M6811_HPRIO from here.
1122         * m68hc11_sim.c (cpu_reset): To here.
1123         * dv-m68hc11eepr.c: Fix indentation and comments.
1125 2000-06-17  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
1127         * dv-nvram.c: New file, rename from dv-pram.c.
1128         * dv-pram.c: Delete file.
1129         * sim-main.h: Incorporate m68hc11_sim.h.
1130         * m68hc11_sim.h: Delete file.
1131         * configure.in: Rename pram into nvram.
1132         * interp.c (sim_open): Likewise in creation of device tree.
1134 2000-05-31  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
1136         * interp.c (sim_open): Create the SPI device.
1137         * dv-m68hc11spi.c: New file for SPI device simulation.
1138         * configure.in (hw_extra_devices): Add SPI device.
1140 2000-05-28  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
1142         * interrupts.c (interrupts_initialize): Clear XIRQ accounting.
1143         (interrupts_process): Separate IRQ and XIRQ accounting.
1144         (interrupts_info): Report XIRQ accounting.
1145         * interrupts.h (struct interrupts): Added accounting for XIRQ.
1147 2000-04-16  Stephane Carrez  <stcarrez@worldnet.fr>
1149         * dv-pram.c (attach_pram_regs): Fix the 'save-modified' mode.
1150         * m68hc11_sim.h (_sim_cpu): Allow configuration of cpu mode.
1151         * dv-m68hc11.c (attach_m68hc11_regs): Get the cpu MODA,MODB
1152         configuration from the 'mode' device tree property.
1153         (m68hc11cpu_port_event): Reset M6811_HPRIO to the cpu MODA, MODB
1154         configuration.
1156 2000-02-24  Stephane Carrez  <stcarrez@worldnet.fr>
1158         * sim-main.h: Remove WITH_TARGET_* defines.
1159         * Makefile.in (SIM_EXTRA_CFLAGS): Specify the WITH_TARGET_* flags.
1161 2000-02-08  Stephane Carrez  <stcarrez@worldnet.fr>
1163         * dv-m68hc11sio.c (m68hc11sio_port_event): Setup the SCI to
1164         1200 baud when cpu is in bootstrap mode.
1166         * dv-m68hc11tim.c (m68hc11tim_io_write_buffer): Be able to
1167         write in the TCTN timer register.
1169         * dv-m68hc11sio.c (m68hc11sio_io_write_buffer): Divide cpu clock
1170         by 4 to obtain the E clock frequency.
1171         (sccr2_desc): Use M6811_TIE for TIE bit.
1172         (m68hc11sio_info): Fix baud rate report.
1174         * dv-m68hc11tim.c (to_realtime): Likewise.
1176         * interp.c (sim_open): When building device tree, only provide
1177         devices that do not exist yet.
1179         * emulos.c: Fix compilation pb under Windows.
1181         * dv-m68hc11.c (attach_m68hc11_regs): Get the clock frequency
1182         from the 'clock' property.
1184 2000-01-02  Stephane Carrez  <stcarrez@worldnet.fr>
1186         * m68hc11_sim.h (*_REGNUM): Define.
1187         (_sim_cpu): New member cpu_page0_reg table.
1188         * interp.c (sim_create_inferior): Fill the cpu_page0_reg table with
1189         addresses of soft registers in .page0.
1190         (sim_fetch_register, sim_store_register): Use cpu_page0_reg table
1191         to get/set soft registers.
1193 1999-12-31  Stephane Carrez  <stcarrez@worldnet.fr>
1195         * dv-m68hc11.c (m68hc11cpu_io_write_buffer): Clear byte to avoid
1196         returning random values.
1198 1999-12-17  Stephane Carrez  <stcarrez@worldnet.fr>
1200         * gencode.c: Fix "subb N,x" that used a instead of b.
1202 1999-09-09  Stephane Carrez  <stcarrez@worldnet.fr>
1204         * gencode.c: Fixed sbc8 and adc8 when there was a initial carry.
1206 1999-09-01  Stephane Carrez  <stcarrez@worldnet.fr>
1208         * sim-main.h (SIM_HANDLES_LMA): Define to enable loading using lma.
1210 1999-08-14  Stephane Carrez  <stcarrez@worldnet.fr>
1212         * dv-m68hc11.c (attach_m68hc11_regs): Save the size of the
1213         register region in the m68hc11cpu struct.
1214         (m68hc11cpu_io_write): When the IO mapping addres changes,
1215         detach the register region and re-attach it at the new address.
1216         (m68hc11cpu_io_read_buffer): Renamed base_address into
1217         attach_address.
1218         (m68hc11cpu_io_write_buffer): Likewise. Pass the hw pointer
1219         to m68hc11cpu_io_write.
1221 1999-08-13  Stephane Carrez  <stcarrez@worldnet.fr>
1223         * gencode.c: For sbc8, check the carry and increment the source
1224         before trying to set the carry for the result.
1226 1999-05-24  John S. Kallal <kallal@voicenet.com>
1228         * interp.c (sim_get_info): Don't crash if the command line is 0.
1229         Define prototype for sim_get_info() and init_system().
1230         (sim_info): Correct call to sim_get_info().
1232 1999-05-16  Stephane Carrez  <stcarrez@worldnet.fr>
1234         * configure.in: Recognize m6811-*-*.
1235         * configure: Regenerate.
1236         * m68hc11_sim.h (cpu_ccr_update_add8, cpu_ccr_update_add16,
1237         cpu_ccr_update_sub8, cpu_ccr_update_sub16):
1238         Correct the computation of carry of 8 and 16-bits add and subtract.
1239         * gencode.c: Use cpu_ccr_update_sub8 for subtraction (carry and
1240         overflow set in a different manner than add).
1242 1999-05-14  Stephane Carrez  <stcarrez@worldnet.fr>
1244         * dv-m68hc11.c (dv_m6811_attach_address_callback): Removed a
1245         trace message.
1246         * interp.c (sim_open, sim_create_inferior): Initialize the
1247         cpu_elf_start from the ELF header.
1248         * m68hc11_sim.c (cpu_initialize): Clear the new data members.
1249         (cpu_restart): Use cpu_elf_start as the starting address when
1250         the flag is set.
1251         (cpu_special): When cpu_use_elf_start is set, the WAI instruction
1252         exits the simulator (exit status is in D).
1253         * m68hc11_sim.h (_sim_cpu): Added members cpu_use_elf_start and
1254         cpu_elf_star to start execution at address specified in ELF file.
1256 1999-05-02  Stephane Carrez  <stcarrez@worldnet.fr>
1258         * Makefile.in, config.in, configure, configure.in: New files.
1259         * gencode.c: New file, generation of 68HC11 interpreter.
1260         * m68hc11_sim.h, m68hc11_sim.c: New files, specific operations
1261         for interpreter.
1262         * interrupts.c, interrupts.h: New files, management of interrupts.
1263         * interp.c, sim-main.h,
1264         * dv-m68hc11.c, dv-m68hc11eepr.c, dv-m68hc11sio.c,
1265         dv-m68hc11tim.c, dv-pram.c: New files representing devices for
1266         68HC11 (dv-pram.c is generic and could probably migrate to common).
1267         * emulos.c: New file, basic emulation of some os.