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