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