sim: clean up stale AC_PREREQ refs
[deliverable/binutils-gdb.git] / sim / m68hc11 / ChangeLog
CommitLineData
50df264d
MF
12021-01-09 Mike Frysinger <vapier@gentoo.org>
2
3 * configure: Regenerate.
4
bf470982
MF
52021-01-09 Mike Frysinger <vapier@gentoo.org>
6
7 * configure.ac (SIM_AC_OPTION_WARNINGS): Pass "no".
8 * configure: Regenerate.
9
46f900c0
MF
102021-01-08 Mike Frysinger <vapier@gentoo.org>
11
12 * configure: Regenerate.
13
dfb856ba
MF
142021-01-04 Mike Frysinger <vapier@gentoo.org>
15
16 * configure: Regenerate.
17
5c887dd5
JB
182017-09-06 John Baldwin <jhb@FreeBSD.org>
19
20 * configure: Regenerate.
21
13a590ca
MF
222017-02-13 Mike Frysinger <vapier@gentoo.org>
23
24 * gencode.c: Include libiberty.h.
25 (TABLE_SIZE): Delete.
26 (find_opcode_pattern): Change TABLE_SIZE to ARRAY_SIZE.
27 (gen_interpreter): Likewise.
28 * interrupts.c (TableSize): Delete.
29 (interrupts_update_pending): Change TableSize to ARRAY_SIZE.
30
fa0843f5
MF
312016-08-16 Mike Frysinger <vapier@gentoo.org>
32
33 * sim-main.h (inline): Delete define.
34 (phys_to_virt): Change inline to STATIC_INLINE.
35 (memory_read8, memory_write8, memory_read16, memory_write16,
36 cpu_ccr_update_tst16, cpu_ccr_update_shift8, cpu_ccr_update_shift16,
37 cpu_ccr_update_add8, cpu_ccr_update_sub8, cpu_ccr_update_add16,
38 cpu_ccr_update_sub16, cpu_m68hc11_push_uint8, cpu_m68hc11_push_uint16,
39 cpu_m68hc11_pop_uint8, cpu_m68hc11_pop_uint16, cpu_m68hc12_push_uint8,
40 cpu_m68hc12_push_uint16, cpu_m68hc12_pop_uint8,
41 cpu_m68hc12_pop_uint16, cpu_fetch8, cpu_fetch16): Likewise.
42
5357150c
MF
432016-08-15 Mike Frysinger <vapier@gentoo.org>
44
45 * interp.c (sim_get_bank_parameters): Delete abfd arg.
46 Replace all symbol lookup code with calls to trace_sym_value.
47 (sim_prepare_for_program): Update sim_get_bank_parameters call.
48
6f64fd48
MF
492016-08-13 Mike Frysinger <vapier@gentoo.org>
50
51 * dv-m68hc11.c (m68hc11cpu_port_event): Adjust cpu prototype style.
52 * dv-m68hc11spi.c (m68hc11spi_port_event): Likewise.
53 * dv-m68hc11tim.c (m68hc11tim_print_timer): Likewise.
54 * emulos.c (emul_bench): Likewise.
55 (emul_write): Likewise. Also rename state to cpu.
56 (emul_os): Rename proc to cpu.
57 * gencode.c: Rename proc to cpu.
58 * interrupts.c (interrupts_initialize): Likewise.
59 * interrupts.h (interrupts): Adjust cpu type.
60 (interrupts_initialize): Likewise.
61 * m68hc11_sim.c (cpu_get_reg): Adjust cpu prototype style.
62 (cpu_get_src_reg, cpu_set_dst_reg, cpu_set_reg,
63 cpu_get_indexed_operand_addr, cpu_get_indexed_operand8,
64 cpu_get_indexed_operand16, cpu_dbcc, cpu_exg): Likewise.
65 (cpu_ccr_update_tst8): Rename proc to cpu.
66 * sim-main.h: Rename PROC and proc to cpu.
67
527aaa4a
MF
682016-08-13 Mike Frysinger <vapier@gentoo.org>
69
70 * dv-m68hc11eepr.c (attach_m68hc11eepr_regs): Drop cast with
71 return value of hw_malloc.
72 * dv-m68hc11sio.c (m68hc11sio_rx_poll): Mark static.
73 (m68hc11sio_tx_poll): Likewise.
74 * dv-m68hc11spi.c (m68hc11spi_clock): Likewise.
75 * dv-m68hc11tim.c (m68hc11tim_timer_event): Likewise.
76 * dv-nvram.c (attach_nvram_regs): Drop cast with
77 return value of hw_malloc.
78 * emulos.c (emul_bench): Mark static.
79 (emul_write): Likewise.
80 (emul_exit): Likewise.
81 * gencode.c: Include stdio.h.
82 (gen_function_entry): Unify two print lines.
83 (cmp_opcode): Mark args const.
84
ce39bd38
MF
852016-01-10 Mike Frysinger <vapier@gentoo.org>
86
87 * config.in, configure: Regenerate.
88
35656e95
MF
892016-01-10 Mike Frysinger <vapier@gentoo.org>
90
91 * configure: Regenerate.
92
16f7876d
MF
932016-01-10 Mike Frysinger <vapier@gentoo.org>
94
95 * configure: Regenerate.
96
e19418e0
MF
972016-01-10 Mike Frysinger <vapier@gentoo.org>
98
99 * configure: Regenerate.
100
99d8e879
MF
1012016-01-10 Mike Frysinger <vapier@gentoo.org>
102
103 * configure: Regenerate.
104
347fe5bb
MF
1052016-01-10 Mike Frysinger <vapier@gentoo.org>
106
107 * configure.ac (SIM_AC_OPTION_INLINE): Delete call.
108 * configure: Regenerate.
109
22be3fbe
MF
1102016-01-10 Mike Frysinger <vapier@gentoo.org>
111
112 * configure: Regenerate.
113
0dc73ef7
MF
1142016-01-10 Mike Frysinger <vapier@gentoo.org>
115
116 * configure: Regenerate.
117
936df756
MF
1182016-01-09 Mike Frysinger <vapier@gentoo.org>
119
120 * config.in, configure: Regenerate.
121
2e3d4f4d
MF
1222016-01-06 Mike Frysinger <vapier@gentoo.org>
123
124 * interp.c (sim_open): Mark argv const.
125 (sim_create_inferior): Mark argv and env const.
126
9bbf6f91
MF
1272016-01-04 Mike Frysinger <vapier@gentoo.org>
128
129 * configure: Regenerate.
130
77cf2ef5
MF
1312016-01-03 Mike Frysinger <vapier@gentoo.org>
132
133 * interp.c (sim_open): Update sim_parse_args comment.
134
61971b86
MF
1352016-01-03 Mike Frysinger <vapier@gentoo.org>
136
137 * sim-main.h (sim_state): Delete devices member.
138
0cb8d851
MF
1392016-01-03 Mike Frysinger <vapier@gentoo.org>
140
141 * configure.ac (SIM_AC_OPTION_HOSTENDIAN): Delete.
142 * configure: Regenerate.
143
1ac72f06
MF
1442016-01-02 Mike Frysinger <vapier@gentoo.org>
145
146 * configure.ac (SIM_AC_OPTION_ENDIAN): Change BIG_ENDIAN to BIG.
147 * configure: Regenerate.
148
8e26d677
MF
1492015-12-30 Mike Frysinger <vapier@gentoo.org>
150
151 * configure.ac: Change LITTLE_ENDIAN to BIG_ENDIAN.
152 * configure: Regenerate.
153
eca4255a
MF
1542015-12-30 Mike Frysinger <vapier@gentoo.org>
155
156 * imterp.c (sim_open): Delete current_alignment and
157 current_target_byte_order assignments.
158 * configure.ac: Call SIM_AC_OPTION_ENDIAN.
159 * configure: Regenerate.
160
e1211e55
MF
1612015-12-30 Mike Frysinger <vapier@gentoo.org>
162
163 * wrapper.c (m68hc11_reg_store, m68hc11_reg_fetch): Define.
164 (sim_open): Call CPU_REG_FETCH/CPU_REG_STORE.
165 (sim_store_register): Rename to ...
166 (m68hc11_reg_store): ... this. Delete local cpu var.
167 (sim_fetch_register): Rename to ...
168 (m68hc11_reg_fetch): ... this. Delete local cpu var.
169
5e744ef8
MF
1702015-12-27 Mike Frysinger <vapier@gentoo.org>
171
172 * Makefile.in (SIM_OBJS): Delete sim-hload.o.
173
1b393626
MF
1742015-12-26 Mike Frysinger <vapier@gentoo.org>
175
176 * config.in, configure: Regenerate.
177
26936211
MF
1782015-12-24 Mike Frysinger <vapier@gentoo.org>
179
180 * sim-main.h (SIM_HANDLES_LMA): Delete.
181
84e8e361
MF
1822015-12-24 Mike Frysinger <vapier@gentoo.org>
183
184 * sim-main.h (WITH_WATCHPOINTS): Delete.
185
cdf850e9
MF
1862015-11-17 Mike Frysinger <vapier@gentoo.org>
187
188 * sim-main.h (WITH_MODULO_MEMORY): Delete.
189
797eee42
MF
1902015-11-15 Mike Frysinger <vapier@gentoo.org>
191
192 * Makefile.in (SIM_OBJS): Delete sim-reason.o and sim-stop.o.
193
d2dfd242
MF
1942015-11-14 Mike Frysinger <vapier@gentoo.org>
195
196 * Makefile.in (SIM_OBJS): Delete sim-load.o.
197
6e4f085c
MF
1982015-11-14 Mike Frysinger <vapier@gentoo.org>
199
200 * interp.c (sim_close): Delete.
201
8d0978fb
MF
2022015-06-23 Mike Frysinger <vapier@gentoo.org>
203
204 * configure: Regenerate.
205
a3487082
MF
2062015-06-12 Mike Frysinger <vapier@gentoo.org>
207
208 * configure: Regenerate.
209
306f4178
MF
2102015-06-12 Mike Frysinger <vapier@gentoo.org>
211
212 * configure: Regenerate.
213
09896bd2
MF
2142015-06-11 Mike Frysinger <vapier@gentoo.org>
215
216 * interp.c (interrupt_names): Delete.
217
a84f8df0
MF
2182015-06-11 Mike Frysinger <vapier@gentoo.org>
219
220 * Makefile.in (SIM_OBJS): Add sim-resume.o
221 * interp.c (has_stepped, sim_resume): Delete.
222
5d19c366
MF
2232015-06-11 Mike Frysinger <vapier@gentoo.org>
224
225 * interp.c (INLINE): Delete define.
226
0a13382c
NC
2272015-04-29 Nick Clifton <nickc@redhat.com>
228
229 PR 18273
230 * gencode.c (gen_fetch_operands): Remove unreachable code.
231
20bca71d
MF
2322015-04-18 Mike Frysinger <vapier@gentoo.org>
233
234 * sim-main.h (SIM_CPU): Delete.
235
7e83aa92
MF
2362015-04-18 Mike Frysinger <vapier@gentoo.org>
237
238 * sim-main.h (sim_cia): Delete.
239
034685f9
MF
2402015-04-17 Mike Frysinger <vapier@gentoo.org>
241
242 * sim-main.h (CIA_GET, CIA_SET): Delete.
243
78e9aa70
MF
2442015-04-15 Mike Frysinger <vapier@gentoo.org>
245
246 * Makefile.in (SIM_OBJS): Delete sim-cpu.o.
247 * sim-main.h (STATE_CPU): Delete.
248
bf12d44e
MF
2492015-04-13 Mike Frysinger <vapier@gentoo.org>
250
251 * configure: Regenerate.
252
bea3f671
MF
2532015-04-13 Mike Frysinger <vapier@gentoo.org>
254
255 * Makefile.in (SIM_OBJS): Add sim-cpu.o.
256 * interp.c (m68hc11_pc_get, m68hc11_pc_set): New functions.
257 (sim_open): Declare new local var i. Call sim_cpu_alloc_all.
258 Call CPU_PC_FETCH & CPU_PC_STORE for all cpus.
259 (sim_pc_get): Delete.
260 * sim-main.h (SIM_CPU): Define.
261 (STATE_CPU): Drop &.
262 (struct sim_state): Change cpu to an array of pointers.
263
122bbfb5
MF
2642015-04-06 Mike Frysinger <vapier@gentoo.org>
265
266 * Makefile.in (SIM_OBJS): Delete sim-engine.o and sim-hrw.o.
267
2b6ca062
MF
2682015-03-31 Mike Frysinger <vapier@gentoo.org>
269
270 * m68hc11_sim.c (cpu_get_indexed_operand_addr,
271 cpu_get_indexed_operand8, cpu_get_indexed_operand16): Rename restrict
272 variable to restricted.
273 * sim-main.h (cpu_get_indexed_operand_addr): Likewise.
274
05f53ed6
MF
2752015-03-24 Mike Frysinger <vapier@gentoo.org>
276
277 * interp.c (sim_pc_get): New function.
278
523ba8f9
MF
2792015-03-24 Mike Frysinger <vapier@gentoo.org>
280
281 * compile.c (sim_set_profile, sim_set_profile_size, sim_set_callbacks,
282 sim_size, sim_trace): Delete.
283 * sim-main.h (sim_set_profile, sim_set_profile_size): Delete.
284
30452bbe
MF
2852015-03-24 Mike Frysinger <vapier@gentoo.org>
286
287 * configure: Regenerate.
288
64dd13df
MF
2892015-03-23 Mike Frysinger <vapier@gentoo.org>
290
291 * configure: Regenerate.
292
49cd1634
MF
2932015-03-23 Mike Frysinger <vapier@gentoo.org>
294
295 * configure: Regenerate.
296 * configure.ac (m68hc11_extra_objs): Delete.
297 * Makefile.in (SIM_OBJS): Delete SIM_EXTRA_OBJS.
298 (SIM_EXTRA_OBJS): Delete.
299
ae7d0cac
MF
3002015-03-16 Mike Frysinger <vapier@gentoo.org>
301
302 * config.in, configure: Regenerate.
303
465fb143
MF
3042015-03-14 Mike Frysinger <vapier@gentoo.org>
305
306 * Makefile.in (SIM_RUN_OBJS): Delete.
307
5cddc23a
MF
3082015-03-14 Mike Frysinger <vapier@gentoo.org>
309
310 * configure.ac (AC_CHECK_HEADERS): Delete.
311 * aclocal.m4, configure: Regenerate.
312
2974be62
AM
3132014-08-19 Alan Modra <amodra@gmail.com>
314
315 * configure: Regenerate.
316
faa743bb
RM
3172014-08-15 Roland McGrath <mcgrathr@google.com>
318
319 * configure: Regenerate.
320 * config.in: Regenerate.
321
1a8a700e
MF
3222014-03-04 Mike Frysinger <vapier@gentoo.org>
323
324 * configure: Regenerate.
325
bf3d9781
AM
3262013-09-23 Alan Modra <amodra@gmail.com>
327
328 * configure: Regenerate.
329
31e6ad7d
MF
3302013-06-03 Mike Frysinger <vapier@gentoo.org>
331
332 * aclocal.m4, configure: Regenerate.
333
d3685d60
TT
3342013-05-10 Freddie Chopin <freddie_chopin@op.pl>
335
336 * configure: Rebuild.
337
1517bd27
MF
3382013-03-26 Mike Frysinger <vapier@gentoo.org>
339
340 * configure: Regenerate.
341
256139f5
JS
3422013-03-23 Joel Sherrill <joel.sherrill@oarcorp.com>
343
344 * configure.ac: Use $SIM_DV_SOCKSER_O.
345 * configure: Regenerated.
346
5f3ef9d0
JB
3472012-06-15 Joel Brobecker <brobecker@adacore.com>
348
349 * config.in, configure: Regenerate.
350
2232061b
MF
3512012-03-24 Mike Frysinger <vapier@gentoo.org>
352
353 * aclocal.m4, config.in, configure: Regenerate.
354
db2e4d67
MF
3552011-12-03 Mike Frysinger <vapier@gentoo.org>
356
357 * aclocal.m4: New file.
358 * configure: Regenerate.
359
4399a56b
MF
3602011-10-19 Mike Frysinger <vapier@gentoo.org>
361
362 * configure: Regenerate after common/acinclude.m4 update.
363
9c082ca8
MF
3642011-10-17 Mike Frysinger <vapier@gentoo.org>
365
366 * configure.ac: Change include to common/acinclude.m4.
367
6ffe910a
MF
3682011-10-17 Mike Frysinger <vapier@gentoo.org>
369
370 * configure.ac: Change AC_PREREQ to 2.64. Delete AC_CONFIG_HEADER
371 call. Replace common.m4 include with SIM_AC_COMMON.
372 * configure: Regenerate.
373
2419798b
MF
3742011-07-05 Mike Frysinger <vapier@gentoo.org>
375
376 * interp.c (sim_do_command): Delete.
377
3725885a
RW
3782010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
379
380 * configure: Regenerate.
381
d6416cdc
RW
3822009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
383
81ecdfbb
RW
384 * config.in: Regenerate.
385 * configure: Likewise.
386
d6416cdc
RW
387 * configure: Regenerate.
388
b5bd9624
HPN
3892008-07-11 Hans-Peter Nilsson <hp@axis.com>
390
391 * configure: Regenerate to track ../common/common.m4 changes.
392 * config.in: Ditto.
393
6efef468 3942008-06-06 Vladimir Prus <vladimir@codesourcery.com>
72f4393d
L
395 Daniel Jacobowitz <dan@codesourcery.com>
396 Joseph Myers <joseph@codesourcery.com>
6efef468
JM
397
398 * configure: Regenerate.
399
b1bfc053
HPN
4002006-12-21 Hans-Peter Nilsson <hp@axis.com>
401
402 * config.in: Regenerate.
403
e85e3205
RE
4042006-06-13 Richard Earnshaw <rearnsha@arm.com>
405
406 * configure: Regenerated.
407
2f0122dc
DJ
4082006-06-05 Daniel Jacobowitz <dan@codesourcery.com>
409
410 * configure: Regenerated.
411
20e95c23
DJ
4122006-05-31 Daniel Jacobowitz <dan@codesourcery.com>
413
414 * configure: Regenerated.
415
b3a3ffef
HPN
4162006-03-29 Hans-Peter Nilsson <hp@axis.com>
417
418 * configure: Regenerate.
419
2b193c4a
MK
4202005-03-23 Mark Kettenis <kettenis@gnu.org>
421
422 * configure: Regenerate.
423
35695fd6
AC
4242005-01-14 Andrew Cagney <cagney@gnu.org>
425
426 * configure.ac: Sinclude aclocal.m4 before common.m4. Add
427 explicit call to AC_CONFIG_HEADER.
428 * configure: Regenerate.
429
38f48d72
AC
4302005-01-11 Andrew Cagney <cagney@localhost.localdomain>
431
432 * configure: Regenerated to track ../common/aclocal.m4 changes.
433
b7026657
AC
4342005-01-07 Andrew Cagney <cagney@gnu.org>
435
436 * configure.ac: Rename configure.in, require autoconf 2.59.
437 * configure: Re-generate.
438
379832de
HPN
4392004-12-08 Hans-Peter Nilsson <hp@axis.com>
440
441 * configure: Regenerate for ../common/aclocal.m4 update.
442
84b11e2e
AM
4432004-06-15 Alan Modra <amodra@bigpond.net.au>
444
445 * interp.c (sim_prepare_for_program): Use bfd_get_section_size
446 instead of bfd_get_section_size_before_reloc.
447
a685700c
SC
4482003-08-08 Stephane Carrez <stcarrez@nerim.fr>
449
450 * dv-m68hc11tim.c (cycle_to_string): Add flags parameter to better
451 control the translation.
452 (m68hc11tim_print_timer): Update cycle_to_string conversion.
453 (m68hc11tim_timer_event): Fix handling of output
454 compare register with its interrupts.
455 (m68hc11tim_io_write_buffer): Check output compare
456 after setting M6811_TMSK1.
457 (m68hc11tim_io_read_buffer): Fix compilation warning.
458 * dv-m68hc11.c (m68hc11_option_handler): Likewise.
459 * dv-m68hc11spi.c (m68hc11spi_info): Likewise.
460 * dv-m68hc11sio.c (m68hc11sio_info): Likewise.
461 * interrupts.c (interrupts_info): Likewise.
462 (interrupts_reset): Recognize bootstrap mode.
463 * sim-main.h (PRINT_CYCLE, PRINT_TIME): New defines.
464 (_sim_cpu): Add cpu_start_mode.
465 (cycle_to_string): Add flags member.
466 * m68hc11_sim.c (OPTION_CPU_BOOTSTRAP): New option.
467 (cpu_options): Declare new option bootstrap.
468 (cpu_option_handler): Handle it.
469 (cpu_info): Update call to cycle_to_string.
470
77342e5e
SC
4712003-08-08 Stephane Carrez <stcarrez@nerim.fr>
472
473 * sim-main.h (phys_to_virt): Use memory bank parameters to translate
474 the physical address in virtual address.
475 (struct _sim_cpu): Add memory bank members.
476 * m68hc11_sim.c (cpu_initialize): Clear memory bank parameters.
477 * interp.c (sim_hw_configure): Create memory bank according to memory
478 bank parameters.
479 (sim_get_bank_parameters): New function to obtain memory bank config
480 from the symbol table.
481 (sim_prepare_for_program): Call it to obtain the memory bank parameters.
482 (sim_open): Call sim_prepare_for_program.
483 * dv-m68hc11.c (m68hc11cpu_io_write_buffer): Use memory bank parameters
484 to check if address is within bank window.
485 (m68hc11cpu_io_read_buffer): Likewise.
486 (attach_m68hc11_regs): Map the memory bank according to memory bank
487 parameters.
488
53b3cd22
SC
4892003-08-08 Stephane Carrez <stcarrez@nerim.fr>,
490
491 * sim-main.h (PAGE_REGNUM, Z_REGNUM): Use same numbering as gdb.
492
962e9d85
SC
4932003-08-08 Stephane Carrez <stcarrez@nerim.fr>,
494 Gary Piercey <gpiercey@northstar-technical.com>
495
496 * m68hc11_sim.c (print_io_word): New function to print 16-bit value.
497 * sim-main.h (print_io_word): Declare.
498 * dv-m68hc11tim.c (tmsk1_desc): New description table for TMSK1.
499 (tflg1_desc): Likewise for TFLG1.
500 (m68hc11tim_info): Print input and output compare registers
501
9b9f7b3c
SC
5022003-03-02 Stephane Carrez <stcarrez@nerim.fr>
503
504 * Makefile.in (SIM_EXTRA_CFLAGS): Set WITH_TARGET_ADDRESS_BITSIZE
505 to 32 to support memory bank switching; temporarily use 32-bit for
506 WORD_BITSIZE to avoid a bug in sim-common.
507
00416c6e
SC
5082003-03-01 Stephane Carrez <stcarrez@nerim.fr>
509
510 * interp.c (sim_fetch_register): Only store a single byte for
511 1 byte registers.
512
6b4a8935
AC
5132003-02-27 Andrew Cagney <cagney@redhat.com>
514
515 * interp.c (sim_prepare_for_program, sim_open)
516 (sim_create_inferior): Rename _bfd to bfd.
517
099d1b50
SC
5182002-08-13 Stephane Carrez <stcarrez@nerim.fr>
519
520 * dv-m68hc11eepr.c (struct m68hc11eepr ): Use const char* for filename.
521
31c7c532
SC
5222002-08-13 Marko Kohtala <marko.kohtala@luukku.com>
523
72f4393d 524 * interp.c (sim_prepare_for_program): Look up the image for the
31c7c532
SC
525 reset vector and set cpu_use_elf_start to 1 if not found.
526 (sim_open): Do not set cpu_use_elf_start.
527
39762100
SC
5282002-08-13 Marko Kohtala <marko.kohtala@luukku.com>
529
530 * interp.c (sim_hw_configure): Return 1 for success.
531 (sim_prepare_for_program): Use the sim_hw_configure exit code to
532 return SIM_RC_FAIL.
533
7230d809
SC
5342002-08-13 Stephane Carrez <stcarrez@nerim.fr>
535
536 * dv-m68hc11.c (m68hc11cpu_io_read_buffer): Translate memory
537 bank window to some virtual address to read from extended memory.
538 (m68hc11cpu_io_write_buffer): Likewise for writing.
ca156d78 539 (attach_m68hc11_regs): When use_bank property is defined, attach
7230d809 540 to the 68HC12 16K memory bank window.
7230d809
SC
541 * interp.c (sim_hw_configure): Create memory region for banked
542 memory.
543
dcceded2
SC
5442002-08-13 Stephane Carrez <Stephane.Carrez@nerim.fr>
545
546 * interp.c (sim_hw_configure): Connect port-X to cpu-write-port.
547 * dv-m68hc11.c (m68hc11cpu_ports): Add cpu-write-port input.
548 (m68hc11cpu_port_event): Handle CPU_WRITE_PORT event.
549
abea9e28
SC
5502002-08-13 Marko Kohtala <marko.kohtala@luukku.com>
551
552 * dv-m68hc11.c (m68hc11cpu_io_write): Fix to update IO mapping
553 when IO mapping changed, not when internal RAM mapping is changed.
554
63f36def
SC
5552002-08-13 Stephane Carrez <stcarrez@nerim.fr>
556
557 * m68hc11_sim.c (cpu_special): Handle call and rtc instructions.
558 * sim-main.h (M6812_CALL_INDIRECT): Add to enum.
559 (m6811_regs): Add page register.
560 (cpu_set_page, cpu_get_page): New macros.
561 (phys_to_virt): New function.
562 (cpu_get_indexed_operand_addr, cpu_return): Declare.
563 * gencode.c: Identify indirect addressing mode for call and fix daa.
72f4393d 564 (gen_function_entry): New param to tell if src8/dst8 locals are
63f36def
SC
565 necessary.
566 (gen_interpreter): Use it to avoid generation of unused variables.
567 * interp.c (sim_fetch_register): Allow to read page register; page
568 register, A, B and CCR are only 1 byte wide.
569 (sim_store_register): Likewise for writing.
570
c8cca39f
AC
5712002-06-16 Andrew Cagney <ac131313@redhat.com>
572
573 * configure: Regenerated to track ../common/aclocal.m4 changes.
574
3c25f8c7
AC
5752002-06-09 Andrew Cagney <cagney@redhat.com>
576
577 * Makefile.in (INCLUDE): Update path to callback.h.
578 * sim-main.h: Include "gdb/callback.h" and "gdb/remote-sim.h".
579
86596dc8
SC
5802002-03-07 Stephane Carrez <Stephane.Carrez@worldnet.fr>
581
582 * m68hc11_sim.c (cpu_move8): Call sim_engine_abort in default case.
583 (cpu_move16): Likewise.
584 (sim_memory_error): Use sim_io_printf.
585 (cpu_option_handler): Fix compilation warning.
72f4393d 586 * interp.c (sim_hw_configure): Fix compilation warning;
86596dc8
SC
587 remove m68hc12sio@2 device.
588 (sim_open): Likewise.
72f4393d 589 * dv-m68hc11tim.c (m68hc11tim_port_event): Fix clear of TFLG2
86596dc8
SC
590 flags when reset.
591 (cycle_to_string): Improve convertion of cpu cycle number.
592 (m68hc11tim_info): Print info about PACNT.
593 (m68hc11tim_io_write_buffer): Fix clearing of TFLG2; handle
594 TCTL1 and TCTL2 registers.
595 * dv-m68hc11.c (m68hc11_info): Print 6811 current running mode.
596
827ec39a
SC
5972002-03-07 Stephane Carrez <Stephane.Carrez@worldnet.fr>
598
72f4393d 599 * interp.c (sim_hw_configure): Save the HW cpu pointer in the
827ec39a
SC
600 cpu struct.
601 (sim_hw_configure): Connect the capture input/output events.
602 * sim-main.h (_sim_cpu): New member hw_cpu.
603 (m68hc11cpu_set_oscillator): Declare.
604 (m68hc11cpu_clear_oscillator): Declare.
605 (m68hc11cpu_set_port): Declare.
606 * dv-m68hc11.c (m68hc11_options): New for oscillator commands.
607 (m68hc11cpu_ports): New input ports and output ports to reflect
608 the HC11 IOs.
609 (m68hc11_delete): Cleanup any running oscillator.
610 (attach_m68hc11_regs): Create the input oscillators.
611 (make_oscillator): New function.
612 (find_oscillator): New function.
613 (oscillator_handler): New function.
614 (reset_oscillators): New function.
615 (m68hc11cpu_port_event): Handle the new input ports.
616 (m68hc11cpu_set_oscillator): New function.
617 (m68hc11cpu_clear_oscillator): New function.
618 (get_frequency): New function.
619 (m68hc11_option_handler): New function.
620 (m68hc11cpu_set_port): New function.
621 (m68hc11cpu_io_write): Post the port output events.
622 * dv-m68hc11spi.c (set_bit_port): Use m68hc11cpu_set_port to set
623 the output port value.
624 * dv-m68hc11tim.c (m68hc11tim_port_event): Handle CAPTURE event
625 by latching the TCNT value in the register.
626
5abb9efa
SC
6272002-03-07 Stephane Carrez <Stephane.Carrez@worldnet.fr>
628
629 * sim-main.h (cpu_frame, cpu_frame_list): Remove.
630 (cpu_frame_reg, cpu_print_frame): Remove.
631 (cpu_m68hc11_push_uint8, cpu_m68hc11_pop_uint8): Cleanup.
632 (cpu_m68hc11_push_uint16, cpu_m68hc11_pop_uint16): Likewise.
633 (cpu_m68hc12_push_uint8, cpu_m68hc12_push_uint16): Likewise.
634 (cpu_m68hc12_pop_uint8, cpu_m68hc12_pop_uint16): Likewise.
635 * m68hc11_sim.c (cpu_find_frame): Remove.
636 (cpu_create_frame_list): Remove.
637 (cpu_remove_frame_list, cpu_create_frame, cpu_free_frame): Remove.
638 (cpu_frame_reg, cpu_print_frame, cpu_update_frame): Remove.
639 (cpu_call): Cleanup to remove #if HAVE_FRAME and calls to the above.
640 (cpu_update_frame): Likewise.
641 (cpu_return): Likewise.
642 (cpu_reset): Likewise.
72f4393d 643 (cpu_initialize): Likewise.
5abb9efa
SC
644 * interp.c (sim_do_command): Remove call to cpu_print_frame.
645
26128965
SC
6462002-03-07 Stephane Carrez <Stephane.Carrez@worldnet.fr>
647
648 * interrupts.c (interrupts_reset): New function, setup interrupt
649 vector address according to cpu mode.
650 (interrupts_initialize): Move reset portion to the above.
651 (interrupt_names): New table to give a name to interrupts.
652 (idefs): Handle pulse accumulator interrupts.
653 (interrupts_info): Print the interrupt history.
654 (interrupt_option_handler): New function.
655 (interrupt_options): New table of options.
656 (interrupts_update_pending): Keep track of when interrupts are
657 raised and implement breakpoint-on-raise-interrupt.
658 (interrupts_process): Keep track of when interrupts are taken
659 and implement breakpoint-on-interrupt.
660 * interrupts.h (struct interrupt_history): Define.
661 (struct interrupt): Keep track of the interrupt history.
662 (interrupts_reset): Declare.
663 (interrupts_initialize): Update prototype.
664 * m68hc11_sim.c (cpu_reset): Reset interrupts.
665 (cpu_initialize): Cleanup.
666
eefde351
SC
6672001-07-28 Stephane Carrez <Stephane.Carrez@worldnet.fr>
668
669 * dv-m68hc11eepr.c (m68hc11eepr_info): Fix print of current write
670 address.
671 (m68hc11eepr_port_event): Fix detach/attach logic.
672
00d0c012
SC
6732001-07-22 Stephane Carrez <Stephane.Carrez@worldnet.fr>
674
675 * Makefile.in (SIM_OBJS): Remove sim-resume.o
676 * interp.c (sim_resume): New function from sim-resume.c, install
677 the stepping event after having processed the pending ticks.
678 (has_stepped): Likewise.
679 (sim_info): Produce an output only if verbose or STATE_VERBOSE_P.
680
b51c7603
AC
6812001-07-10 Andrew Cagney <ac131313@redhat.com>
682
683 * Makefile.in (gencode): Provide explicit path to gencode.c.
684
81e09ed8
SC
6852001-05-20 Stephane Carrez <Stephane.Carrez@worldnet.fr>
686
687 * Makefile.in (M68HC11_OBJS): Add m68hc12int.o.
688 (m68hc12int.c): Generate using gencode -m6812.
689 (m68hc11int.c): Likewise with -m6811.
690
691 * gencode.c (m6811_opcode_patterns): New patterns for 68HC12.
692 (m6811_page1_opcodes): Remove duplicate entries.
693 (m6811_page2_opcodes): Likewise.
694 (m6811_page3_opcodes): Likewise.
695 (m6811_page4_opcodes): Likewise.
696 (m6812_page1_opcodes): New table for 68HC12 instructions.
697 (m6812_page2_opcodes): Likewise.
698 (gen_fetch_operands): New modes [] and &[] for 68HC12 operands.
699 (gen_save_result): Likewise.
700 (gen_interpreter_for_table): Handle 68HC11 and 68HC12 opcodes.
701 (cmp_opcode): New function for opcode comparision.
702 (prepare_table): Sort the opcodes.
703 (gen_interpreter): Prepare all the tables and generate either
704 a 68HC11 or a 68HC12 simulator.
705 (main): New options -m6811 and -m6812.
706
707 * m68hc11_sim.c (cpu_single_step): Use pointer to cpu interpretor.
708 (cpu_special): Simulation of some 68HC12 instructions.
709 (cpu_exg): New function.
710 (cpu_dbcc): Likewise.
711 (cpu_fetch_relbranch16): Likewise.
712 (cpu_push_all): Push according to 68HC11 or 68HC12.
713 (cpu_move16): Likewise.
714 (cpu_move8): Likewise.
715 (cpu_get_indexed_operand16): Likewise.
716 (cpu_get_indexed_operand8): Likewise.
717 (cpu_get_indexed_operand_addr): Likewise.
718 (cpu_set_reg, cpu_set_dst_reg, cpu_get_src_reg, cpu_get_reg): Likewise.
719 (cpu_reset): Setup INIT register according to architecture.
72f4393d 720
81e09ed8
SC
721 * sim-main.h (M6811_Special): Add 68HC12 specific instructions.
722 (_sim_cpu): Keep track of the cpu being simulated.
723 (cpu_get_tmp3, cpu_get_tmp2, cpu_set_tmp3, cpu_set_tmp2): New.
724 (cpu_m68hc11_push_uintxx): Rename of cpu_push_uintxx.
725 (cpu_m68hc11_pop_uint8): Likewise.
726 (cpu_m68hc12_push_uintxx): New functions for 68HC12.
727 (cpu_m68hc12_pop_uintxx): Likewise.
728 (cpu_exg, cpu_dbcc, cpu_move8, cpu_move16): Likewise,
729 (cpu_fetch_relbranch16): Likewise.
730 (cpu_interp_m6811): Rename of cpu_interp.
72f4393d 731 (cpu_interp_m6812): New function.
81e09ed8
SC
732 * interp.c (free_state): New function.
733 (dev_list_68hc12): New table.
734 (sim_board_reset): Reset depending on the cpu (HC11 or HC12).
735 (sim_hw_configure): New function.
736 (sim_prepare_for_program): New function.
737 (sim_open): Use above new functions.
738 (sim_close): Call free_state().
739 (sim_info): Print info according to cpu.
740 (sim_create_inferior): Use sim_prepare_for_program.
741 (sim_do_command): Configure the hardware after a change of the
742 architecture.
743
11115521
SC
7442001-05-20 Stephane Carrez <Stephane.Carrez@worldnet.fr>
745
746 * dv-m68hc11sio.c (m68hc11sio_tx_poll): Always check for
747 pending interrupts.
748 * interrupts.c (interrupts_process): Keep track of the last number
749 of masked insn cycles.
750 (interrupts_initialize): Clear last number of masked insn cycles.
751 (interrupts_info): Report them.
72f4393d
L
752 (interrupts_update_pending): Compute clear and set masks of
753 interrupts and clear the interrupt bits before setting them
11115521
SC
754 (due to SCI interrupt sharing).
755 * interrupts.h (struct interrupts): New members last_mask_cycles
756 and xirq_last_mask_cycles.
757
b93775f5
SC
7582000-11-26 Stephane Carrez <Stephane.Carrez@worldnet.fr>
759
760 * dv-m68hc11.c (m68hc11cpu_io_read_buffer): Use attach_size
761 instead of a hard-coded value.
762 (m68hc11cpu_io_write_buffer): Likewise.
763 (dv_m68hc11_descriptor): Define a 68hc12 device.
764 * dv-m68hc11eepr.c (dv_m68hc11eepr_descriptor): Likewise.
765 * dv-m68hc11tim.c (dv_m68hc11tim_descriptor): Likewise.
766 * dv-m68hc11spi.c (dv_m68hc11spi_descriptor): Likewise.
767 * dv-m68hc11sio.c (dv_m68hc11sio_descriptor): Likewise.
768
639aa4f7
SC
7692000-11-22 Stephane Carrez <Stephane.Carrez@worldnet.fr>
770
771 * dv-m68hc11.c (attach_m68hc11_regs): Register a delete handler.
772 (m68hc11cpu_delete): Delete handler to detach the address space.
773
6e73e7ed
SC
7742000-11-24 Stephane Carrez <Stephane.Carrez@worldnet.fr>
775
776 * dv-m68hc11eepr.c (attach_m68hc11eepr_regs): Use hw_malloc.
777 * dv-nvram.c (attach_nvram_regs): Use hw_free and hw_malloc
778 instead of free and malloc.
779
5f186447
SC
7802000-09-11 Stephane Carrez <Stephane.Carrez@worldnet.fr>
781
782 * Makefile.in: Was missing from initial patch.
783
9830501b
SC
7842000-09-10 Stephane Carrez <Stephane.Carrez@worldnet.fr>
785
786 * interp.c (sim_store_register): Remove soft register hack.
787 (sim_fetch_register): Likewise.
788 (sim_create_inferior): Likewise.
789 * sim-main.h: Likewise.
790
a8afa79a
SC
7912000-09-10 Stephane Carrez <Stephane.Carrez@worldnet.fr>
792
793 * interrupts.c (interrupts_update_pending): Clear the mask of
794 pending interrupts here.
795 (interrupts_get_current): Don't clear the mask of pending interrupts.
796
2990a9f4
SC
7972000-09-10 Stephane Carrez <Stephane.Carrez@worldnet.fr>
798
799 * sim-main.h: Define cycle_to_string.
72f4393d 800 * dv-m68hc11tim.c (cycle_to_string): New function to translate
2990a9f4
SC
801 the cpu cycle into some formatted time string.
802 (m68hc11tim_print_timer): Use it.
803 * dv-m68hc11sio.c (m68hc11sio_info): Use cycle_to_string.
804 * dv-m68hc11spi.c (m68hc11spi_info): Likewise.
805 * interrupts.c (interrupts_info): Likewise.
806 * m68hc11_sim.c (cpu_info): Likewise.
807
401493c8
SC
8082000-09-06 Stephane Carrez <Stephane.Carrez@worldnet.fr>
809
810 * dv-m68hc11tim.c (m68hc11tim_timer_event): Compute the overflow
811 interrupt and compare events accurately. Take into account the
812 pending ticks not processed by the simulator yet (introduced a shift).
813 (m68hc11_port_event): Reset the timer interrupt delays.
814 (m68hc11tim_io_read_buffer): Be able to read several bytes.
815 (m68hc11tim_io_write_buffer): Likewise for write.
816 (m68hc11tim_io_write_buffer): Recompute the timer overflow interrupt.
817
4d72d17a
SC
8182000-09-06 Stephane Carrez <Stephane.Carrez@worldnet.fr>
819
820 * dv-m68hc11spi.c (m68hc11spi_io_read_buffer): Clear the interrupts.
821 (m68hc11spi_io_write_buffer): Likewise and fix the spi frame.
822 (m68hc11spi_info): Clarify the status report
823 of the SPI when a byte is being sent.
824 (m68hc11spi_clock): Fix the spi send frame.
72f4393d 825
63348d04
SC
8262000-08-11 Stephane Carrez <Stephane.Carrez@worldnet.fr>
827
828 * sim-main.h (m68hc11_map_level): Define level of address mappings.
829 * dv-m68hc11eepr.c (struct m68hc11eepr ): New flag to indicate
830 whether the eeprom is currently mapped or not.
831 (m68hc11eepr_port_event): Use the flag to see if we must unmap
832 or map the eeprom. Update the flag to reflect the current state.
833 Use M6811_EEPROM_LEVEL when mapping the eeprom.
834 (m68hc11eepr_finish): Remove overlap hack.
835 (attach_m68hc11eepr_regs): Use M6811_IO_LEVEL when mapping the
836 config and control registers.
837 * dv-m68hc11.c (m68hc11cpu_finish): Remove overlap hack.
838 (attach_m68hc11_regs): Use M6811_IO_LEVEL.
839 (m68hc11cpu_io_write): Likewise when unmapping and re-mapping.
840 * dv-m68hc11spi.c (m68hc11spi_finish): Likewise.
841 (attach_m68hc11spi_regs): Likewise.
842 * dv-m68hc11tim.c (m68hc11tim_finish): Likewise.
843 (attach_m68hc11tim_regs): Likewise.
844 * dv-m68hc11sio.c (m68hc11sio_finish): Likewise.
845 (attach_m68hc11sio_regs): Likewise.
846 * interp.c (sim_open): Likewise.
847 * dv-nvram.c (attach_nvram_regs): Likewise.
848
5d031c16
AC
849Thu Jul 27 21:27:25 2000 Andrew Cagney <cagney@b1.cygnus.com>
850
851 * configure, config.in: Regenerate.
852
e0709f50
AC
8532000-06-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
854
855 * Makefile.in (SIM_RUN_OBJS): Define to use nrun.c
856 * dv-m68hc11.c (m68hc11cpu_finish): Register detach address callback.
857 (dv_m6811_detach_address_callback): New function to detach a
858 device from an address space.
859 * dv-m68hc11eepr.c (m68hc11eepr_port_event): Initialize
860 config register according to --cpu-config option.
861 * sim-main.h (_sim_cpu): Add cpu_config member.
862 * interp.c (sim_open): Delete specific simulator options.
863 * m68hc11_sim.c (cpu_option_handler): New options
864 --emulos and -cpu-config <val> to configure the simulator.
865 (cpu_initialize): Initialize cpu_config member.
866
8672000-06-24 Stephane Carrez <Stephane.Carrez@worldnet.fr>
868
869 * emulos.c: Fix indentation and comments.
870 * gencode.c: Likewise.
871 * dv-m68hc11tim.c (m68hc11tim_timer_event): Handle COMPARE_EVENT.
872 (m68hc11tim_io_write_buffer): Write compare registers and
873 setup compare event.
874 * interp.c: Remove unused global variables.
875 * interrupts.c (idefs): New compare interrupts.
876 Fix indentation and comments.
877 * interrupts.h: Likewise.
878
8792000-06-18 Stephane Carrez <Stephane.Carrez@worldnet.fr>
880
881 * dv-m68hc11sio.c: Fix indentation and comments.
882 Remove INT_PORT.
883 * dv-m68hc11.c: Fix indentation and comments.
884 (m68hc11cpu_port_event): Move initialization of M6811_HPRIO from here.
885 * m68hc11_sim.c (cpu_reset): To here.
886 * dv-m68hc11eepr.c: Fix indentation and comments.
72f4393d 887
e0709f50
AC
8882000-06-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
889
890 * dv-nvram.c: New file, rename from dv-pram.c.
891 * dv-pram.c: Delete file.
892 * sim-main.h: Incorporate m68hc11_sim.h.
893 * m68hc11_sim.h: Delete file.
894 * configure.in: Rename pram into nvram.
895 * interp.c (sim_open): Likewise in creation of device tree.
72f4393d 896
e0709f50
AC
8972000-05-31 Stephane Carrez <Stephane.Carrez@worldnet.fr>
898
899 * interp.c (sim_open): Create the SPI device.
900 * dv-m68hc11spi.c: New file for SPI device simulation.
901 * configure.in (hw_extra_devices): Add SPI device.
902
9032000-05-28 Stephane Carrez <Stephane.Carrez@worldnet.fr>
904
905 * interrupts.c (interrupts_initialize): Clear XIRQ accounting.
906 (interrupts_process): Separate IRQ and XIRQ accounting.
907 (interrupts_info): Report XIRQ accounting.
908 * interrupts.h (struct interrupts): Added accounting for XIRQ.
909
9102000-04-16 Stephane Carrez <stcarrez@worldnet.fr>
911
912 * dv-pram.c (attach_pram_regs): Fix the 'save-modified' mode.
913 * m68hc11_sim.h (_sim_cpu): Allow configuration of cpu mode.
72f4393d 914 * dv-m68hc11.c (attach_m68hc11_regs): Get the cpu MODA,MODB
e0709f50
AC
915 configuration from the 'mode' device tree property.
916 (m68hc11cpu_port_event): Reset M6811_HPRIO to the cpu MODA, MODB
917 configuration.
918
9192000-02-24 Stephane Carrez <stcarrez@worldnet.fr>
920
921 * sim-main.h: Remove WITH_TARGET_* defines.
922 * Makefile.in (SIM_EXTRA_CFLAGS): Specify the WITH_TARGET_* flags.
923
9242000-02-08 Stephane Carrez <stcarrez@worldnet.fr>
925
926 * dv-m68hc11sio.c (m68hc11sio_port_event): Setup the SCI to
927 1200 baud when cpu is in bootstrap mode.
928
929 * dv-m68hc11tim.c (m68hc11tim_io_write_buffer): Be able to
930 write in the TCTN timer register.
931
932 * dv-m68hc11sio.c (m68hc11sio_io_write_buffer): Divide cpu clock
933 by 4 to obtain the E clock frequency.
934 (sccr2_desc): Use M6811_TIE for TIE bit.
935 (m68hc11sio_info): Fix baud rate report.
936
937 * dv-m68hc11tim.c (to_realtime): Likewise.
938
939 * interp.c (sim_open): When building device tree, only provide
940 devices that do not exist yet.
941
942 * emulos.c: Fix compilation pb under Windows.
943
944 * dv-m68hc11.c (attach_m68hc11_regs): Get the clock frequency
945 from the 'clock' property.
946
9472000-01-02 Stephane Carrez <stcarrez@worldnet.fr>
948
949 * m68hc11_sim.h (*_REGNUM): Define.
950 (_sim_cpu): New member cpu_page0_reg table.
951 * interp.c (sim_create_inferior): Fill the cpu_page0_reg table with
952 addresses of soft registers in .page0.
72f4393d 953 (sim_fetch_register, sim_store_register): Use cpu_page0_reg table
e0709f50
AC
954 to get/set soft registers.
955
9561999-12-31 Stephane Carrez <stcarrez@worldnet.fr>
957
958 * dv-m68hc11.c (m68hc11cpu_io_write_buffer): Clear byte to avoid
959 returning random values.
960
9611999-12-17 Stephane Carrez <stcarrez@worldnet.fr>
962
963 * gencode.c: Fix "subb N,x" that used a instead of b.
964
9651999-09-09 Stephane Carrez <stcarrez@worldnet.fr>
966
967 * gencode.c: Fixed sbc8 and adc8 when there was a initial carry.
968
9691999-09-01 Stephane Carrez <stcarrez@worldnet.fr>
970
971 * sim-main.h (SIM_HANDLES_LMA): Define to enable loading using lma.
972
9731999-08-14 Stephane Carrez <stcarrez@worldnet.fr>
974
975 * dv-m68hc11.c (attach_m68hc11_regs): Save the size of the
976 register region in the m68hc11cpu struct.
977 (m68hc11cpu_io_write): When the IO mapping addres changes,
978 detach the register region and re-attach it at the new address.
979 (m68hc11cpu_io_read_buffer): Renamed base_address into
980 attach_address.
981 (m68hc11cpu_io_write_buffer): Likewise. Pass the hw pointer
982 to m68hc11cpu_io_write.
983
9841999-08-13 Stephane Carrez <stcarrez@worldnet.fr>
985
986 * gencode.c: For sbc8, check the carry and increment the source
987 before trying to set the carry for the result.
988
9891999-05-24 John S. Kallal <kallal@voicenet.com>
72f4393d 990
e0709f50
AC
991 * interp.c (sim_get_info): Don't crash if the command line is 0.
992 Define prototype for sim_get_info() and init_system().
993 (sim_info): Correct call to sim_get_info().
72f4393d 994
e0709f50
AC
9951999-05-16 Stephane Carrez <stcarrez@worldnet.fr>
996
997 * configure.in: Recognize m6811-*-*.
998 * configure: Regenerate.
999 * m68hc11_sim.h (cpu_ccr_update_add8, cpu_ccr_update_add16,
1000 cpu_ccr_update_sub8, cpu_ccr_update_sub16):
1001 Correct the computation of carry of 8 and 16-bits add and subtract.
1002 * gencode.c: Use cpu_ccr_update_sub8 for subtraction (carry and
1003 overflow set in a different manner than add).
1004
10051999-05-14 Stephane Carrez <stcarrez@worldnet.fr>
1006
1007 * dv-m68hc11.c (dv_m6811_attach_address_callback): Removed a
1008 trace message.
1009 * interp.c (sim_open, sim_create_inferior): Initialize the
1010 cpu_elf_start from the ELF header.
1011 * m68hc11_sim.c (cpu_initialize): Clear the new data members.
1012 (cpu_restart): Use cpu_elf_start as the starting address when
1013 the flag is set.
1014 (cpu_special): When cpu_use_elf_start is set, the WAI instruction
1015 exits the simulator (exit status is in D).
1016 * m68hc11_sim.h (_sim_cpu): Added members cpu_use_elf_start and
1017 cpu_elf_star to start execution at address specified in ELF file.
1018
10191999-05-02 Stephane Carrez <stcarrez@worldnet.fr>
1020
1021 * Makefile.in, config.in, configure, configure.in: New files.
1022 * gencode.c: New file, generation of 68HC11 interpreter.
1023 * m68hc11_sim.h, m68hc11_sim.c: New files, specific operations
1024 for interpreter.
1025 * interrupts.c, interrupts.h: New files, management of interrupts.
72f4393d 1026 * interp.c, sim-main.h,
e0709f50
AC
1027 * dv-m68hc11.c, dv-m68hc11eepr.c, dv-m68hc11sio.c,
1028 dv-m68hc11tim.c, dv-pram.c: New files representing devices for
1029 68HC11 (dv-pram.c is generic and could probably migrate to common).
1030 * emulos.c: New file, basic emulation of some os.
This page took 1.028685 seconds and 4 git commands to generate.