]>
Commit | Line | Data |
---|---|---|
61971b86 MF |
1 | 2016-01-03 Mike Frysinger <vapier@gentoo.org> |
2 | ||
3 | * sim-main.h (sim_state): Delete devices member. | |
4 | ||
0cb8d851 MF |
5 | 2016-01-03 Mike Frysinger <vapier@gentoo.org> |
6 | ||
7 | * configure.ac (SIM_AC_OPTION_HOSTENDIAN): Delete. | |
8 | * configure: Regenerate. | |
9 | ||
1ac72f06 MF |
10 | 2016-01-02 Mike Frysinger <vapier@gentoo.org> |
11 | ||
12 | * configure.ac (SIM_AC_OPTION_ENDIAN): Change BIG_ENDIAN to BIG. | |
13 | * configure: Regenerate. | |
14 | ||
8e26d677 MF |
15 | 2015-12-30 Mike Frysinger <vapier@gentoo.org> |
16 | ||
17 | * configure.ac: Change LITTLE_ENDIAN to BIG_ENDIAN. | |
18 | * configure: Regenerate. | |
19 | ||
eca4255a MF |
20 | 2015-12-30 Mike Frysinger <vapier@gentoo.org> |
21 | ||
22 | * imterp.c (sim_open): Delete current_alignment and | |
23 | current_target_byte_order assignments. | |
24 | * configure.ac: Call SIM_AC_OPTION_ENDIAN. | |
25 | * configure: Regenerate. | |
26 | ||
e1211e55 MF |
27 | 2015-12-30 Mike Frysinger <vapier@gentoo.org> |
28 | ||
29 | * wrapper.c (m68hc11_reg_store, m68hc11_reg_fetch): Define. | |
30 | (sim_open): Call CPU_REG_FETCH/CPU_REG_STORE. | |
31 | (sim_store_register): Rename to ... | |
32 | (m68hc11_reg_store): ... this. Delete local cpu var. | |
33 | (sim_fetch_register): Rename to ... | |
34 | (m68hc11_reg_fetch): ... this. Delete local cpu var. | |
35 | ||
5e744ef8 MF |
36 | 2015-12-27 Mike Frysinger <vapier@gentoo.org> |
37 | ||
38 | * Makefile.in (SIM_OBJS): Delete sim-hload.o. | |
39 | ||
1b393626 MF |
40 | 2015-12-26 Mike Frysinger <vapier@gentoo.org> |
41 | ||
42 | * config.in, configure: Regenerate. | |
43 | ||
26936211 MF |
44 | 2015-12-24 Mike Frysinger <vapier@gentoo.org> |
45 | ||
46 | * sim-main.h (SIM_HANDLES_LMA): Delete. | |
47 | ||
84e8e361 MF |
48 | 2015-12-24 Mike Frysinger <vapier@gentoo.org> |
49 | ||
50 | * sim-main.h (WITH_WATCHPOINTS): Delete. | |
51 | ||
cdf850e9 MF |
52 | 2015-11-17 Mike Frysinger <vapier@gentoo.org> |
53 | ||
54 | * sim-main.h (WITH_MODULO_MEMORY): Delete. | |
55 | ||
797eee42 MF |
56 | 2015-11-15 Mike Frysinger <vapier@gentoo.org> |
57 | ||
58 | * Makefile.in (SIM_OBJS): Delete sim-reason.o and sim-stop.o. | |
59 | ||
d2dfd242 MF |
60 | 2015-11-14 Mike Frysinger <vapier@gentoo.org> |
61 | ||
62 | * Makefile.in (SIM_OBJS): Delete sim-load.o. | |
63 | ||
6e4f085c MF |
64 | 2015-11-14 Mike Frysinger <vapier@gentoo.org> |
65 | ||
66 | * interp.c (sim_close): Delete. | |
67 | ||
8d0978fb MF |
68 | 2015-06-23 Mike Frysinger <vapier@gentoo.org> |
69 | ||
70 | * configure: Regenerate. | |
71 | ||
a3487082 MF |
72 | 2015-06-12 Mike Frysinger <vapier@gentoo.org> |
73 | ||
74 | * configure: Regenerate. | |
75 | ||
306f4178 MF |
76 | 2015-06-12 Mike Frysinger <vapier@gentoo.org> |
77 | ||
78 | * configure: Regenerate. | |
79 | ||
09896bd2 MF |
80 | 2015-06-11 Mike Frysinger <vapier@gentoo.org> |
81 | ||
82 | * interp.c (interrupt_names): Delete. | |
83 | ||
a84f8df0 MF |
84 | 2015-06-11 Mike Frysinger <vapier@gentoo.org> |
85 | ||
86 | * Makefile.in (SIM_OBJS): Add sim-resume.o | |
87 | * interp.c (has_stepped, sim_resume): Delete. | |
88 | ||
5d19c366 MF |
89 | 2015-06-11 Mike Frysinger <vapier@gentoo.org> |
90 | ||
91 | * interp.c (INLINE): Delete define. | |
92 | ||
0a13382c NC |
93 | 2015-04-29 Nick Clifton <nickc@redhat.com> |
94 | ||
95 | PR 18273 | |
96 | * gencode.c (gen_fetch_operands): Remove unreachable code. | |
97 | ||
20bca71d MF |
98 | 2015-04-18 Mike Frysinger <vapier@gentoo.org> |
99 | ||
100 | * sim-main.h (SIM_CPU): Delete. | |
101 | ||
7e83aa92 MF |
102 | 2015-04-18 Mike Frysinger <vapier@gentoo.org> |
103 | ||
104 | * sim-main.h (sim_cia): Delete. | |
105 | ||
034685f9 MF |
106 | 2015-04-17 Mike Frysinger <vapier@gentoo.org> |
107 | ||
108 | * sim-main.h (CIA_GET, CIA_SET): Delete. | |
109 | ||
78e9aa70 MF |
110 | 2015-04-15 Mike Frysinger <vapier@gentoo.org> |
111 | ||
112 | * Makefile.in (SIM_OBJS): Delete sim-cpu.o. | |
113 | * sim-main.h (STATE_CPU): Delete. | |
114 | ||
bf12d44e MF |
115 | 2015-04-13 Mike Frysinger <vapier@gentoo.org> |
116 | ||
117 | * configure: Regenerate. | |
118 | ||
bea3f671 MF |
119 | 2015-04-13 Mike Frysinger <vapier@gentoo.org> |
120 | ||
121 | * Makefile.in (SIM_OBJS): Add sim-cpu.o. | |
122 | * interp.c (m68hc11_pc_get, m68hc11_pc_set): New functions. | |
123 | (sim_open): Declare new local var i. Call sim_cpu_alloc_all. | |
124 | Call CPU_PC_FETCH & CPU_PC_STORE for all cpus. | |
125 | (sim_pc_get): Delete. | |
126 | * sim-main.h (SIM_CPU): Define. | |
127 | (STATE_CPU): Drop &. | |
128 | (struct sim_state): Change cpu to an array of pointers. | |
129 | ||
122bbfb5 MF |
130 | 2015-04-06 Mike Frysinger <vapier@gentoo.org> |
131 | ||
132 | * Makefile.in (SIM_OBJS): Delete sim-engine.o and sim-hrw.o. | |
133 | ||
2b6ca062 MF |
134 | 2015-03-31 Mike Frysinger <vapier@gentoo.org> |
135 | ||
136 | * m68hc11_sim.c (cpu_get_indexed_operand_addr, | |
137 | cpu_get_indexed_operand8, cpu_get_indexed_operand16): Rename restrict | |
138 | variable to restricted. | |
139 | * sim-main.h (cpu_get_indexed_operand_addr): Likewise. | |
140 | ||
05f53ed6 MF |
141 | 2015-03-24 Mike Frysinger <vapier@gentoo.org> |
142 | ||
143 | * interp.c (sim_pc_get): New function. | |
144 | ||
523ba8f9 MF |
145 | 2015-03-24 Mike Frysinger <vapier@gentoo.org> |
146 | ||
147 | * compile.c (sim_set_profile, sim_set_profile_size, sim_set_callbacks, | |
148 | sim_size, sim_trace): Delete. | |
149 | * sim-main.h (sim_set_profile, sim_set_profile_size): Delete. | |
150 | ||
30452bbe MF |
151 | 2015-03-24 Mike Frysinger <vapier@gentoo.org> |
152 | ||
153 | * configure: Regenerate. | |
154 | ||
64dd13df MF |
155 | 2015-03-23 Mike Frysinger <vapier@gentoo.org> |
156 | ||
157 | * configure: Regenerate. | |
158 | ||
49cd1634 MF |
159 | 2015-03-23 Mike Frysinger <vapier@gentoo.org> |
160 | ||
161 | * configure: Regenerate. | |
162 | * configure.ac (m68hc11_extra_objs): Delete. | |
163 | * Makefile.in (SIM_OBJS): Delete SIM_EXTRA_OBJS. | |
164 | (SIM_EXTRA_OBJS): Delete. | |
165 | ||
ae7d0cac MF |
166 | 2015-03-16 Mike Frysinger <vapier@gentoo.org> |
167 | ||
168 | * config.in, configure: Regenerate. | |
169 | ||
465fb143 MF |
170 | 2015-03-14 Mike Frysinger <vapier@gentoo.org> |
171 | ||
172 | * Makefile.in (SIM_RUN_OBJS): Delete. | |
173 | ||
5cddc23a MF |
174 | 2015-03-14 Mike Frysinger <vapier@gentoo.org> |
175 | ||
176 | * configure.ac (AC_CHECK_HEADERS): Delete. | |
177 | * aclocal.m4, configure: Regenerate. | |
178 | ||
2974be62 AM |
179 | 2014-08-19 Alan Modra <amodra@gmail.com> |
180 | ||
181 | * configure: Regenerate. | |
182 | ||
faa743bb RM |
183 | 2014-08-15 Roland McGrath <mcgrathr@google.com> |
184 | ||
185 | * configure: Regenerate. | |
186 | * config.in: Regenerate. | |
187 | ||
1a8a700e MF |
188 | 2014-03-04 Mike Frysinger <vapier@gentoo.org> |
189 | ||
190 | * configure: Regenerate. | |
191 | ||
bf3d9781 AM |
192 | 2013-09-23 Alan Modra <amodra@gmail.com> |
193 | ||
194 | * configure: Regenerate. | |
195 | ||
31e6ad7d MF |
196 | 2013-06-03 Mike Frysinger <vapier@gentoo.org> |
197 | ||
198 | * aclocal.m4, configure: Regenerate. | |
199 | ||
d3685d60 TT |
200 | 2013-05-10 Freddie Chopin <freddie_chopin@op.pl> |
201 | ||
202 | * configure: Rebuild. | |
203 | ||
1517bd27 MF |
204 | 2013-03-26 Mike Frysinger <vapier@gentoo.org> |
205 | ||
206 | * configure: Regenerate. | |
207 | ||
256139f5 JS |
208 | 2013-03-23 Joel Sherrill <joel.sherrill@oarcorp.com> |
209 | ||
210 | * configure.ac: Use $SIM_DV_SOCKSER_O. | |
211 | * configure: Regenerated. | |
212 | ||
5f3ef9d0 JB |
213 | 2012-06-15 Joel Brobecker <brobecker@adacore.com> |
214 | ||
215 | * config.in, configure: Regenerate. | |
216 | ||
2232061b MF |
217 | 2012-03-24 Mike Frysinger <vapier@gentoo.org> |
218 | ||
219 | * aclocal.m4, config.in, configure: Regenerate. | |
220 | ||
db2e4d67 MF |
221 | 2011-12-03 Mike Frysinger <vapier@gentoo.org> |
222 | ||
223 | * aclocal.m4: New file. | |
224 | * configure: Regenerate. | |
225 | ||
4399a56b MF |
226 | 2011-10-19 Mike Frysinger <vapier@gentoo.org> |
227 | ||
228 | * configure: Regenerate after common/acinclude.m4 update. | |
229 | ||
9c082ca8 MF |
230 | 2011-10-17 Mike Frysinger <vapier@gentoo.org> |
231 | ||
232 | * configure.ac: Change include to common/acinclude.m4. | |
233 | ||
6ffe910a MF |
234 | 2011-10-17 Mike Frysinger <vapier@gentoo.org> |
235 | ||
236 | * configure.ac: Change AC_PREREQ to 2.64. Delete AC_CONFIG_HEADER | |
237 | call. Replace common.m4 include with SIM_AC_COMMON. | |
238 | * configure: Regenerate. | |
239 | ||
2419798b MF |
240 | 2011-07-05 Mike Frysinger <vapier@gentoo.org> |
241 | ||
242 | * interp.c (sim_do_command): Delete. | |
243 | ||
3725885a RW |
244 | 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
245 | ||
246 | * configure: Regenerate. | |
247 | ||
d6416cdc RW |
248 | 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
249 | ||
81ecdfbb RW |
250 | * config.in: Regenerate. |
251 | * configure: Likewise. | |
252 | ||
d6416cdc RW |
253 | * configure: Regenerate. |
254 | ||
b5bd9624 HPN |
255 | 2008-07-11 Hans-Peter Nilsson <hp@axis.com> |
256 | ||
257 | * configure: Regenerate to track ../common/common.m4 changes. | |
258 | * config.in: Ditto. | |
259 | ||
6efef468 | 260 | 2008-06-06 Vladimir Prus <vladimir@codesourcery.com> |
72f4393d L |
261 | Daniel Jacobowitz <dan@codesourcery.com> |
262 | Joseph Myers <joseph@codesourcery.com> | |
6efef468 JM |
263 | |
264 | * configure: Regenerate. | |
265 | ||
b1bfc053 HPN |
266 | 2006-12-21 Hans-Peter Nilsson <hp@axis.com> |
267 | ||
268 | * config.in: Regenerate. | |
269 | ||
e85e3205 RE |
270 | 2006-06-13 Richard Earnshaw <rearnsha@arm.com> |
271 | ||
272 | * configure: Regenerated. | |
273 | ||
2f0122dc DJ |
274 | 2006-06-05 Daniel Jacobowitz <dan@codesourcery.com> |
275 | ||
276 | * configure: Regenerated. | |
277 | ||
20e95c23 DJ |
278 | 2006-05-31 Daniel Jacobowitz <dan@codesourcery.com> |
279 | ||
280 | * configure: Regenerated. | |
281 | ||
b3a3ffef HPN |
282 | 2006-03-29 Hans-Peter Nilsson <hp@axis.com> |
283 | ||
284 | * configure: Regenerate. | |
285 | ||
2b193c4a MK |
286 | 2005-03-23 Mark Kettenis <kettenis@gnu.org> |
287 | ||
288 | * configure: Regenerate. | |
289 | ||
35695fd6 AC |
290 | 2005-01-14 Andrew Cagney <cagney@gnu.org> |
291 | ||
292 | * configure.ac: Sinclude aclocal.m4 before common.m4. Add | |
293 | explicit call to AC_CONFIG_HEADER. | |
294 | * configure: Regenerate. | |
295 | ||
38f48d72 AC |
296 | 2005-01-11 Andrew Cagney <cagney@localhost.localdomain> |
297 | ||
298 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
299 | ||
b7026657 AC |
300 | 2005-01-07 Andrew Cagney <cagney@gnu.org> |
301 | ||
302 | * configure.ac: Rename configure.in, require autoconf 2.59. | |
303 | * configure: Re-generate. | |
304 | ||
379832de HPN |
305 | 2004-12-08 Hans-Peter Nilsson <hp@axis.com> |
306 | ||
307 | * configure: Regenerate for ../common/aclocal.m4 update. | |
308 | ||
84b11e2e AM |
309 | 2004-06-15 Alan Modra <amodra@bigpond.net.au> |
310 | ||
311 | * interp.c (sim_prepare_for_program): Use bfd_get_section_size | |
312 | instead of bfd_get_section_size_before_reloc. | |
313 | ||
a685700c SC |
314 | 2003-08-08 Stephane Carrez <stcarrez@nerim.fr> |
315 | ||
316 | * dv-m68hc11tim.c (cycle_to_string): Add flags parameter to better | |
317 | control the translation. | |
318 | (m68hc11tim_print_timer): Update cycle_to_string conversion. | |
319 | (m68hc11tim_timer_event): Fix handling of output | |
320 | compare register with its interrupts. | |
321 | (m68hc11tim_io_write_buffer): Check output compare | |
322 | after setting M6811_TMSK1. | |
323 | (m68hc11tim_io_read_buffer): Fix compilation warning. | |
324 | * dv-m68hc11.c (m68hc11_option_handler): Likewise. | |
325 | * dv-m68hc11spi.c (m68hc11spi_info): Likewise. | |
326 | * dv-m68hc11sio.c (m68hc11sio_info): Likewise. | |
327 | * interrupts.c (interrupts_info): Likewise. | |
328 | (interrupts_reset): Recognize bootstrap mode. | |
329 | * sim-main.h (PRINT_CYCLE, PRINT_TIME): New defines. | |
330 | (_sim_cpu): Add cpu_start_mode. | |
331 | (cycle_to_string): Add flags member. | |
332 | * m68hc11_sim.c (OPTION_CPU_BOOTSTRAP): New option. | |
333 | (cpu_options): Declare new option bootstrap. | |
334 | (cpu_option_handler): Handle it. | |
335 | (cpu_info): Update call to cycle_to_string. | |
336 | ||
77342e5e SC |
337 | 2003-08-08 Stephane Carrez <stcarrez@nerim.fr> |
338 | ||
339 | * sim-main.h (phys_to_virt): Use memory bank parameters to translate | |
340 | the physical address in virtual address. | |
341 | (struct _sim_cpu): Add memory bank members. | |
342 | * m68hc11_sim.c (cpu_initialize): Clear memory bank parameters. | |
343 | * interp.c (sim_hw_configure): Create memory bank according to memory | |
344 | bank parameters. | |
345 | (sim_get_bank_parameters): New function to obtain memory bank config | |
346 | from the symbol table. | |
347 | (sim_prepare_for_program): Call it to obtain the memory bank parameters. | |
348 | (sim_open): Call sim_prepare_for_program. | |
349 | * dv-m68hc11.c (m68hc11cpu_io_write_buffer): Use memory bank parameters | |
350 | to check if address is within bank window. | |
351 | (m68hc11cpu_io_read_buffer): Likewise. | |
352 | (attach_m68hc11_regs): Map the memory bank according to memory bank | |
353 | parameters. | |
354 | ||
53b3cd22 SC |
355 | 2003-08-08 Stephane Carrez <stcarrez@nerim.fr>, |
356 | ||
357 | * sim-main.h (PAGE_REGNUM, Z_REGNUM): Use same numbering as gdb. | |
358 | ||
962e9d85 SC |
359 | 2003-08-08 Stephane Carrez <stcarrez@nerim.fr>, |
360 | Gary Piercey <gpiercey@northstar-technical.com> | |
361 | ||
362 | * m68hc11_sim.c (print_io_word): New function to print 16-bit value. | |
363 | * sim-main.h (print_io_word): Declare. | |
364 | * dv-m68hc11tim.c (tmsk1_desc): New description table for TMSK1. | |
365 | (tflg1_desc): Likewise for TFLG1. | |
366 | (m68hc11tim_info): Print input and output compare registers | |
367 | ||
9b9f7b3c SC |
368 | 2003-03-02 Stephane Carrez <stcarrez@nerim.fr> |
369 | ||
370 | * Makefile.in (SIM_EXTRA_CFLAGS): Set WITH_TARGET_ADDRESS_BITSIZE | |
371 | to 32 to support memory bank switching; temporarily use 32-bit for | |
372 | WORD_BITSIZE to avoid a bug in sim-common. | |
373 | ||
00416c6e SC |
374 | 2003-03-01 Stephane Carrez <stcarrez@nerim.fr> |
375 | ||
376 | * interp.c (sim_fetch_register): Only store a single byte for | |
377 | 1 byte registers. | |
378 | ||
6b4a8935 AC |
379 | 2003-02-27 Andrew Cagney <cagney@redhat.com> |
380 | ||
381 | * interp.c (sim_prepare_for_program, sim_open) | |
382 | (sim_create_inferior): Rename _bfd to bfd. | |
383 | ||
099d1b50 SC |
384 | 2002-08-13 Stephane Carrez <stcarrez@nerim.fr> |
385 | ||
386 | * dv-m68hc11eepr.c (struct m68hc11eepr ): Use const char* for filename. | |
387 | ||
31c7c532 SC |
388 | 2002-08-13 Marko Kohtala <marko.kohtala@luukku.com> |
389 | ||
72f4393d | 390 | * interp.c (sim_prepare_for_program): Look up the image for the |
31c7c532 SC |
391 | reset vector and set cpu_use_elf_start to 1 if not found. |
392 | (sim_open): Do not set cpu_use_elf_start. | |
393 | ||
39762100 SC |
394 | 2002-08-13 Marko Kohtala <marko.kohtala@luukku.com> |
395 | ||
396 | * interp.c (sim_hw_configure): Return 1 for success. | |
397 | (sim_prepare_for_program): Use the sim_hw_configure exit code to | |
398 | return SIM_RC_FAIL. | |
399 | ||
7230d809 SC |
400 | 2002-08-13 Stephane Carrez <stcarrez@nerim.fr> |
401 | ||
402 | * dv-m68hc11.c (m68hc11cpu_io_read_buffer): Translate memory | |
403 | bank window to some virtual address to read from extended memory. | |
404 | (m68hc11cpu_io_write_buffer): Likewise for writing. | |
ca156d78 | 405 | (attach_m68hc11_regs): When use_bank property is defined, attach |
7230d809 | 406 | to the 68HC12 16K memory bank window. |
7230d809 SC |
407 | * interp.c (sim_hw_configure): Create memory region for banked |
408 | memory. | |
409 | ||
dcceded2 SC |
410 | 2002-08-13 Stephane Carrez <Stephane.Carrez@nerim.fr> |
411 | ||
412 | * interp.c (sim_hw_configure): Connect port-X to cpu-write-port. | |
413 | * dv-m68hc11.c (m68hc11cpu_ports): Add cpu-write-port input. | |
414 | (m68hc11cpu_port_event): Handle CPU_WRITE_PORT event. | |
415 | ||
abea9e28 SC |
416 | 2002-08-13 Marko Kohtala <marko.kohtala@luukku.com> |
417 | ||
418 | * dv-m68hc11.c (m68hc11cpu_io_write): Fix to update IO mapping | |
419 | when IO mapping changed, not when internal RAM mapping is changed. | |
420 | ||
63f36def SC |
421 | 2002-08-13 Stephane Carrez <stcarrez@nerim.fr> |
422 | ||
423 | * m68hc11_sim.c (cpu_special): Handle call and rtc instructions. | |
424 | * sim-main.h (M6812_CALL_INDIRECT): Add to enum. | |
425 | (m6811_regs): Add page register. | |
426 | (cpu_set_page, cpu_get_page): New macros. | |
427 | (phys_to_virt): New function. | |
428 | (cpu_get_indexed_operand_addr, cpu_return): Declare. | |
429 | * gencode.c: Identify indirect addressing mode for call and fix daa. | |
72f4393d | 430 | (gen_function_entry): New param to tell if src8/dst8 locals are |
63f36def SC |
431 | necessary. |
432 | (gen_interpreter): Use it to avoid generation of unused variables. | |
433 | * interp.c (sim_fetch_register): Allow to read page register; page | |
434 | register, A, B and CCR are only 1 byte wide. | |
435 | (sim_store_register): Likewise for writing. | |
436 | ||
c8cca39f AC |
437 | 2002-06-16 Andrew Cagney <ac131313@redhat.com> |
438 | ||
439 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
440 | ||
3c25f8c7 AC |
441 | 2002-06-09 Andrew Cagney <cagney@redhat.com> |
442 | ||
443 | * Makefile.in (INCLUDE): Update path to callback.h. | |
444 | * sim-main.h: Include "gdb/callback.h" and "gdb/remote-sim.h". | |
445 | ||
86596dc8 SC |
446 | 2002-03-07 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
447 | ||
448 | * m68hc11_sim.c (cpu_move8): Call sim_engine_abort in default case. | |
449 | (cpu_move16): Likewise. | |
450 | (sim_memory_error): Use sim_io_printf. | |
451 | (cpu_option_handler): Fix compilation warning. | |
72f4393d | 452 | * interp.c (sim_hw_configure): Fix compilation warning; |
86596dc8 SC |
453 | remove m68hc12sio@2 device. |
454 | (sim_open): Likewise. | |
72f4393d | 455 | * dv-m68hc11tim.c (m68hc11tim_port_event): Fix clear of TFLG2 |
86596dc8 SC |
456 | flags when reset. |
457 | (cycle_to_string): Improve convertion of cpu cycle number. | |
458 | (m68hc11tim_info): Print info about PACNT. | |
459 | (m68hc11tim_io_write_buffer): Fix clearing of TFLG2; handle | |
460 | TCTL1 and TCTL2 registers. | |
461 | * dv-m68hc11.c (m68hc11_info): Print 6811 current running mode. | |
462 | ||
827ec39a SC |
463 | 2002-03-07 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
464 | ||
72f4393d | 465 | * interp.c (sim_hw_configure): Save the HW cpu pointer in the |
827ec39a SC |
466 | cpu struct. |
467 | (sim_hw_configure): Connect the capture input/output events. | |
468 | * sim-main.h (_sim_cpu): New member hw_cpu. | |
469 | (m68hc11cpu_set_oscillator): Declare. | |
470 | (m68hc11cpu_clear_oscillator): Declare. | |
471 | (m68hc11cpu_set_port): Declare. | |
472 | * dv-m68hc11.c (m68hc11_options): New for oscillator commands. | |
473 | (m68hc11cpu_ports): New input ports and output ports to reflect | |
474 | the HC11 IOs. | |
475 | (m68hc11_delete): Cleanup any running oscillator. | |
476 | (attach_m68hc11_regs): Create the input oscillators. | |
477 | (make_oscillator): New function. | |
478 | (find_oscillator): New function. | |
479 | (oscillator_handler): New function. | |
480 | (reset_oscillators): New function. | |
481 | (m68hc11cpu_port_event): Handle the new input ports. | |
482 | (m68hc11cpu_set_oscillator): New function. | |
483 | (m68hc11cpu_clear_oscillator): New function. | |
484 | (get_frequency): New function. | |
485 | (m68hc11_option_handler): New function. | |
486 | (m68hc11cpu_set_port): New function. | |
487 | (m68hc11cpu_io_write): Post the port output events. | |
488 | * dv-m68hc11spi.c (set_bit_port): Use m68hc11cpu_set_port to set | |
489 | the output port value. | |
490 | * dv-m68hc11tim.c (m68hc11tim_port_event): Handle CAPTURE event | |
491 | by latching the TCNT value in the register. | |
492 | ||
5abb9efa SC |
493 | 2002-03-07 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
494 | ||
495 | * sim-main.h (cpu_frame, cpu_frame_list): Remove. | |
496 | (cpu_frame_reg, cpu_print_frame): Remove. | |
497 | (cpu_m68hc11_push_uint8, cpu_m68hc11_pop_uint8): Cleanup. | |
498 | (cpu_m68hc11_push_uint16, cpu_m68hc11_pop_uint16): Likewise. | |
499 | (cpu_m68hc12_push_uint8, cpu_m68hc12_push_uint16): Likewise. | |
500 | (cpu_m68hc12_pop_uint8, cpu_m68hc12_pop_uint16): Likewise. | |
501 | * m68hc11_sim.c (cpu_find_frame): Remove. | |
502 | (cpu_create_frame_list): Remove. | |
503 | (cpu_remove_frame_list, cpu_create_frame, cpu_free_frame): Remove. | |
504 | (cpu_frame_reg, cpu_print_frame, cpu_update_frame): Remove. | |
505 | (cpu_call): Cleanup to remove #if HAVE_FRAME and calls to the above. | |
506 | (cpu_update_frame): Likewise. | |
507 | (cpu_return): Likewise. | |
508 | (cpu_reset): Likewise. | |
72f4393d | 509 | (cpu_initialize): Likewise. |
5abb9efa SC |
510 | * interp.c (sim_do_command): Remove call to cpu_print_frame. |
511 | ||
26128965 SC |
512 | 2002-03-07 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
513 | ||
514 | * interrupts.c (interrupts_reset): New function, setup interrupt | |
515 | vector address according to cpu mode. | |
516 | (interrupts_initialize): Move reset portion to the above. | |
517 | (interrupt_names): New table to give a name to interrupts. | |
518 | (idefs): Handle pulse accumulator interrupts. | |
519 | (interrupts_info): Print the interrupt history. | |
520 | (interrupt_option_handler): New function. | |
521 | (interrupt_options): New table of options. | |
522 | (interrupts_update_pending): Keep track of when interrupts are | |
523 | raised and implement breakpoint-on-raise-interrupt. | |
524 | (interrupts_process): Keep track of when interrupts are taken | |
525 | and implement breakpoint-on-interrupt. | |
526 | * interrupts.h (struct interrupt_history): Define. | |
527 | (struct interrupt): Keep track of the interrupt history. | |
528 | (interrupts_reset): Declare. | |
529 | (interrupts_initialize): Update prototype. | |
530 | * m68hc11_sim.c (cpu_reset): Reset interrupts. | |
531 | (cpu_initialize): Cleanup. | |
532 | ||
eefde351 SC |
533 | 2001-07-28 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
534 | ||
535 | * dv-m68hc11eepr.c (m68hc11eepr_info): Fix print of current write | |
536 | address. | |
537 | (m68hc11eepr_port_event): Fix detach/attach logic. | |
538 | ||
00d0c012 SC |
539 | 2001-07-22 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
540 | ||
541 | * Makefile.in (SIM_OBJS): Remove sim-resume.o | |
542 | * interp.c (sim_resume): New function from sim-resume.c, install | |
543 | the stepping event after having processed the pending ticks. | |
544 | (has_stepped): Likewise. | |
545 | (sim_info): Produce an output only if verbose or STATE_VERBOSE_P. | |
546 | ||
b51c7603 AC |
547 | 2001-07-10 Andrew Cagney <ac131313@redhat.com> |
548 | ||
549 | * Makefile.in (gencode): Provide explicit path to gencode.c. | |
550 | ||
81e09ed8 SC |
551 | 2001-05-20 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
552 | ||
553 | * Makefile.in (M68HC11_OBJS): Add m68hc12int.o. | |
554 | (m68hc12int.c): Generate using gencode -m6812. | |
555 | (m68hc11int.c): Likewise with -m6811. | |
556 | ||
557 | * gencode.c (m6811_opcode_patterns): New patterns for 68HC12. | |
558 | (m6811_page1_opcodes): Remove duplicate entries. | |
559 | (m6811_page2_opcodes): Likewise. | |
560 | (m6811_page3_opcodes): Likewise. | |
561 | (m6811_page4_opcodes): Likewise. | |
562 | (m6812_page1_opcodes): New table for 68HC12 instructions. | |
563 | (m6812_page2_opcodes): Likewise. | |
564 | (gen_fetch_operands): New modes [] and &[] for 68HC12 operands. | |
565 | (gen_save_result): Likewise. | |
566 | (gen_interpreter_for_table): Handle 68HC11 and 68HC12 opcodes. | |
567 | (cmp_opcode): New function for opcode comparision. | |
568 | (prepare_table): Sort the opcodes. | |
569 | (gen_interpreter): Prepare all the tables and generate either | |
570 | a 68HC11 or a 68HC12 simulator. | |
571 | (main): New options -m6811 and -m6812. | |
572 | ||
573 | * m68hc11_sim.c (cpu_single_step): Use pointer to cpu interpretor. | |
574 | (cpu_special): Simulation of some 68HC12 instructions. | |
575 | (cpu_exg): New function. | |
576 | (cpu_dbcc): Likewise. | |
577 | (cpu_fetch_relbranch16): Likewise. | |
578 | (cpu_push_all): Push according to 68HC11 or 68HC12. | |
579 | (cpu_move16): Likewise. | |
580 | (cpu_move8): Likewise. | |
581 | (cpu_get_indexed_operand16): Likewise. | |
582 | (cpu_get_indexed_operand8): Likewise. | |
583 | (cpu_get_indexed_operand_addr): Likewise. | |
584 | (cpu_set_reg, cpu_set_dst_reg, cpu_get_src_reg, cpu_get_reg): Likewise. | |
585 | (cpu_reset): Setup INIT register according to architecture. | |
72f4393d | 586 | |
81e09ed8 SC |
587 | * sim-main.h (M6811_Special): Add 68HC12 specific instructions. |
588 | (_sim_cpu): Keep track of the cpu being simulated. | |
589 | (cpu_get_tmp3, cpu_get_tmp2, cpu_set_tmp3, cpu_set_tmp2): New. | |
590 | (cpu_m68hc11_push_uintxx): Rename of cpu_push_uintxx. | |
591 | (cpu_m68hc11_pop_uint8): Likewise. | |
592 | (cpu_m68hc12_push_uintxx): New functions for 68HC12. | |
593 | (cpu_m68hc12_pop_uintxx): Likewise. | |
594 | (cpu_exg, cpu_dbcc, cpu_move8, cpu_move16): Likewise, | |
595 | (cpu_fetch_relbranch16): Likewise. | |
596 | (cpu_interp_m6811): Rename of cpu_interp. | |
72f4393d | 597 | (cpu_interp_m6812): New function. |
81e09ed8 SC |
598 | * interp.c (free_state): New function. |
599 | (dev_list_68hc12): New table. | |
600 | (sim_board_reset): Reset depending on the cpu (HC11 or HC12). | |
601 | (sim_hw_configure): New function. | |
602 | (sim_prepare_for_program): New function. | |
603 | (sim_open): Use above new functions. | |
604 | (sim_close): Call free_state(). | |
605 | (sim_info): Print info according to cpu. | |
606 | (sim_create_inferior): Use sim_prepare_for_program. | |
607 | (sim_do_command): Configure the hardware after a change of the | |
608 | architecture. | |
609 | ||
11115521 SC |
610 | 2001-05-20 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
611 | ||
612 | * dv-m68hc11sio.c (m68hc11sio_tx_poll): Always check for | |
613 | pending interrupts. | |
614 | * interrupts.c (interrupts_process): Keep track of the last number | |
615 | of masked insn cycles. | |
616 | (interrupts_initialize): Clear last number of masked insn cycles. | |
617 | (interrupts_info): Report them. | |
72f4393d L |
618 | (interrupts_update_pending): Compute clear and set masks of |
619 | interrupts and clear the interrupt bits before setting them | |
11115521 SC |
620 | (due to SCI interrupt sharing). |
621 | * interrupts.h (struct interrupts): New members last_mask_cycles | |
622 | and xirq_last_mask_cycles. | |
623 | ||
b93775f5 SC |
624 | 2000-11-26 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
625 | ||
626 | * dv-m68hc11.c (m68hc11cpu_io_read_buffer): Use attach_size | |
627 | instead of a hard-coded value. | |
628 | (m68hc11cpu_io_write_buffer): Likewise. | |
629 | (dv_m68hc11_descriptor): Define a 68hc12 device. | |
630 | * dv-m68hc11eepr.c (dv_m68hc11eepr_descriptor): Likewise. | |
631 | * dv-m68hc11tim.c (dv_m68hc11tim_descriptor): Likewise. | |
632 | * dv-m68hc11spi.c (dv_m68hc11spi_descriptor): Likewise. | |
633 | * dv-m68hc11sio.c (dv_m68hc11sio_descriptor): Likewise. | |
634 | ||
639aa4f7 SC |
635 | 2000-11-22 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
636 | ||
637 | * dv-m68hc11.c (attach_m68hc11_regs): Register a delete handler. | |
638 | (m68hc11cpu_delete): Delete handler to detach the address space. | |
639 | ||
6e73e7ed SC |
640 | 2000-11-24 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
641 | ||
642 | * dv-m68hc11eepr.c (attach_m68hc11eepr_regs): Use hw_malloc. | |
643 | * dv-nvram.c (attach_nvram_regs): Use hw_free and hw_malloc | |
644 | instead of free and malloc. | |
645 | ||
5f186447 SC |
646 | 2000-09-11 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
647 | ||
648 | * Makefile.in: Was missing from initial patch. | |
649 | ||
9830501b SC |
650 | 2000-09-10 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
651 | ||
652 | * interp.c (sim_store_register): Remove soft register hack. | |
653 | (sim_fetch_register): Likewise. | |
654 | (sim_create_inferior): Likewise. | |
655 | * sim-main.h: Likewise. | |
656 | ||
a8afa79a SC |
657 | 2000-09-10 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
658 | ||
659 | * interrupts.c (interrupts_update_pending): Clear the mask of | |
660 | pending interrupts here. | |
661 | (interrupts_get_current): Don't clear the mask of pending interrupts. | |
662 | ||
2990a9f4 SC |
663 | 2000-09-10 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
664 | ||
665 | * sim-main.h: Define cycle_to_string. | |
72f4393d | 666 | * dv-m68hc11tim.c (cycle_to_string): New function to translate |
2990a9f4 SC |
667 | the cpu cycle into some formatted time string. |
668 | (m68hc11tim_print_timer): Use it. | |
669 | * dv-m68hc11sio.c (m68hc11sio_info): Use cycle_to_string. | |
670 | * dv-m68hc11spi.c (m68hc11spi_info): Likewise. | |
671 | * interrupts.c (interrupts_info): Likewise. | |
672 | * m68hc11_sim.c (cpu_info): Likewise. | |
673 | ||
401493c8 SC |
674 | 2000-09-06 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
675 | ||
676 | * dv-m68hc11tim.c (m68hc11tim_timer_event): Compute the overflow | |
677 | interrupt and compare events accurately. Take into account the | |
678 | pending ticks not processed by the simulator yet (introduced a shift). | |
679 | (m68hc11_port_event): Reset the timer interrupt delays. | |
680 | (m68hc11tim_io_read_buffer): Be able to read several bytes. | |
681 | (m68hc11tim_io_write_buffer): Likewise for write. | |
682 | (m68hc11tim_io_write_buffer): Recompute the timer overflow interrupt. | |
683 | ||
4d72d17a SC |
684 | 2000-09-06 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
685 | ||
686 | * dv-m68hc11spi.c (m68hc11spi_io_read_buffer): Clear the interrupts. | |
687 | (m68hc11spi_io_write_buffer): Likewise and fix the spi frame. | |
688 | (m68hc11spi_info): Clarify the status report | |
689 | of the SPI when a byte is being sent. | |
690 | (m68hc11spi_clock): Fix the spi send frame. | |
72f4393d | 691 | |
63348d04 SC |
692 | 2000-08-11 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
693 | ||
694 | * sim-main.h (m68hc11_map_level): Define level of address mappings. | |
695 | * dv-m68hc11eepr.c (struct m68hc11eepr ): New flag to indicate | |
696 | whether the eeprom is currently mapped or not. | |
697 | (m68hc11eepr_port_event): Use the flag to see if we must unmap | |
698 | or map the eeprom. Update the flag to reflect the current state. | |
699 | Use M6811_EEPROM_LEVEL when mapping the eeprom. | |
700 | (m68hc11eepr_finish): Remove overlap hack. | |
701 | (attach_m68hc11eepr_regs): Use M6811_IO_LEVEL when mapping the | |
702 | config and control registers. | |
703 | * dv-m68hc11.c (m68hc11cpu_finish): Remove overlap hack. | |
704 | (attach_m68hc11_regs): Use M6811_IO_LEVEL. | |
705 | (m68hc11cpu_io_write): Likewise when unmapping and re-mapping. | |
706 | * dv-m68hc11spi.c (m68hc11spi_finish): Likewise. | |
707 | (attach_m68hc11spi_regs): Likewise. | |
708 | * dv-m68hc11tim.c (m68hc11tim_finish): Likewise. | |
709 | (attach_m68hc11tim_regs): Likewise. | |
710 | * dv-m68hc11sio.c (m68hc11sio_finish): Likewise. | |
711 | (attach_m68hc11sio_regs): Likewise. | |
712 | * interp.c (sim_open): Likewise. | |
713 | * dv-nvram.c (attach_nvram_regs): Likewise. | |
714 | ||
5d031c16 AC |
715 | Thu Jul 27 21:27:25 2000 Andrew Cagney <cagney@b1.cygnus.com> |
716 | ||
717 | * configure, config.in: Regenerate. | |
718 | ||
e0709f50 AC |
719 | 2000-06-25 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
720 | ||
721 | * Makefile.in (SIM_RUN_OBJS): Define to use nrun.c | |
722 | * dv-m68hc11.c (m68hc11cpu_finish): Register detach address callback. | |
723 | (dv_m6811_detach_address_callback): New function to detach a | |
724 | device from an address space. | |
725 | * dv-m68hc11eepr.c (m68hc11eepr_port_event): Initialize | |
726 | config register according to --cpu-config option. | |
727 | * sim-main.h (_sim_cpu): Add cpu_config member. | |
728 | * interp.c (sim_open): Delete specific simulator options. | |
729 | * m68hc11_sim.c (cpu_option_handler): New options | |
730 | --emulos and -cpu-config <val> to configure the simulator. | |
731 | (cpu_initialize): Initialize cpu_config member. | |
732 | ||
733 | 2000-06-24 Stephane Carrez <Stephane.Carrez@worldnet.fr> | |
734 | ||
735 | * emulos.c: Fix indentation and comments. | |
736 | * gencode.c: Likewise. | |
737 | * dv-m68hc11tim.c (m68hc11tim_timer_event): Handle COMPARE_EVENT. | |
738 | (m68hc11tim_io_write_buffer): Write compare registers and | |
739 | setup compare event. | |
740 | * interp.c: Remove unused global variables. | |
741 | * interrupts.c (idefs): New compare interrupts. | |
742 | Fix indentation and comments. | |
743 | * interrupts.h: Likewise. | |
744 | ||
745 | 2000-06-18 Stephane Carrez <Stephane.Carrez@worldnet.fr> | |
746 | ||
747 | * dv-m68hc11sio.c: Fix indentation and comments. | |
748 | Remove INT_PORT. | |
749 | * dv-m68hc11.c: Fix indentation and comments. | |
750 | (m68hc11cpu_port_event): Move initialization of M6811_HPRIO from here. | |
751 | * m68hc11_sim.c (cpu_reset): To here. | |
752 | * dv-m68hc11eepr.c: Fix indentation and comments. | |
72f4393d | 753 | |
e0709f50 AC |
754 | 2000-06-17 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
755 | ||
756 | * dv-nvram.c: New file, rename from dv-pram.c. | |
757 | * dv-pram.c: Delete file. | |
758 | * sim-main.h: Incorporate m68hc11_sim.h. | |
759 | * m68hc11_sim.h: Delete file. | |
760 | * configure.in: Rename pram into nvram. | |
761 | * interp.c (sim_open): Likewise in creation of device tree. | |
72f4393d | 762 | |
e0709f50 AC |
763 | 2000-05-31 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
764 | ||
765 | * interp.c (sim_open): Create the SPI device. | |
766 | * dv-m68hc11spi.c: New file for SPI device simulation. | |
767 | * configure.in (hw_extra_devices): Add SPI device. | |
768 | ||
769 | 2000-05-28 Stephane Carrez <Stephane.Carrez@worldnet.fr> | |
770 | ||
771 | * interrupts.c (interrupts_initialize): Clear XIRQ accounting. | |
772 | (interrupts_process): Separate IRQ and XIRQ accounting. | |
773 | (interrupts_info): Report XIRQ accounting. | |
774 | * interrupts.h (struct interrupts): Added accounting for XIRQ. | |
775 | ||
776 | 2000-04-16 Stephane Carrez <stcarrez@worldnet.fr> | |
777 | ||
778 | * dv-pram.c (attach_pram_regs): Fix the 'save-modified' mode. | |
779 | * m68hc11_sim.h (_sim_cpu): Allow configuration of cpu mode. | |
72f4393d | 780 | * dv-m68hc11.c (attach_m68hc11_regs): Get the cpu MODA,MODB |
e0709f50 AC |
781 | configuration from the 'mode' device tree property. |
782 | (m68hc11cpu_port_event): Reset M6811_HPRIO to the cpu MODA, MODB | |
783 | configuration. | |
784 | ||
785 | 2000-02-24 Stephane Carrez <stcarrez@worldnet.fr> | |
786 | ||
787 | * sim-main.h: Remove WITH_TARGET_* defines. | |
788 | * Makefile.in (SIM_EXTRA_CFLAGS): Specify the WITH_TARGET_* flags. | |
789 | ||
790 | 2000-02-08 Stephane Carrez <stcarrez@worldnet.fr> | |
791 | ||
792 | * dv-m68hc11sio.c (m68hc11sio_port_event): Setup the SCI to | |
793 | 1200 baud when cpu is in bootstrap mode. | |
794 | ||
795 | * dv-m68hc11tim.c (m68hc11tim_io_write_buffer): Be able to | |
796 | write in the TCTN timer register. | |
797 | ||
798 | * dv-m68hc11sio.c (m68hc11sio_io_write_buffer): Divide cpu clock | |
799 | by 4 to obtain the E clock frequency. | |
800 | (sccr2_desc): Use M6811_TIE for TIE bit. | |
801 | (m68hc11sio_info): Fix baud rate report. | |
802 | ||
803 | * dv-m68hc11tim.c (to_realtime): Likewise. | |
804 | ||
805 | * interp.c (sim_open): When building device tree, only provide | |
806 | devices that do not exist yet. | |
807 | ||
808 | * emulos.c: Fix compilation pb under Windows. | |
809 | ||
810 | * dv-m68hc11.c (attach_m68hc11_regs): Get the clock frequency | |
811 | from the 'clock' property. | |
812 | ||
813 | 2000-01-02 Stephane Carrez <stcarrez@worldnet.fr> | |
814 | ||
815 | * m68hc11_sim.h (*_REGNUM): Define. | |
816 | (_sim_cpu): New member cpu_page0_reg table. | |
817 | * interp.c (sim_create_inferior): Fill the cpu_page0_reg table with | |
818 | addresses of soft registers in .page0. | |
72f4393d | 819 | (sim_fetch_register, sim_store_register): Use cpu_page0_reg table |
e0709f50 AC |
820 | to get/set soft registers. |
821 | ||
822 | 1999-12-31 Stephane Carrez <stcarrez@worldnet.fr> | |
823 | ||
824 | * dv-m68hc11.c (m68hc11cpu_io_write_buffer): Clear byte to avoid | |
825 | returning random values. | |
826 | ||
827 | 1999-12-17 Stephane Carrez <stcarrez@worldnet.fr> | |
828 | ||
829 | * gencode.c: Fix "subb N,x" that used a instead of b. | |
830 | ||
831 | 1999-09-09 Stephane Carrez <stcarrez@worldnet.fr> | |
832 | ||
833 | * gencode.c: Fixed sbc8 and adc8 when there was a initial carry. | |
834 | ||
835 | 1999-09-01 Stephane Carrez <stcarrez@worldnet.fr> | |
836 | ||
837 | * sim-main.h (SIM_HANDLES_LMA): Define to enable loading using lma. | |
838 | ||
839 | 1999-08-14 Stephane Carrez <stcarrez@worldnet.fr> | |
840 | ||
841 | * dv-m68hc11.c (attach_m68hc11_regs): Save the size of the | |
842 | register region in the m68hc11cpu struct. | |
843 | (m68hc11cpu_io_write): When the IO mapping addres changes, | |
844 | detach the register region and re-attach it at the new address. | |
845 | (m68hc11cpu_io_read_buffer): Renamed base_address into | |
846 | attach_address. | |
847 | (m68hc11cpu_io_write_buffer): Likewise. Pass the hw pointer | |
848 | to m68hc11cpu_io_write. | |
849 | ||
850 | 1999-08-13 Stephane Carrez <stcarrez@worldnet.fr> | |
851 | ||
852 | * gencode.c: For sbc8, check the carry and increment the source | |
853 | before trying to set the carry for the result. | |
854 | ||
855 | 1999-05-24 John S. Kallal <kallal@voicenet.com> | |
72f4393d | 856 | |
e0709f50 AC |
857 | * interp.c (sim_get_info): Don't crash if the command line is 0. |
858 | Define prototype for sim_get_info() and init_system(). | |
859 | (sim_info): Correct call to sim_get_info(). | |
72f4393d | 860 | |
e0709f50 AC |
861 | 1999-05-16 Stephane Carrez <stcarrez@worldnet.fr> |
862 | ||
863 | * configure.in: Recognize m6811-*-*. | |
864 | * configure: Regenerate. | |
865 | * m68hc11_sim.h (cpu_ccr_update_add8, cpu_ccr_update_add16, | |
866 | cpu_ccr_update_sub8, cpu_ccr_update_sub16): | |
867 | Correct the computation of carry of 8 and 16-bits add and subtract. | |
868 | * gencode.c: Use cpu_ccr_update_sub8 for subtraction (carry and | |
869 | overflow set in a different manner than add). | |
870 | ||
871 | 1999-05-14 Stephane Carrez <stcarrez@worldnet.fr> | |
872 | ||
873 | * dv-m68hc11.c (dv_m6811_attach_address_callback): Removed a | |
874 | trace message. | |
875 | * interp.c (sim_open, sim_create_inferior): Initialize the | |
876 | cpu_elf_start from the ELF header. | |
877 | * m68hc11_sim.c (cpu_initialize): Clear the new data members. | |
878 | (cpu_restart): Use cpu_elf_start as the starting address when | |
879 | the flag is set. | |
880 | (cpu_special): When cpu_use_elf_start is set, the WAI instruction | |
881 | exits the simulator (exit status is in D). | |
882 | * m68hc11_sim.h (_sim_cpu): Added members cpu_use_elf_start and | |
883 | cpu_elf_star to start execution at address specified in ELF file. | |
884 | ||
885 | 1999-05-02 Stephane Carrez <stcarrez@worldnet.fr> | |
886 | ||
887 | * Makefile.in, config.in, configure, configure.in: New files. | |
888 | * gencode.c: New file, generation of 68HC11 interpreter. | |
889 | * m68hc11_sim.h, m68hc11_sim.c: New files, specific operations | |
890 | for interpreter. | |
891 | * interrupts.c, interrupts.h: New files, management of interrupts. | |
72f4393d | 892 | * interp.c, sim-main.h, |
e0709f50 AC |
893 | * dv-m68hc11.c, dv-m68hc11eepr.c, dv-m68hc11sio.c, |
894 | dv-m68hc11tim.c, dv-pram.c: New files representing devices for | |
895 | 68HC11 (dv-pram.c is generic and could probably migrate to common). | |
896 | * emulos.c: New file, basic emulation of some os. |