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