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