xref: /netbsd-src/external/gpl3/gdb/dist/sim/m68hc11/ChangeLog-2021 (revision 4b169a6ba595ae283ca507b26b15fdff40495b1c)
12021-06-22  Mike Frysinger  <vapier@gentoo.org>
2
3	* configure.ac: Removed.
4	* aclocal.m4: Removed.
5	* configure: Removed.
6
72021-06-21  Mike Frysinger  <vapier@gentoo.org>
8
9	* aclocal.m4: Regenerate.
10	* configure: Regenerate.
11
122021-06-21  Mike Frysinger  <vapier@gentoo.org>
13
14	* Makefile.in (SIM_EXTRA_HW_DEVICES): Define.
15	* configure.ac (SIM_AC_OPTION_HARDWARE): Delete call.
16	* configure: Regenerate.
17
182021-06-20  Mike Frysinger  <vapier@gentoo.org>
19
20	* configure.ac (SIM_AC_COMMON): Delete.
21	* aclocal.m4, configure: Regenerate.
22
232021-06-20  Mike Frysinger  <vapier@gentoo.org>
24
25	* aclocal.m4: Regenerate.
26	* configure: Regenerate.
27
282021-06-20  Mike Frysinger  <vapier@gentoo.org>
29
30	* sim-main.h: Add UNUSED to all STATIC_INLINE functions.
31
322021-06-20  Mike Frysinger  <vapier@gentoo.org>
33
34	* aclocal.m4: Regenerate.
35	* configure: Regenerate.
36
372021-06-19  Mike Frysinger  <vapier@gentoo.org>
38
39	* aclocal.m4: Regenerate.
40	* configure: Regenerate.
41
422021-06-19  Mike Frysinger  <vapier@gentoo.org>
43
44	* configure: Regenerate.
45
462021-06-18  Mike Frysinger  <vapier@gentoo.org>
47
48	* aclocal.m4, configure: Regenerate.
49
502021-06-18  Mike Frysinger  <vapier@gentoo.org>
51
52	* configure: Regenerate.
53
542021-06-18  Mike Frysinger  <vapier@gentoo.org>
55
56	* dv-m68hc11eepr.c: Include sim-signal.h.
57	* interrupts.c, m68hc11_sim.c: Likewise.
58	* sim-main.h: Delete sim-signal.h include.
59
602021-06-17  Mike Frysinger  <vapier@gentoo.org>
61
62	* configure.ac: Delete SIM_AC_OPTION_ENDIAN call.
63	* interp.c (sim_open): Set current_target_byte_order.
64	* aclocal.m4, configure: Regenerate.
65
662021-06-17  Mike Frysinger  <vapier@gentoo.org>
67
68	* sim-main.h: Delete sim/callback.h include.
69
702021-06-16  Mike Frysinger  <vapier@gentoo.org>
71
72	* configure: Regenerate.
73
742021-06-16  Mike Frysinger  <vapier@gentoo.org>
75
76	* configure: Regenerate.
77	* config.in: Removed.
78
792021-06-15  Mike Frysinger  <vapier@gentoo.org>
80
81	* config.in, configure: Regenerate.
82
832021-06-12  Mike Frysinger  <vapier@gentoo.org>
84
85	* configure.ac: Delete call to SIM_AC_OPTION_ALIGNMENT.
86
872021-06-12  Mike Frysinger  <vapier@gentoo.org>
88
89	* aclocal.m4, config.in, configure: Regenerate.
90
912021-06-12  Mike Frysinger  <vapier@gentoo.org>
92
93	* config.in, configure: Regenerate.
94
952021-05-17  Mike Frysinger  <vapier@gentoo.org>
96
97	* sim-main.h (SIM_HAVE_COMMON_SIM_STATE): Delete.
98
992021-05-17  Mike Frysinger  <vapier@gentoo.org>
100
101	* sim-main.h (SIM_HAVE_COMMON_SIM_STATE): Define.
102	(struct sim_state): Delete.
103
1042021-05-16  Mike Frysinger  <vapier@gentoo.org>
105
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.
109
1102021-05-16  Mike Frysinger  <vapier@gentoo.org>
111
112	* config.in, configure: Regenerate.
113
1142021-05-14  Mike Frysinger  <vapier@gentoo.org>
115
116	* sim-main.h: Update include path.
117
1182021-05-07  Mike Frysinger  <vapier@gentoo.org>
119
120	* dv-m68hc11tim.c (cycle_to_string): Increase buf to 128 bytes.
121	Merge two sprintf buf calls.
122
1232021-05-06  Mike Frysinger  <vapier@gentoo.org>
124
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.
128
1292021-05-06  Mike Frysinger  <vapier@gentoo.org>
130
131	* emulos.c: Include errno.h & stdio.h.
132	(emul_write): Print a warning when the write fails.
133
1342021-05-04  Mike Frysinger  <vapier@gentoo.org>
135
136	* dv-m68hc11.c (struct m68hc11cpu): Change attach_size to unsigned int.
137	* dv-m68hc11sio.c (m68hc11sio_tx_poll): Cast buffer to const char*.
138
1392021-05-04  Mike Frysinger  <vapier@gentoo.org>
140
141	* configure: Regenerate.
142
1432021-05-01  Mike Frysinger  <vapier@gentoo.org>
144
145	* config.in, configure: Regenerate.
146
1472021-04-23  Mike Frysinger  <vapier@gentoo.org>
148
149	* configure.ac (SIM_AC_OPTION_HARDWARE): Delete first two args.
150	* configure: Regenerate.
151
1522021-04-22  Tom Tromey  <tom@tromey.com>
153
154	* configure, config.in: Rebuild.
155
1562021-04-22  Tom Tromey  <tom@tromey.com>
157
158	* Makefile.in (INCLUDE): Remove.
159
1602021-04-22  Tom Tromey  <tom@tromey.com>
161
162	* Makefile.in (interp.o): Remove.
163
1642021-04-22  Tom Tromey  <tom@tromey.com>
165
166	* configure: Rebuild.
167
1682021-04-21  Mike Frysinger  <vapier@gentoo.org>
169
170	* aclocal.m4: Regenerate.
171
1722021-04-21  Simon Marchi  <simon.marchi@polymtl.ca>
173
174	* configure: Regenerate.
175
1762021-04-18  Mike Frysinger  <vapier@gentoo.org>
177
178	* configure: Regenerate.
179
1802021-04-12  Mike Frysinger  <vapier@gentoo.org>
181
182	* interp.c (sim_open): Delete 3rd arg to sim_cpu_alloc_all.
183
1842021-04-02  Mike Frysinger  <vapier@gentoo.org>
185
186	* aclocal.m4, configure: Regenerate.
187
1882021-03-13  Mike Frysinger  <vapier@gentoo.org>
189
190	* Makefile.in (gencode.o): New rule.
191	(gencode): Call LINK_FOR_BUILD.
192
1932021-02-28  Mike Frysinger  <vapier@gentoo.org>
194
195	* configure: Regenerate.
196
1972021-02-21  Mike Frysinger  <vapier@gentoo.org>
198
199	* configure.ac (AC_CONFIG_MACRO_DIRS): Replace common with m4.
200	* aclocal.m4, configure: Regenerate.
201
2022021-02-13  Mike Frysinger  <vapier@gentoo.org>
203
204	* configure.ac: Replace sinclude with AC_CONFIG_MACRO_DIRS.
205	* aclocal.m4, configure: Regenerate.
206
2072021-02-06  Mike Frysinger  <vapier@gentoo.org>
208
209	* configure: Regenerate.
210
2112021-01-30  Mike Frysinger  <vapier@gentoo.org>
212
213	* dv-m68hc11tim.c (cycle_to_string): Change llu to PRIi64.
214
2152021-01-30  Mike Frysinger  <vapier@gentoo.org>
216
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.
220
2212021-01-30  Mike Frysinger  <vapier@gentoo.org>
222
223	* interp.c (sim_get_info, sim_board_reset): Pass %s to sim_hw_parse.
224
2252021-01-30  Mike Frysinger  <vapier@gentoo.org>
226
227	* dv-m68hc11.c, m68hc11_sim.c: Include stdlib.h.
228
2292021-01-30  Mike Frysinger  <vapier@gentoo.org>
230
231	* configure.ac (SIM_AC_OPTION_HARDWARE): Inline variables.
232	* configure: Regenerate.
233
2342021-01-11  Mike Frysinger  <vapier@gentoo.org>
235
236	* config.in, configure: Regenerate.
237
2382021-01-09  Mike Frysinger  <vapier@gentoo.org>
239
240	* configure: Regenerate.
241
2422021-01-09  Mike Frysinger  <vapier@gentoo.org>
243
244	* configure.ac (SIM_AC_OPTION_WARNINGS): Pass "no".
245	* configure: Regenerate.
246
2472021-01-08  Mike Frysinger  <vapier@gentoo.org>
248
249	* configure: Regenerate.
250
2512021-01-04  Mike Frysinger  <vapier@gentoo.org>
252
253	* configure: Regenerate.
254
2552017-09-06  John Baldwin  <jhb@FreeBSD.org>
256
257	* configure: Regenerate.
258
2592017-02-13  Mike Frysinger  <vapier@gentoo.org>
260
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.
267
2682016-08-16  Mike Frysinger  <vapier@gentoo.org>
269
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.
279
2802016-08-15  Mike Frysinger  <vapier@gentoo.org>
281
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.
285
2862016-08-13  Mike Frysinger  <vapier@gentoo.org>
287
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.
304
3052016-08-13  Mike Frysinger  <vapier@gentoo.org>
306
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.
321
3222016-01-10  Mike Frysinger  <vapier@gentoo.org>
323
324	* config.in, configure: Regenerate.
325
3262016-01-10  Mike Frysinger  <vapier@gentoo.org>
327
328	* configure: Regenerate.
329
3302016-01-10  Mike Frysinger  <vapier@gentoo.org>
331
332	* configure: Regenerate.
333
3342016-01-10  Mike Frysinger  <vapier@gentoo.org>
335
336	* configure: Regenerate.
337
3382016-01-10  Mike Frysinger  <vapier@gentoo.org>
339
340	* configure: Regenerate.
341
3422016-01-10  Mike Frysinger  <vapier@gentoo.org>
343
344	* configure.ac (SIM_AC_OPTION_INLINE): Delete call.
345	* configure: Regenerate.
346
3472016-01-10  Mike Frysinger  <vapier@gentoo.org>
348
349	* configure: Regenerate.
350
3512016-01-10  Mike Frysinger  <vapier@gentoo.org>
352
353	* configure: Regenerate.
354
3552016-01-09  Mike Frysinger  <vapier@gentoo.org>
356
357	* config.in, configure: Regenerate.
358
3592016-01-06  Mike Frysinger  <vapier@gentoo.org>
360
361	* interp.c (sim_open): Mark argv const.
362	(sim_create_inferior): Mark argv and env const.
363
3642016-01-04  Mike Frysinger  <vapier@gentoo.org>
365
366	* configure: Regenerate.
367
3682016-01-03  Mike Frysinger  <vapier@gentoo.org>
369
370	* interp.c (sim_open): Update sim_parse_args comment.
371
3722016-01-03  Mike Frysinger  <vapier@gentoo.org>
373
374	* sim-main.h (sim_state): Delete devices member.
375
3762016-01-03  Mike Frysinger  <vapier@gentoo.org>
377
378	* configure.ac (SIM_AC_OPTION_HOSTENDIAN): Delete.
379	* configure: Regenerate.
380
3812016-01-02  Mike Frysinger  <vapier@gentoo.org>
382
383	* configure.ac (SIM_AC_OPTION_ENDIAN): Change BIG_ENDIAN to BIG.
384	* configure: Regenerate.
385
3862015-12-30  Mike Frysinger  <vapier@gentoo.org>
387
388	* configure.ac: Change LITTLE_ENDIAN to BIG_ENDIAN.
389	* configure: Regenerate.
390
3912015-12-30  Mike Frysinger  <vapier@gentoo.org>
392
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.
397
3982015-12-30  Mike Frysinger  <vapier@gentoo.org>
399
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.
406
4072015-12-27  Mike Frysinger  <vapier@gentoo.org>
408
409	* Makefile.in (SIM_OBJS): Delete sim-hload.o.
410
4112015-12-26  Mike Frysinger  <vapier@gentoo.org>
412
413	* config.in, configure: Regenerate.
414
4152015-12-24  Mike Frysinger  <vapier@gentoo.org>
416
417	* sim-main.h (SIM_HANDLES_LMA): Delete.
418
4192015-12-24  Mike Frysinger  <vapier@gentoo.org>
420
421	* sim-main.h (WITH_WATCHPOINTS): Delete.
422
4232015-11-17  Mike Frysinger  <vapier@gentoo.org>
424
425	* sim-main.h (WITH_MODULO_MEMORY): Delete.
426
4272015-11-15  Mike Frysinger  <vapier@gentoo.org>
428
429	* Makefile.in (SIM_OBJS): Delete sim-reason.o and sim-stop.o.
430
4312015-11-14  Mike Frysinger  <vapier@gentoo.org>
432
433	* Makefile.in (SIM_OBJS): Delete sim-load.o.
434
4352015-11-14  Mike Frysinger  <vapier@gentoo.org>
436
437	* interp.c (sim_close): Delete.
438
4392015-06-23  Mike Frysinger  <vapier@gentoo.org>
440
441	* configure: Regenerate.
442
4432015-06-12  Mike Frysinger  <vapier@gentoo.org>
444
445	* configure: Regenerate.
446
4472015-06-12  Mike Frysinger  <vapier@gentoo.org>
448
449	* configure: Regenerate.
450
4512015-06-11  Mike Frysinger  <vapier@gentoo.org>
452
453	* interp.c (interrupt_names): Delete.
454
4552015-06-11  Mike Frysinger  <vapier@gentoo.org>
456
457	* Makefile.in (SIM_OBJS): Add sim-resume.o
458	* interp.c (has_stepped, sim_resume): Delete.
459
4602015-06-11  Mike Frysinger  <vapier@gentoo.org>
461
462	* interp.c (INLINE): Delete define.
463
4642015-04-29  Nick Clifton  <nickc@redhat.com>
465
466	PR 18273
467	* gencode.c (gen_fetch_operands): Remove unreachable code.
468
4692015-04-18  Mike Frysinger  <vapier@gentoo.org>
470
471	* sim-main.h (SIM_CPU): Delete.
472
4732015-04-18  Mike Frysinger  <vapier@gentoo.org>
474
475	* sim-main.h (sim_cia): Delete.
476
4772015-04-17  Mike Frysinger  <vapier@gentoo.org>
478
479	* sim-main.h (CIA_GET, CIA_SET): Delete.
480
4812015-04-15  Mike Frysinger  <vapier@gentoo.org>
482
483	* Makefile.in (SIM_OBJS): Delete sim-cpu.o.
484	* sim-main.h (STATE_CPU): Delete.
485
4862015-04-13  Mike Frysinger  <vapier@gentoo.org>
487
488	* configure: Regenerate.
489
4902015-04-13  Mike Frysinger  <vapier@gentoo.org>
491
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.
500
5012015-04-06  Mike Frysinger  <vapier@gentoo.org>
502
503	* Makefile.in (SIM_OBJS): Delete sim-engine.o and sim-hrw.o.
504
5052015-03-31  Mike Frysinger  <vapier@gentoo.org>
506
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.
511
5122015-03-24  Mike Frysinger  <vapier@gentoo.org>
513
514	* interp.c (sim_pc_get): New function.
515
5162015-03-24  Mike Frysinger  <vapier@gentoo.org>
517
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.
521
5222015-03-24  Mike Frysinger  <vapier@gentoo.org>
523
524	* configure: Regenerate.
525
5262015-03-23  Mike Frysinger  <vapier@gentoo.org>
527
528	* configure: Regenerate.
529
5302015-03-23  Mike Frysinger  <vapier@gentoo.org>
531
532	* configure: Regenerate.
533	* configure.ac (m68hc11_extra_objs): Delete.
534	* Makefile.in (SIM_OBJS): Delete SIM_EXTRA_OBJS.
535	(SIM_EXTRA_OBJS): Delete.
536
5372015-03-16  Mike Frysinger  <vapier@gentoo.org>
538
539	* config.in, configure: Regenerate.
540
5412015-03-14  Mike Frysinger  <vapier@gentoo.org>
542
543	* Makefile.in (SIM_RUN_OBJS): Delete.
544
5452015-03-14  Mike Frysinger  <vapier@gentoo.org>
546
547	* configure.ac (AC_CHECK_HEADERS): Delete.
548	* aclocal.m4, configure: Regenerate.
549
5502014-08-19  Alan Modra  <amodra@gmail.com>
551
552	* configure: Regenerate.
553
5542014-08-15  Roland McGrath  <mcgrathr@google.com>
555
556	* configure: Regenerate.
557	* config.in: Regenerate.
558
5592014-03-04  Mike Frysinger  <vapier@gentoo.org>
560
561	* configure: Regenerate.
562
5632013-09-23  Alan Modra  <amodra@gmail.com>
564
565	* configure: Regenerate.
566
5672013-06-03  Mike Frysinger  <vapier@gentoo.org>
568
569	* aclocal.m4, configure: Regenerate.
570
5712013-05-10  Freddie Chopin  <freddie_chopin@op.pl>
572
573	* configure: Rebuild.
574
5752013-03-26  Mike Frysinger  <vapier@gentoo.org>
576
577	* configure: Regenerate.
578
5792013-03-23  Joel Sherrill  <joel.sherrill@oarcorp.com>
580
581	* configure.ac: Use $SIM_DV_SOCKSER_O.
582	* configure: Regenerated.
583
5842012-06-15  Joel Brobecker  <brobecker@adacore.com>
585
586	* config.in, configure: Regenerate.
587
5882012-03-24  Mike Frysinger  <vapier@gentoo.org>
589
590	* aclocal.m4, config.in, configure: Regenerate.
591
5922011-12-03  Mike Frysinger  <vapier@gentoo.org>
593
594	* aclocal.m4: New file.
595	* configure: Regenerate.
596
5972011-10-19  Mike Frysinger  <vapier@gentoo.org>
598
599	* configure: Regenerate after common/acinclude.m4 update.
600
6012011-10-17  Mike Frysinger  <vapier@gentoo.org>
602
603	* configure.ac: Change include to common/acinclude.m4.
604
6052011-10-17  Mike Frysinger  <vapier@gentoo.org>
606
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.
610
6112011-07-05  Mike Frysinger  <vapier@gentoo.org>
612
613	* interp.c (sim_do_command): Delete.
614
6152010-01-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
616
617	* configure: Regenerate.
618
6192009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
620
621	* config.in: Regenerate.
622	* configure: Likewise.
623
624	* configure: Regenerate.
625
6262008-07-11  Hans-Peter Nilsson  <hp@axis.com>
627
628	* configure: Regenerate to track ../common/common.m4 changes.
629	* config.in: Ditto.
630
6312008-06-06  Vladimir Prus  <vladimir@codesourcery.com>
632	    Daniel Jacobowitz  <dan@codesourcery.com>
633	    Joseph Myers  <joseph@codesourcery.com>
634
635	* configure: Regenerate.
636
6372006-12-21  Hans-Peter Nilsson  <hp@axis.com>
638
639	* config.in: Regenerate.
640
6412006-06-13  Richard Earnshaw  <rearnsha@arm.com>
642
643	* configure: Regenerated.
644
6452006-06-05  Daniel Jacobowitz  <dan@codesourcery.com>
646
647	* configure: Regenerated.
648
6492006-05-31  Daniel Jacobowitz  <dan@codesourcery.com>
650
651	* configure: Regenerated.
652
6532006-03-29  Hans-Peter Nilsson  <hp@axis.com>
654
655	* configure: Regenerate.
656
6572005-03-23  Mark Kettenis  <kettenis@gnu.org>
658
659	* configure: Regenerate.
660
6612005-01-14  Andrew Cagney  <cagney@gnu.org>
662
663	* configure.ac: Sinclude aclocal.m4 before common.m4.  Add
664	explicit call to AC_CONFIG_HEADER.
665	* configure: Regenerate.
666
6672005-01-11  Andrew Cagney  <cagney@localhost.localdomain>
668
669	* configure: Regenerated to track ../common/aclocal.m4 changes.
670
6712005-01-07  Andrew Cagney  <cagney@gnu.org>
672
673	* configure.ac: Rename configure.in, require autoconf 2.59.
674	* configure: Re-generate.
675
6762004-12-08  Hans-Peter Nilsson  <hp@axis.com>
677
678	* configure: Regenerate for ../common/aclocal.m4 update.
679
6802004-06-15  Alan Modra  <amodra@bigpond.net.au>
681
682	* interp.c (sim_prepare_for_program): Use bfd_get_section_size
683	instead of bfd_get_section_size_before_reloc.
684
6852003-08-08  Stephane Carrez  <stcarrez@nerim.fr>
686
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.
707
7082003-08-08  Stephane Carrez  <stcarrez@nerim.fr>
709
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.
725
7262003-08-08  Stephane Carrez  <stcarrez@nerim.fr>,
727
728	* sim-main.h (PAGE_REGNUM, Z_REGNUM): Use same numbering as gdb.
729
7302003-08-08  Stephane Carrez  <stcarrez@nerim.fr>,
731	    Gary Piercey <gpiercey@northstar-technical.com>
732
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
738
7392003-03-02  Stephane Carrez  <stcarrez@nerim.fr>
740
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.
744
7452003-03-01  Stephane Carrez  <stcarrez@nerim.fr>
746
747	* interp.c (sim_fetch_register): Only store a single byte for
748	1 byte registers.
749
7502003-02-27  Andrew Cagney  <cagney@redhat.com>
751
752	* interp.c (sim_prepare_for_program, sim_open)
753	(sim_create_inferior): Rename _bfd to bfd.
754
7552002-08-13  Stephane Carrez  <stcarrez@nerim.fr>
756
757	* dv-m68hc11eepr.c (struct m68hc11eepr ): Use const char* for filename.
758
7592002-08-13  Marko Kohtala  <marko.kohtala@luukku.com>
760
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.
764
7652002-08-13  Marko Kohtala  <marko.kohtala@luukku.com>
766
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.
770
7712002-08-13  Stephane Carrez  <stcarrez@nerim.fr>
772
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.
780
7812002-08-13  Stephane Carrez  <Stephane.Carrez@nerim.fr>
782
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.
786
7872002-08-13  Marko Kohtala  <marko.kohtala@luukku.com>
788
789	* dv-m68hc11.c (m68hc11cpu_io_write): Fix to update IO mapping
790	when IO mapping changed, not when internal RAM mapping is changed.
791
7922002-08-13  Stephane Carrez  <stcarrez@nerim.fr>
793
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.
807
8082002-06-16  Andrew Cagney  <ac131313@redhat.com>
809
810	* configure: Regenerated to track ../common/aclocal.m4 changes.
811
8122002-06-09  Andrew Cagney  <cagney@redhat.com>
813
814	* Makefile.in (INCLUDE): Update path to callback.h.
815	* sim-main.h: Include "gdb/callback.h" and "gdb/remote-sim.h".
816
8172002-03-07  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
818
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.
833
8342002-03-07  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
835
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.
863
8642002-03-07  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
865
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.
882
8832002-03-07  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
884
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.
903
9042001-07-28  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
905
906	* dv-m68hc11eepr.c (m68hc11eepr_info): Fix print of current write
907	address.
908	(m68hc11eepr_port_event): Fix detach/attach logic.
909
9102001-07-22  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
911
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.
917
9182001-07-10  Andrew Cagney  <ac131313@redhat.com>
919
920	* Makefile.in (gencode): Provide explicit path to gencode.c.
921
9222001-05-20  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
923
924	* Makefile.in (M68HC11_OBJS): Add m68hc12int.o.
925	(m68hc12int.c): Generate using gencode -m6812.
926	(m68hc11int.c): Likewise with -m6811.
927
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.
943
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.
957
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.
980
9812001-05-20  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
982
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.
994
9952000-11-26  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
996
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.
1005
10062000-11-22  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
1007
1008	* dv-m68hc11.c (attach_m68hc11_regs): Register a delete handler.
1009	(m68hc11cpu_delete): Delete handler to detach the address space.
1010
10112000-11-24  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
1012
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.
1016
10172000-09-11  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
1018
1019	* Makefile.in: Was missing from initial patch.
1020
10212000-09-10  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
1022
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.
1027
10282000-09-10  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
1029
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.
1033
10342000-09-10  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
1035
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.
1044
10452000-09-06  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
1046
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.
1054
10552000-09-06  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
1056
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.
1062
10632000-08-11  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
1064
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.
1085
1086Thu Jul 27 21:27:25 2000  Andrew Cagney  <cagney@b1.cygnus.com>
1087
1088	* configure, config.in: Regenerate.
1089
10902000-06-25  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
1091
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.
1103
11042000-06-24  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
1105
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.
1115
11162000-06-18  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
1117
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.
1124
11252000-06-17  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
1126
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.
1133
11342000-05-31  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
1135
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.
1139
11402000-05-28  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
1141
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.
1146
11472000-04-16  Stephane Carrez  <stcarrez@worldnet.fr>
1148
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.
1155
11562000-02-24  Stephane Carrez  <stcarrez@worldnet.fr>
1157
1158	* sim-main.h: Remove WITH_TARGET_* defines.
1159	* Makefile.in (SIM_EXTRA_CFLAGS): Specify the WITH_TARGET_* flags.
1160
11612000-02-08  Stephane Carrez  <stcarrez@worldnet.fr>
1162
1163	* dv-m68hc11sio.c (m68hc11sio_port_event): Setup the SCI to
1164	1200 baud when cpu is in bootstrap mode.
1165
1166	* dv-m68hc11tim.c (m68hc11tim_io_write_buffer): Be able to
1167	write in the TCTN timer register.
1168
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.
1173
1174	* dv-m68hc11tim.c (to_realtime): Likewise.
1175
1176	* interp.c (sim_open): When building device tree, only provide
1177	devices that do not exist yet.
1178
1179	* emulos.c: Fix compilation pb under Windows.
1180
1181	* dv-m68hc11.c (attach_m68hc11_regs): Get the clock frequency
1182	from the 'clock' property.
1183
11842000-01-02  Stephane Carrez  <stcarrez@worldnet.fr>
1185
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.
1192
11931999-12-31  Stephane Carrez  <stcarrez@worldnet.fr>
1194
1195	* dv-m68hc11.c (m68hc11cpu_io_write_buffer): Clear byte to avoid
1196	returning random values.
1197
11981999-12-17  Stephane Carrez  <stcarrez@worldnet.fr>
1199
1200	* gencode.c: Fix "subb N,x" that used a instead of b.
1201
12021999-09-09  Stephane Carrez  <stcarrez@worldnet.fr>
1203
1204	* gencode.c: Fixed sbc8 and adc8 when there was a initial carry.
1205
12061999-09-01  Stephane Carrez  <stcarrez@worldnet.fr>
1207
1208	* sim-main.h (SIM_HANDLES_LMA): Define to enable loading using lma.
1209
12101999-08-14  Stephane Carrez  <stcarrez@worldnet.fr>
1211
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.
1220
12211999-08-13  Stephane Carrez  <stcarrez@worldnet.fr>
1222
1223	* gencode.c: For sbc8, check the carry and increment the source
1224	before trying to set the carry for the result.
1225
12261999-05-24  John S. Kallal <kallal@voicenet.com>
1227
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().
1231
12321999-05-16  Stephane Carrez  <stcarrez@worldnet.fr>
1233
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).
1241
12421999-05-14  Stephane Carrez  <stcarrez@worldnet.fr>
1243
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.
1255
12561999-05-02  Stephane Carrez  <stcarrez@worldnet.fr>
1257
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.
1268