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