]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - sim/h8300/ChangeLog
2db5d0db0816cb990bf3e950e26f2aa3c46ddcda
[thirdparty/binutils-gdb.git] / sim / h8300 / ChangeLog
1 2021-02-28 Mike Frysinger <vapier@gentoo.org>
2
3 * configure: Regenerate.
4
5 2021-02-21 Mike Frysinger <vapier@gentoo.org>
6
7 * configure.ac (AC_CONFIG_MACRO_DIRS): Replace common with m4.
8 * aclocal.m4, configure: Regenerate.
9
10 2021-02-13 Mike Frysinger <vapier@gentoo.org>
11
12 * configure.ac: Replace sinclude with AC_CONFIG_MACRO_DIRS.
13 * aclocal.m4, configure: Regenerate.
14
15 2021-02-06 Mike Frysinger <vapier@gentoo.org>
16
17 * configure: Regenerate.
18
19 2021-01-13 Mike Frysinger <vapier@gentoo.org>
20
21 * compile.c (memory_size): Move definition to top of file.
22 (h8_get_memory, h8_set_memory): Assert access is within memory_size.
23 (h8_get_eightbit_buf): Delete.
24 h8_set_eightbit_buf, h8_get_eightbit, h8_set_eightbit): Likewise.
25 (GET_MEMORY_L): Delete eightbit references.
26 (GET_MEMORY_W, GET_MEMORY_B, SET_MEMORY_L, SET_MEMORY_W,
27 SET_MEMORY_B, init_pointers, step_once, sim_load): Likewise.
28 (sim_write): Likewise. Return i instead of size.
29 (sim_read): Check addr is within memory_size.
30 * sim-main.h (struct h8300_cpu_state): Delete eightbit.
31
32 2021-01-11 Mike Frysinger <vapier@gentoo.org>
33
34 * configure.ac: Call SIM_AC_OPTION_WARNINGS.
35 * configure: Regenerate.
36
37 2021-01-11 Mike Frysinger <vapier@gentoo.org>
38
39 * config.in, configure: Regenerate.
40 * compile.c: Delete HAVE_TIME_H & HAVE_STDLIB_H.
41
42 2021-01-09 Mike Frysinger <vapier@gentoo.org>
43
44 * configure: Regenerate.
45
46 2021-01-08 Mike Frysinger <vapier@gentoo.org>
47
48 * configure: Regenerate.
49
50 2021-01-07 Mike Frysinger <vapier@gentoo.org>
51
52 * compile.c (set_simcache_size, h8_get_cache_top, h8_set_cache_top,
53 h8_get_compiles, h8_increment_compiles, h8_get_cache_idx_buf,
54 h8_set_cache_idx_buf, h8_get_cache_idx, h8_set_cache_idx, compile,
55 set_simcache_size): Delete.
56 (init_pointers): Delete calls to h8_get_cache_idx_buf,
57 h8_set_cache_idx_buf, and set_simcache_size.
58 (step_once): Replace call to h8_get_cache_idx with decode. Delete
59 case 0 handling and call to compile.
60 (sim_write): Delete call to h8_set_cache_idx.
61 (sim_info): Delete call to h8_get_compiles & sim_cache_size.
62 (sim_load): Delete calls to h8_get_cache_idx_buf & h8_set_cache_idx_buf.
63 * sim-main.h (sim_state): Delete sim_cache_size, sim_cache, cache_idx,
64 cache_top, and compiles.
65
66 2021-01-04 Mike Frysinger <vapier@gentoo.org>
67
68 * configure: Regenerate.
69
70 2017-09-06 John Baldwin <jhb@FreeBSD.org>
71
72 * configure: Regenerate.
73
74 2016-01-10 Mike Frysinger <vapier@gentoo.org>
75
76 * config.in, configure: Regenerate.
77
78 2016-01-10 Mike Frysinger <vapier@gentoo.org>
79
80 * configure: Regenerate.
81
82 2016-01-10 Mike Frysinger <vapier@gentoo.org>
83
84 * configure: Regenerate.
85
86 2016-01-10 Mike Frysinger <vapier@gentoo.org>
87
88 * configure: Regenerate.
89
90 2016-01-10 Mike Frysinger <vapier@gentoo.org>
91
92 * configure: Regenerate.
93
94 2016-01-10 Mike Frysinger <vapier@gentoo.org>
95
96 * configure: Regenerate.
97
98 2016-01-10 Mike Frysinger <vapier@gentoo.org>
99
100 * configure: Regenerate.
101
102 2016-01-10 Mike Frysinger <vapier@gentoo.org>
103
104 * configure: Regenerate.
105
106 2016-01-09 Mike Frysinger <vapier@gentoo.org>
107
108 * config.in, configure: Regenerate.
109
110 2016-01-06 Mike Frysinger <vapier@gentoo.org>
111
112 * compile.c (sim_open): Mark argv const.
113 (sim_create_inferior): Mark argv and env const.
114
115 2016-01-04 Mike Frysinger <vapier@gentoo.org>
116
117 * configure: Regenerate.
118
119 2016-01-03 Mike Frysinger <vapier@gentoo.org>
120
121 * compile.c (sim_open): Update sim_parse_args comment.
122
123 2016-01-03 Mike Frysinger <vapier@gentoo.org>
124
125 * config.in, configure: Regenerate.
126
127 2016-01-02 Mike Frysinger <vapier@gentoo.org>
128
129 * configure.ac (SIM_AC_OPTION_ENDIAN): Change BIG_ENDIAN to BIG.
130 * configure: Regenerate.
131
132 2015-12-30 Mike Frysinger <vapier@gentoo.org>
133
134 * compile.c (sim_state_initialize): Delete.
135 (sim_open): Replace sim_state_initialize call with SBR_REGNUM
136 assignment.
137
138 2015-12-30 Mike Frysinger <vapier@gentoo.org>
139
140 * compile.c (h8300_reg_store): Delete sd. Change init_pointers to
141 use CPU_STATE (cpu). Change h8_set_pc to cpu->pc. Return -1 and
142 drop the printf if the default case. Change all the set func calls
143 to use cpu->regs[rn] instead.
144 (h8300_reg_store): Delete sd. Change init_pointers to
145 use CPU_STATE (cpu). Change h8_get_pc to cpu->pc. Return -1 and
146 drop the printf if the default case. Change all the get func calls
147 to use cpu->regs[rn] instead. Add ZERO_REGNUM case. Return 2 and
148 4 instead of -1 at the end.
149
150 2015-12-30 Mike Frysinger <vapier@gentoo.org>
151
152 * compile.c (lvalue): Change sim_engine_set_run_state calls to
153 sim_engine_halt. Declare local cpu.
154 (fetch_1): Likewise.
155 (store_1): Likewise.
156 (sim_resume): Rename to ...
157 (step_once): ... this. Declare init1, poll_count, reason, and
158 sigrc variables. Delete step checking. Change
159 sim_engine_set_run_state calls to sim_engine_halt. Delete poll
160 logic. Change while(1) loop to while(0).
161 (sim_engine_run): New function.
162 * Makefile.in (SIM_OBJS): Add sim-resume.o.
163
164 2015-12-30 Mike Frysinger <vapier@gentoo.org>
165
166 * compile.c (sim_open): Delete current_alignment and
167 current_target_byte_order assignments.
168 * configure.ac: Call SIM_AC_OPTION_ENDIAN and
169 SIM_AC_OPTION_ALIGNMENT.
170 * configure: Regenerate.
171
172 2015-12-30 Mike Frysinger <vapier@gentoo.org>
173
174 * wrapper.c (sim_store_register): Rename to ...
175 (h8300_reg_store): ... this. Declare sd.
176 (sim_fetch_register): Rename to ...
177 (h8300_reg_fetch): ... this. Declare sd.
178 (sim_open): Call CPU_REG_FETCH/CPU_REG_STORE.
179
180 2015-12-30 Mike Frysinger <vapier@gentoo.org>
181
182 * compile.c (lreg): Delete.
183 (init_pointers): Delete lreg assignments.
184
185 2015-12-30 Mike Frysinger <vapier@gentoo.org>
186
187 * inst.h: Delete file.
188 * Makefile.in (compile.o): Delete rule.
189
190 2015-12-26 Mike Frysinger <vapier@gentoo.org>
191
192 * config.in, configure: Regenerate.
193
194 2015-12-24 Mike Frysinger <vapier@gentoo.org>
195
196 * compile.c (H8300_OPTIONS): New enum from common/sim-options.c.
197 (h8300_option_handler): New func from common/sim-options.c.
198 (h8300_options): New options from common/sim-options.c.
199 (sim_open): Call sim_add_option_table.
200 * tconfig.h: Delete file.
201
202 2015-12-24 Mike Frysinger <vapier@gentoo.org>
203
204 * tconfig.h (SIM_HAVE_SIMCACHE): Delete.
205
206 2015-11-21 Mike Frysinger <vapier@gentoo.org>
207
208 * compile.c (sim_callback, sim_kind, myname): Delete.
209 (init_pointers, sim_store_register, sim_fetch_register, sim_info):
210 Change sim_callback->printf_filtered calls to sim_io_printf.
211 (sim_resume): Likewise. Declare sim_callback.
212 (sim_open): Delete sim_callback, sim_kind, and myname assignment.
213 (sim_load); Use sd to look up myname, sim_callback, and sim_kind.
214
215 2015-11-15 Mike Frysinger <vapier@gentoo.org>
216
217 * Makefile.in (SIM_OBJS): Delete sim-reason.o and sim-stop.o.
218
219 2015-11-15 Mike Frysinger <vapier@gentoo.org>
220
221 * Makefile.in (SIM_OBJS): Add sim-reason.o and sim-stop.o.
222 * compile.c (sim_stop, sim_stop_reason): Delete.
223
224 2015-11-14 Mike Frysinger <vapier@gentoo.org>
225
226 * Makefile.in (SIM_OBJS): Delete sim-load.o.
227
228 2015-11-14 Mike Frysinger <vapier@gentoo.org>
229
230 * compile.c (sim_close): Delete.
231
232 2015-11-09 Mike Frysinger <vapier@gentoo.org>
233
234 * compile.c (littleendian): Delete.
235 (init_pointers): Delete littleendian usage.
236
237 2015-06-23 Mike Frysinger <vapier@gentoo.org>
238
239 * configure: Regenerate.
240
241 2015-06-12 Mike Frysinger <vapier@gentoo.org>
242
243 * configure: Regenerate.
244
245 2015-06-12 Mike Frysinger <vapier@gentoo.org>
246
247 * configure: Regenerate.
248
249 2015-04-18 Mike Frysinger <vapier@gentoo.org>
250
251 * sim-main.h (SIM_CPU): Delete.
252
253 2015-04-18 Mike Frysinger <vapier@gentoo.org>
254
255 * sim-main.h (sim_cia): Delete.
256
257 2015-04-17 Mike Frysinger <vapier@gentoo.org>
258
259 * sim-main.h (CIA_GET, CIA_SET): Delete.
260
261 2015-04-17 Mike Frysinger <vapier@gentoo.org>
262
263 * compile.c (h8300_pc_get, h8300_pc_set): New functions.
264 (sim_open): Declare new local var i. Call CPU_PC_FETCH &
265 CPU_PC_STORE for all cpus.
266 * sim-main.h (SIM_CPU): Define.
267
268 2015-04-15 Mike Frysinger <vapier@gentoo.org>
269
270 * Makefile.in (SIM_OBJS): Delete sim-cpu.o.
271 * sim-main.h (STATE_CPU): Delete.
272
273 2015-04-15 Mike Frysinger <vapier@gentoo.org>
274
275 * compile.c: Include sim-options.h.
276 (sim_open): Call sim_cpu_alloc_all instead of sim_cpu_alloc.
277 * sim-main.h (struct sim_state): Change cpu to an array of pointers.
278 (STATE_CPU): Handle WITH_SMP.
279
280 2015-04-13 Mike Frysinger <vapier@gentoo.org>
281
282 * configure: Regenerate.
283
284 2015-04-06 Mike Frysinger <vapier@gentoo.org>
285
286 * Makefile.in (SIM_OBJS): Delete sim-engine.o.
287
288 2015-04-01 Mike Frysinger <vapier@gentoo.org>
289
290 * Makefile.in (SIM_OBJS): Delete $(SIM_EXTRA_OBJS).
291
292 2015-03-31 Mike Frysinger <vapier@gentoo.org>
293
294 * config.in, configure: Regenerate.
295
296 2015-03-24 Mike Frysinger <vapier@gentoo.org>
297
298 * compile.c (sim_set_callbacks, sim_size, sim_trace): Delete.
299 * tconfig.h (SIM_HAVE_PROFILE): Delete.
300
301 2015-03-16 Mike Frysinger <vapier@gentoo.org>
302
303 * config.in, configure: Regenerate.
304 * tconfig.in: Rename file ...
305 * tconfig.h: ... here.
306
307 2015-03-14 Mike Frysinger <vapier@gentoo.org>
308
309 * Makefile.in (SIM_RUN_OBJS): Delete.
310
311 2015-03-14 Mike Frysinger <vapier@gentoo.org>
312
313 * configure.ac (AC_CHECK_HEADERS): Delete stdlib.h & time.h.
314 * aclocal.m4, configure: Regenerate.
315
316 2014-12-03 Joel Brobecker <brobecker@adacore.com>
317
318 * compile.c (sim_resume): Adjust calls to "stat" and "fstat"
319 callbacks by calls to "to_stat" and "to_fstat" (resp) callbacks
320 following renaming in callback.h.
321
322 2014-08-19 Alan Modra <amodra@gmail.com>
323
324 * configure: Regenerate.
325
326 2014-08-15 Roland McGrath <mcgrathr@google.com>
327
328 * configure: Regenerate.
329 * config.in: Regenerate.
330
331 2014-03-05 Mike Frysinger <vapier@gentoo.org>
332
333 * compile.c (sim_load): Add const to prog.
334
335 2014-02-17 Mike Frysinger <vapier@gentoo.org>
336
337 PR gdb/16450
338 * compile.c (control_c_sim_desc): Delete.
339 (control_c): Likewise.
340 (sim_resume): Delete signal(SIGINT) handling.
341
342 2013-09-23 Alan Modra <amodra@gmail.com>
343
344 * configure: Regenerate.
345
346 2013-06-03 Mike Frysinger <vapier@gentoo.org>
347
348 * aclocal.m4, configure: Regenerate.
349
350 2012-06-15 Joel Brobecker <brobecker@adacore.com>
351
352 * config.in, configure: Regenerate.
353
354 2012-05-18 Nick Clifton <nickc@redhat.com>
355
356 PR 14072
357 * compile.c: Include config.h before system header files.
358 * sim-main.h: Likewise.
359
360 2012-03-24 Mike Frysinger <vapier@gentoo.org>
361
362 * aclocal.m4, config.in, configure: Regenerate.
363
364 2011-12-03 Mike Frysinger <vapier@gentoo.org>
365
366 * aclocal.m4: New file.
367 * configure: Regenerate.
368
369 2011-10-17 Mike Frysinger <vapier@gentoo.org>
370
371 * configure.ac: Change include to common/acinclude.m4.
372
373 2011-10-17 Mike Frysinger <vapier@gentoo.org>
374
375 * configure.ac: Change AC_PREREQ to 2.64. Delete AC_CONFIG_HEADER
376 call. Replace common.m4 include with SIM_AC_COMMON.
377 * configure: Regenerate.
378
379 2011-07-05 Mike Frysinger <vapier@gentoo.org>
380
381 * compile.c (sim_do_command): Delete.
382
383 2011-01-11 Andrew Burgess <aburgess@broadcom.com>
384
385 * compile.c (sim_store_register): Update return value to
386 match new API.
387
388 2010-04-14 Mike Frysinger <vapier@gentoo.org>
389
390 * compile.c (sim_write): Add const to buffer arg.
391
392 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
393
394 * configure: Regenerate.
395
396 2009-12-09 Yoshinori Sato <ysato@users.sourceforge.jp>
397 * compile.c(fetch_1): Fix pre-dec, pre-inc, post-dec and post-inc.
398 Index registers not masked memory areas.
399 Only simply increment or decrement.
400 * compile.c(store_1): Ditto.
401
402 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
403
404 * config.in: Regenerate.
405 * configure: Likewise.
406
407 * configure: Regenerate.
408
409 2008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
410
411 * compile.c: Add const to remove warning.
412
413 2008-07-11 Hans-Peter Nilsson <hp@axis.com>
414
415 * configure: Regenerate to track ../common/common.m4 changes.
416 * config.in: Ditto.
417
418 2008-06-06 Vladimir Prus <vladimir@codesourcery.com>
419 Daniel Jacobowitz <dan@codesourcery.com>
420 Joseph Myers <joseph@codesourcery.com>
421
422 * configure: Regenerate.
423
424 2007-07-03 Yoshinori Sato <ysato@users.sourceforge.jp>
425
426 * compile.c (sim_resume): Fix the last byte of ARGV for
427 SYS_CMDLINE.
428
429 2006-12-21 Hans-Peter Nilsson <hp@axis.com>
430
431 * acconfig.h: Remove.
432 * config.in: Regenerate.
433
434 2006-07-13 Yoshinori Sato <ysato@users.sourceforge.jp>
435
436 * compile.c (OBITOP): Bit address mask low three bit.
437 * compile.c (decode): Fix warning.
438
439 2006-06-13 Richard Earnshaw <rearnsha@arm.com>
440
441 * configure: Regenerated.
442
443 2006-06-05 Daniel Jacobowitz <dan@codesourcery.com>
444
445 * configure: Regenerated.
446
447 2006-05-31 Daniel Jacobowitz <dan@codesourcery.com>
448
449 * configure: Regenerated.
450
451 2005-03-23 Mark Kettenis <kettenis@gnu.org>
452
453 * configure: Regenerate.
454
455 2005-01-14 Andrew Cagney <cagney@gnu.org>
456
457 * configure.ac: Sinclude aclocal.m4 before common.m4. Add
458 explicit call to AC_CONFIG_HEADER.
459 * configure: Regenerate.
460
461 2005-01-12 Andrew Cagney <cagney@gnu.org>
462
463 * configure.ac: Update to use ../common/common.m4.
464 * configure: Re-generate.
465
466 2005-01-11 Andrew Cagney <cagney@localhost.localdomain>
467
468 * configure: Regenerated to track ../common/aclocal.m4 changes.
469
470 2005-01-07 Andrew Cagney <cagney@gnu.org>
471
472 * configure.ac: Rename configure.in, require autoconf 2.59.
473 * configure: Re-generate.
474
475 2004-12-08 Hans-Peter Nilsson <hp@axis.com>
476
477 * configure: Regenerate for ../common/aclocal.m4 update.
478
479 2004-06-28 Alexandre Oliva <aoliva@redhat.com>
480
481 2003-07-23 Richard Sandiford <rsandifo@redhat.com>
482 * compile.c (sim_resume): Make sure that dst.reg refers to the
483 right register byte in mova/sz.l @(dd,RnL),ERn.
484 2003-07-21 Richard Sandiford <rsandifo@redhat.com>
485 * compile.c (sim_resume): Zero-extend immediate to muls, mulsu,
486 mulxs, divs and divxs.
487
488 * compile.c (sim_load): Update sd->memory_size.
489
490 2004-06-10 Michael Snyder <msnyder@redhat.com>
491
492 Patch submitted by Nitin Yewale <NitinY@KPITCummins.com>.
493 * compile.c (sim_resume): Corrected ANDC operation on EXR for H8S.
494
495 2004-01-05 Michael Snyder <msnyder@redhat.com>
496
497 * compile.c (sim_load): Don't pass a type to bfd_openr.
498
499 2003-12-16 Michael Snyder <msnyder@redhat.com>
500
501 Patch submitted by Anil Paranjape <AnilP1@KPITCummins.com>
502 * sim-main.h (H8300H_MSIZE): Increase from 18 bits to 24 bits.
503
504 2003-12-11 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
505
506 * compile.c (set_h8300h): Initialize globals to zero.
507
508 2003-10-17 Shrinivas Atre <shrinivasa@KPITCummins.com>
509
510 * compile.c (h8300_normal_mode): New.
511 (SP): Handle normal mode.
512 (bitfrom): Use normal mode flag to return suitable value.
513 (lvalue): Use normal mode flag to return command line location.
514 (decode): Decode instruction correctly for normal mode.
515 (init_pointers): Initialise memory correctly for normal mode.
516 (sim_resume): Handle cases for normal mode using h8300_normal_mode
517 flag.
518 (sim_store_register): Handle 2 byte PC for normal mode.
519 (sim_fetch_register): Handle 2 byte PC for normal mode.
520 (set_h8300h): Set normal mode flag as per architechture.
521 (sim_load): Allocate 64K for normal mode instead of bigger memory.
522
523 2003-07-18 Michael Snyder <msnyder@redhat.com>
524
525 * compile.c (decode): Enhancements for mova.
526 Initialize cst, reg, and rdisp inside the loop, for each
527 new instruction. Defer correction of the disp2 values until
528 later, and then adjust them by the size of the first operand,
529 rather than the size of the instruction.
530 (sim_resume): For mova, adjust the size of the second operand
531 according to the type of the first operand (INDEXB vs. INDEXW).
532 In cases where there is only one operand, the other two must
533 both be composed on the fly.
534
535 2003-07-22 Michael Snyder <msnyder@redhat.com>
536
537 * compile.c (sim_resume): Revert 6-24 change, it does not
538 work with gdb breakpoints.
539
540 2003-07-17 Michael Snyder <msnyder@redhat.com>
541
542 * compile.c (sim_resume): Handle shll reg, reg and shlr reg, reg.
543 (decode): IMM16 is always zero-extended.
544
545 2003-06-24 Michael Snyder <msnyder@redhat.com>
546
547 * sim-main.h (SIM_WIFSTOPPED, SIM_WSTOPSIG): Define.
548 * compile.c (sim_resume): Use the above to return stop signal.
549
550 2003-06-18 Michael Snyder <msnyder@redhat.com>
551
552 * compile.c: Replace "Hitachi" with "Renesas".
553 (decode): Distinguish AV_H8S from AV_H8H.
554 (sim_resume): H8SX can use any register for TAS.
555 (decode): Add support for VECIND.
556 (sim_resume): Implement rte/l and rts/l.
557 (GETSR): New macro (actually old macro reincarnated).
558 (decode): Add handling for IMM2.
559 (sim_resume): Drop extra block around jmp, jsr, rts.
560 Add handling for trapa and rte.
561 For divxu.b, change 0xffff mask to 0xff.
562 (set_h8300h): Add bfd_mach_h8300sxn machine.
563
564 2003-06-18 Corinna Vinschen <vinschen@redhat.com>
565
566 * sim-main.h (enum h8_regnum): Turn around order of MACH, MACL
567 and SBR, VBR.
568
569 2003-06-05 Michael Snyder <msnyder@redhat.com>
570
571 * compile.c (sim_fetch_register): Handle SBR, VBR, MACH, MACL.
572 (sim_store_register): Ditto.
573
574 2003-06-04 Michael Snyder <msnyder@redhat.com>
575
576 * compile.c (sim_info): Fix typo in output.
577
578 * compile.c (set_h8300h): Replace 'flag' arguments
579 with a bfd_machine argument, and decode it inline.
580 Check for bfd_mach_h8300hn and bfd_mach_h8300sn.
581
582 2003-06-03 Michael Snyder <msnyder@redhat.com>
583
584 * compile.c: Add h8300sx insns and addressing modes.
585 * sim-main.h: Replaces h8300/inst.h.
586 * Makefile.in: Tweak to bring in some sim/common stuff.
587
588 2003-04-13 Michael Snyder <msnyder@redhat.com>
589
590 * compile.c (sim_resume): Implement 'daa' and 'das' instructions.
591
592 2003-03-20 D.Venkatasubramanian <dvenkat@noida.hcltech.com>
593
594 * compile.c (cmdline_location): Added function to
595 return the location of 8-bit (256 locations) where the
596 Command Line arguments would be stored.
597 (decode): Added a TRAP to 0xcc for Commandline
598 processing using pseudo opcode O_SYS_CMDLINE.
599 (sim_resume): Added handling of O_SYS_CMDLINE Trap.
600 (sim_create_inferior): Setting a pointer to
601 Commandline Args array.
602 * inst.h: Added a new variable ptr_command_line for
603 storing pointer to Commandline array.
604
605 2003-03-14 D.Venkatasubramanian <dvenkat@noida.hcltech.com>
606
607 * compile.c (decode): Added code for some more magic traps.
608 * compile.c (sim_resume): Added support for File I/O system
609 calls through callback to host_system.
610 System calls provided support for :
611 open, read, write, lseek, close, stat, fstat
612 Only basic support for stat and fstat.
613
614 2003-02-27 Andrew Cagney <cagney@redhat.com>
615
616 * compile.c (sim_open, sim_create_inferior): Rename _bfd to bfd.
617
618 2003-02-05 Kazu Hirata <kazu@cs.umass.edu>
619
620 * compile.c (init_pointers): Abort if wreg never gets initialized.
621 (sim_resume): Fix the handling of exts.w and extu.w.
622
623 2003-01-31 Kazu Hirata <kazu@cs.umass.edu>
624
625 * compile.c (sim_resume): Fix the handling of bxor.
626
627 2003-01-16 Michael Snyder <msnyder@redhat.com>
628
629 * compile.c: Change K&R function definitions to ISO.
630 (fetch): Make static, and eliminate unused parameter 'n'.
631
632 2002-12-26 Kazu Hirata <kazu@cs.umass.edu>
633
634 * compile.c: Fix formatting.
635 * inst.h: Likewise.
636
637 2002-07-29 Andrey Volkov <avolkov@transas.com>
638
639 * compile.c: Include "gdb/sim-h8300.h"
640 * Makefile.in: Add dependences on "inst.h",
641 "gdb/callback.h", "gdb/remote-sim.h" and "gdb/sim-h8300.h".
642
643 2002-06-16 Andrew Cagney <ac131313@redhat.com>
644
645 * configure: Regenerated to track ../common/aclocal.m4 changes.
646
647 2002-06-08 Andrew Cagney <cagney@redhat.com>
648
649 * compile.c: Include "gdb/callback.h" and "gdb/remote-sim.h".
650
651 2002-05-19 Kazu Hirata <kazu@cs.umass.edu>
652
653 * compile.c: Fix formatting.
654
655 2002-05-18 Kazu Hirata <kazu@cs.umass.edu>
656
657 * compile.c: Fix formatting.
658
659 2002-05-17 Andrey Volkov (avolkov@transas.com)
660
661 * compile.c: Add absented opcodes: LDC, STC, EEPMOV, TAS.
662
663 2002-05-17 Andrey Volkov (avolkov@transas.com)
664
665 * compile.c: Add support of EXR register
666 * inst.h: Ditto.
667
668 2002-05-17 Andrey Volkov (avolkov@transas.com)
669
670 * compile.c: Made h8300s as new target, not h8300h alias.
671 * inst.h: Ditto.
672
673 2002-05-17 Andrey Volkov (avolkov@transas.com)
674
675 * compile.c: Add additional CCR flags (I,UI,H,U)
676
677 2002-05-17 Andrey Volkov (avolkov@transas.com)
678
679 * compile.c: Change literal regnumbers to REGNUMS.
680 Fix instruction and cycles counting
681
682 2001-12-20 Kazu Hirata <kazu@hxi.com>
683
684 * compile.c: Fix formatting.
685
686 2001-12-20 Kazu Hirata <kazu@hxi.com>
687
688 * compile.c: Fix comment typos.
689
690 2000-08-10 Kazu Hirata <kazu@hxi.com>
691
692 * compile.c (decode): Clean up the code.
693
694 2000-06-15 Kazu Hirata <kazu@hxi.com>
695
696 * compile.c (decode): Distinguish inc/dec.[wl] and adds/subs
697 correctly.
698
699 2000-06-20 Frank Ch. Eigler <fche@redhat.com>
700
701 * compile.c: Don't include "wait.h".
702 (sim_resume): Use local SIM_WIFEXITED and SIM_WIFSIGNALED macros
703 instead of WIF* from host.
704
705 2000-06-13 Frank Ch. Eigler <fche@redhat.com>
706
707 * compile.c, writecode.c: Correct typo.
708
709 2000-06-13 Kazu Hirata <kazu@hxi.com>
710
711 * compile.c: Fix formatting.
712
713 Tue May 23 21:39:23 2000 Andrew Cagney <cagney@b1.cygnus.com>
714
715 * configure: Regenerated to track ../common/aclocal.m4 changes.
716
717 Thu Sep 2 18:15:53 1999 Andrew Cagney <cagney@b1.cygnus.com>
718
719 * configure: Regenerated to track ../common/aclocal.m4 changes.
720
721 1999-05-08 Felix Lee <flee@cygnus.com>
722
723 * configure: Regenerated to track ../common/aclocal.m4 changes.
724
725 1999-04-02 Keith Seitz <keiths@cygnus.com>
726
727 * compile.c (POLL_QUIT_INTERVAL): Define. Used to tweak the
728 frequency at which the poll_quit callback is used.
729 (sim_resume): Use POLL_QUIT_INTERVAL instead of hard-coded value.
730
731 Tue Apr 28 18:33:31 1998 Geoffrey Noer <noer@cygnus.com>
732
733 * configure: Regenerated to track ../common/aclocal.m4 changes.
734
735 Sun Apr 26 15:31:55 1998 Tom Tromey <tromey@creche>
736
737 * configure: Regenerated to track ../common/aclocal.m4 changes.
738 * config.in: Ditto.
739
740 Sun Apr 26 15:20:14 1998 Tom Tromey <tromey@cygnus.com>
741
742 * acconfig.h: New file.
743 * configure.in: Reverted change of Apr 24; use sinclude again.
744
745 Fri Apr 24 14:16:40 1998 Tom Tromey <tromey@creche>
746
747 * configure: Regenerated to track ../common/aclocal.m4 changes.
748 * config.in: Ditto.
749
750 Fri Apr 24 11:19:46 1998 Tom Tromey <tromey@cygnus.com>
751
752 * configure.in: Don't call sinclude.
753
754 Sat Apr 4 20:36:25 1998 Andrew Cagney <cagney@b1.cygnus.com>
755
756 * configure: Regenerated to track ../common/aclocal.m4 changes.
757
758 Fri Mar 27 16:15:52 1998 Andrew Cagney <cagney@b1.cygnus.com>
759
760 * configure: Regenerated to track ../common/aclocal.m4 changes.
761
762 Wed Mar 25 12:35:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
763
764 * configure: Regenerated to track ../common/aclocal.m4 changes.
765
766 Wed Mar 18 12:38:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
767
768 * configure: Regenerated to track ../common/aclocal.m4 changes.
769
770 Tue Feb 17 12:42:18 1998 Andrew Cagney <cagney@b1.cygnus.com>
771
772 * compile.c (sim_store_register, sim_fetch_register): Pass in
773 length parameter. Return -1.
774
775 Sun Feb 1 16:47:51 1998 Andrew Cagney <cagney@b1.cygnus.com>
776
777 * configure: Regenerated to track ../common/aclocal.m4 changes.
778
779 Sat Jan 31 18:15:41 1998 Andrew Cagney <cagney@b1.cygnus.com>
780
781 * configure: Regenerated to track ../common/aclocal.m4 changes.
782
783 Mon Jan 19 22:26:29 1998 Doug Evans <devans@seba>
784
785 * configure: Regenerated to track ../common/aclocal.m4 changes.
786
787 Mon Dec 15 23:17:11 1997 Andrew Cagney <cagney@b1.cygnus.com>
788
789 * configure: Regenerated to track ../common/aclocal.m4 changes.
790 * config.in: Ditto.
791
792 Thu Dec 4 09:21:05 1997 Doug Evans <devans@canuck.cygnus.com>
793
794 * configure: Regenerated to track ../common/aclocal.m4 changes.
795
796 Tue Nov 11 16:52:07 1997 Angela Marie Thomas (angela@cygnus.com)
797
798 * compile.c: #include stdio.h for definition of NULL on
799 some platforms.
800
801 Wed Oct 22 14:43:00 1997 Andrew Cagney <cagney@b1.cygnus.com>
802
803 * compile.c (sim_load): Pass lma_p and sim_write args to
804 sim_load_file.
805
806 Fri Oct 3 09:28:00 1997 Andrew Cagney <cagney@b1.cygnus.com>
807
808 * configure: Regenerated to track ../common/aclocal.m4 changes.
809
810 Wed Sep 24 17:38:57 1997 Andrew Cagney <cagney@b1.cygnus.com>
811
812 * configure: Regenerated to track ../common/aclocal.m4 changes.
813
814 Tue Sep 23 11:04:38 1997 Andrew Cagney <cagney@b1.cygnus.com>
815
816 * configure: Regenerated to track ../common/aclocal.m4 changes.
817
818 Mon Sep 22 11:46:20 1997 Andrew Cagney <cagney@b1.cygnus.com>
819
820 * configure: Regenerated to track ../common/aclocal.m4 changes.
821
822 Fri Sep 19 17:45:25 1997 Andrew Cagney <cagney@b1.cygnus.com>
823
824 * configure: Regenerated to track ../common/aclocal.m4 changes.
825
826 Wed Sep 17 12:00:57 1997 Andrew Cagney <cagney@b1.cygnus.com>
827
828 * Makefile.in (compile.o): Depend on config.h in local directory.
829
830 Mon Sep 15 17:36:15 1997 Andrew Cagney <cagney@b1.cygnus.com>
831
832 * configure: Regenerated to track ../common/aclocal.m4 changes.
833
834 Tue Sep 9 22:17:26 1997 Felix Lee <flee@cygnus.com>
835
836 * inst.h (sim_state): rename to h8300_sim_state, to avoid conflict
837 with sim/common.
838 * configure.in: check for sys/param.h
839 * compile.c: #ifdef HAVE_SYS_PARAM_H.
840 #define SIGTRAP for wingdb.
841 (sim_resume): poll keyboard at least once per call.
842 (sim_resume): use host_callback instead of printf for syscall
843 output.
844
845 Thu Sep 4 17:21:23 1997 Doug Evans <dje@seba>
846
847 * configure: Regenerated to track ../common/aclocal.m4 changes.
848
849 Wed Aug 27 18:13:22 1997 Andrew Cagney <cagney@b1.cygnus.com>
850
851 * configure: Regenerated to track ../common/aclocal.m4 changes.
852 * config.in: Ditto.
853
854 Tue Aug 26 10:38:43 1997 Andrew Cagney <cagney@b1.cygnus.com>
855
856 * compile.c (sim_kill): Delete.
857 (sim_create_inferior): Add ABFD argument.
858 (sim_load): Move setting of PC from here.
859 (sim_create_inferior): To here.
860 (sim_open, sim_load, set_h8300h): Add fixme explaining why much of
861 the sim_load code should be moved to sim_open.
862
863 Mon Aug 25 17:50:22 1997 Andrew Cagney <cagney@b1.cygnus.com>
864
865 * configure: Regenerated to track ../common/aclocal.m4 changes.
866 * config.in: Ditto.
867
868 Mon Aug 25 15:47:41 1997 Andrew Cagney <cagney@b1.cygnus.com>
869
870 * compile.c (sim_open): Add ABFD argument.
871
872 Tue May 20 10:16:48 1997 Andrew Cagney <cagney@b1.cygnus.com>
873
874 * compile.c (sim_open): Add callback argument.
875 (sim_set_callbacks): Delete SIM_DESC argument.
876
877 Wed Apr 30 10:22:29 1997 Doug Evans <dje@canuck.cygnus.com>
878
879 * compile.c (sim_load): Call bfd_get_mach instead of examining
880 bfd fields directly.
881 * tconfig.in (SIM_PRE_LOAD): Delete, no longer used.
882
883 Thu Apr 24 00:39:51 1997 Doug Evans <dje@canuck.cygnus.com>
884
885 * configure: Regenerated to track ../common/aclocal.m4 changes.
886
887 Fri Apr 18 14:30:09 1997 Andrew Cagney <cagney@b1.cygnus.com>
888
889 * compile.c (sim_resume): Use poll_quit callback.
890 (sim_stop): New function.
891
892 Thu Apr 17 03:06:39 1997 Doug Evans <dje@canuck.cygnus.com>
893
894 * Makefile.in (SIM_OBJS): Add sim-load.o.
895 * compile.c (sim_kind, myname): New static locals.
896 (sim_open): Set sim_kind, myname.
897 (sim_load): Return SIM_RC. New arg abfd. Update test for h8300h.
898 Call sim_load_file to load file into simulator. Set start address
899 from bfd.
900 (sim_create_inferior): Return SIM_RC. Delete arg start_address.
901
902 Mon Apr 7 15:45:02 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
903
904 * configure: Regenerated to track ../common/aclocal.m4 changes.
905 * config.in: Ditto.
906
907 Wed Apr 2 15:06:28 1997 Doug Evans <dje@canuck.cygnus.com>
908
909 * compile.c (sim_open): New arg `kind'.
910
911 * configure: Regenerated to track ../common/aclocal.m4 changes.
912
913 Wed Apr 2 14:34:19 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
914
915 * configure: Regenerated to track ../common/aclocal.m4 changes.
916
917 Wed Mar 19 01:14:00 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
918
919 * configure: Regenerated to track ../common/aclocal.m4 changes.
920
921 Mon Mar 17 15:10:07 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
922
923 * configure: Re-generate.
924
925 Fri Mar 14 10:34:11 1997 Michael Meissner <meissner@cygnus.com>
926
927 * configure: Regenerate to track ../common/aclocal.m4 changes.
928
929 Thu Mar 13 12:48:05 1997 Doug Evans <dje@canuck.cygnus.com>
930
931 * compile.c (sim_open): New SIM_DESC result. Argument is now in
932 argv form.
933 (other sim_*): New SIM_DESC argument.
934
935 Tue Feb 4 13:36:29 1997 Doug Evans <dje@canuck.cygnus.com>
936
937 * Makefile.in (@COMMON_MAKEFILE_FRAG): Use
938 COMMON_{PRE,POST}_CONFIG_FRAG instead.
939 * configure.in: sinclude ../common/aclocal.m4.
940 * configure: Regenerated.
941
942 Thu Jan 23 11:46:23 1997 Stu Grossman (grossman@critters.cygnus.com)
943
944 * configure configure.in Makefile.in: Update to new configure
945 scheme which is more compatible with WinGDB builds.
946 * configure.in: Improve comment on how to run autoconf.
947 * configure: Re-run autoconf to get new ../common/aclocal.m4.
948 * Makefile.in: Use autoconf substitution to install common
949 makefile fragment.
950
951 Wed Nov 20 01:39:12 1996 Doug Evans <dje@canuck.cygnus.com>
952
953 * Makefile.in: Delete stuff moved to ../common/Make-common.in.
954 (SIM_OBJS): Define.
955 * configure.in: Simplify using macros in ../common/aclocal.m4.
956 * configure: Regenerated.
957 * inst.h (enum sim_state): Define.
958 (cpu_state_type): New member `state'. Set it whenever `exception'
959 is set.
960 * compile.c (sim_callback): New global.
961 (sim_set_simcache_size): Renamed from sim_csize.
962 (sim_resume, case O_SLEEP): Add right way to decode r0 but #if 0 out
963 'cus it can't work. Change main loop exit test to use cpu.state.
964 (sim_trace): New function.
965 (sim_stop_reason): Add right way to set results, but #if 0 out.
966 (sim_size): New function.
967 (sim_info): Redirect calls to printf_filtered through callback.
968 (sim_set_callbacks): Record callback.
969 * run.c: Deleted, using one in ../common now.
970 * tconfig.in: New file.
971
972 Thu Oct 3 16:13:18 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
973
974 * Makefile.in (mostlyclean): Don't remove config.log here.
975
976 Fri Aug 9 22:59:11 1996 Jeffrey A Law (law@cygnus.com)
977
978 * compile.c (sim_resume): rts, sleep, bpt and nop have
979 no associated "size".
980
981 Tue Jul 9 22:15:39 1996 Jeffrey A Law (law@cygnus.com)
982
983 * compile.c (sim_resume): Fix all rotate-by-2-bits insns.
984
985 Tue Jul 2 23:08:45 1996 Jeffrey A Law (law@cygnus.com)
986
987 * run.c (main): Don't "load" sections which don't have
988 SEC_LOAD set.
989 * compile.c (sim_resume, case "O_NOT"): Use ONOT instead
990 of OSHIFTS.
991 (ONOT): Define.
992 (sim_resume, shift/rotate cases): Add support for shift/rotate
993 by two bits.
994 (OSHIFTS): Corresponding changes.
995
996 Tue Jul 2 01:37:27 1996 Jeffrey A Law (law@cygnus.com)
997
998 * compile.c (sim_resume): Handle "ldm.l" and "stm.l".
999
1000 Wed Jun 26 08:58:53 1996 Jeffrey A Law (law@cygnus.com)
1001
1002 * compile.c (h8300smode): Declare.
1003
1004 Wed Jun 26 12:20:56 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
1005
1006 * Makefile.in (bindir, libdir, datadir, mandir, infodir, includedir,
1007 INSTALL_PROGRAM, INSTALL_DATA): Use autoconf-set values.
1008 (docdir): Removed.
1009 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
1010 (AC_PROG_INSTALL): Added.
1011 * configure: Rebuilt.
1012
1013 Tue Jun 18 16:31:10 1996 Jeffrey A. Law <law@rtl.cygnus.com>
1014
1015 * compile.c (sim_load): Treat the H8/S like the H8/300H for now.
1016 * run.c (main): Treat the H8/S like the H8/300H for now.
1017
1018 Fri May 24 10:35:25 1996 Jeffrey A Law (law@cygnus.com)
1019
1020 * compile.c (SEXTCHAR): Clear upper bits when sign
1021 bit is clear.
1022
1023 Wed May 22 22:23:37 1996 Jeffrey A Law (law@cygnus.com)
1024
1025 * compile.c (sim_resume): Correctly handle divu.
1026
1027 Tue May 7 02:13:05 1996 Jeffrey A Law (law@cygnus.com)
1028
1029 * compile.c (sim_resume): Never allow the PC to have an
1030 odd value.
1031
1032 Fri Apr 12 16:50:37 1996 Jeffrey A Law (law@cygnus.com)
1033
1034 * inst.h: Expand on comments regarding H8300H_MSIZE. Note
1035 separate memory is allocate for the 8-bit area.
1036 (struct cpu_state_type): Add new "eightbit' field.
1037 * compile.c (GET_MEMORY_L): Handle access into the 8-bit
1038 area.
1039 (GET_MEMORY_W, GET_MEMORY_B): Likewise.
1040 (SET_MEMORY_L, SET_MEMORY_W, SET_MEMORY_B): Likewise.
1041 (init_pointers): Initialize space for the 8-bit area.
1042 (sim_write): Handle writing into the 8-bit area.
1043 (sim_read): Handle reading from the 8-bit area.
1044 (sim_load): Reallocate space for the 8-bit area.
1045
1046 * compile.c (sim_load): Re-allocate memory for the simulator
1047 here.
1048
1049 Fri Apr 12 09:39:56 1996 Jeffrey A Law (law@cygnus.com)
1050
1051 * compile.c (sim_resume): Fix and simplify overflow and carry
1052 handling for 32bit ALU insns.
1053
1054 Mon Apr 8 23:58:49 1996 Jeffrey A Law (law@cygnus.com)
1055
1056 * compile.c (sim_resume): Fix overflow checks for ALU insns.
1057
1058 Fri Apr 5 17:20:59 1996 Jeffrey A Law (law@cygnus.com)
1059
1060 * compile.c (decode): Use "bit" to hold L_3 immediates instead
1061 of holding them in "abs". Handle ABS8MEM memory references aka
1062 8-bit area. Replace ABSMOV references with ABS8MEM.
1063
1064 Wed Mar 13 17:43:56 1996 Jeffrey A Law (law@cygnus.com)
1065
1066 * compile.c (fetch): Handle accesses to the exception/function
1067 vectors.
1068
1069 Mon Mar 11 09:53:25 1996 Doug Evans <dje@charmed.cygnus.com>
1070
1071 * compile.c: #include "wait.h".
1072 (sim_resume, sleep insn): Check program exit status in r0.
1073 (sim_resume, shift insns): Fix setting of overflow flag for shal.
1074 * run.c: #include <signal.h>.
1075 (main): Abort if program got SIGILL.
1076 Print error message if argument is invalid.
1077 (usage): Improve text.
1078
1079 Wed Feb 21 12:15:00 1996 Ian Lance Taylor <ian@cygnus.com>
1080
1081 * configure: Regenerate with autoconf 2.7.
1082
1083 Thu Jan 4 11:52:53 1996 Doug Evans <dje@canuck.cygnus.com>
1084
1085 * inst.h (MPOWER,MSIZE): Deleted.
1086 (H8300{,H}_MSIZE): Define.
1087 * compile.c (memory_size): New static global.
1088 (init_pointers): Set memory size from one of H8300{,H}_MSIZE.
1089 (sim_write,sim_read): Use memory_size.
1090
1091 Fri Oct 13 15:03:19 1995 steve chamberlain <sac@slash.cygnus.com>
1092
1093 * compile.c (sim_set_callbacks): New.
1094
1095 Tue Oct 10 11:11:26 1995 Fred Fish <fnf@cygnus.com>
1096
1097 * Makefile.in (BISON): Remove macro.
1098
1099 Wed Sep 20 13:35:02 1995 Ian Lance Taylor <ian@cygnus.com>
1100
1101 * Makefile.in (maintainer-clean): New synonym for realclean.
1102
1103 Fri Sep 8 12:18:53 1995 Ian Lance Taylor <ian@cygnus.com>
1104
1105 * Makefile.in (install): Don't install in $(tooldir).
1106
1107 * configure.in: Call AC_CONFIG_HEADER. Don't try to use
1108 bfd/hosts/*.h file or bfd/config/*.mh file. Call AC_PROG_CC and
1109 AC_PROG_RANLIB. Substitute in values for CFLAGS, HDEFINES and AR.
1110 Call AC_CHECK_HEADERS for stdlib.h and time.h. Touch stamp.h if
1111 creating config.h.
1112 * configure: Rebuild.
1113 * config.in: New file, created by autoheader.
1114 * Makefile.in (AR): Define as @AR@.
1115 (CC): New variable, defined as @CC@.
1116 (CFLAGS): Define as @CFLAGS@.
1117 (RANLIB): Define as @RANLIB@.
1118 (HDEFINES, TDEFINES): New variables.
1119 (@host_makefile_frag@): Remove.
1120 (compile.o, run.o): Depend upon config.h.
1121 (mostlyclean): Make the same as clean, not distclean.
1122 (clean): Remove config.log.
1123 (distclean): Remove config.h and stamp-h.
1124 (Makefile): Don't depend upon @frags@. Just rebuild Makefile when
1125 invoking config.status.
1126 (config.h, stamp-h): New targets.
1127 * compile.c: Include "config.h". Don't include <sys/times.h>.
1128 Include <time.h> and <stdlib.h> if they exist. Don't include
1129 "sysdep.h".
1130 (get_now): Remove unused local b.
1131 * run.c: Include "config.h". Include <stdlib.h> if it exists.
1132 Don't include "sysdep.h".
1133 * writecode.c: Don't include "bfd.h" or "sysdep.h". Include
1134 <stdio.h>.
1135
1136 Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
1137
1138 * Update all FSF addresses except those in COPYING* files.
1139
1140 Wed Jul 5 14:32:54 1995 J.T. Conklin <jtc@rtl.cygnus.com>
1141
1142 * Makefile.in (clean): Remove run.
1143 (distclean): Remove Makefile.
1144
1145 * h8300.mt: Removed.
1146
1147 * Makefile.in, configure.in: converted to autoconf.
1148 * configure: New file, generated with autconf 2.4.
1149
1150 Fri Jun 30 16:50:24 1995 Stan Shebs <shebs@andros.cygnus.com>
1151
1152 * compile.c (sim_do_command): New function.
1153
1154 Tue Jun 20 16:18:13 1995 Steve Chamberlain <sac@slash.cygnus.com>
1155
1156 * compile.c (get_now): Don't do if win32.
1157 (sim_resume): Poll in win32 too.
1158
1159 Wed May 24 16:31:38 1995 Jim Wilson <wilson@chestnut.cygnus.com>
1160
1161 * configure.in: Fix typo in last change.
1162
1163 Mon Mar 27 10:32:34 1995 J.T. Conklin <jtc@rtl.cygnus.com>
1164
1165 * run.c: parse arguments with getopt().
1166
1167 Tue Feb 28 17:30:08 1995 Ian Lance Taylor <ian@cygnus.com>
1168
1169 * configure.in: Use ../../bfd/hosts/std-host.h if specific
1170 host unavailable.
1171
1172 Sun Jan 22 12:35:43 1995 Steve Chamberlain <sac@splat>
1173
1174 * compile.c (sim_resume): Initialize cpu.mask.
1175
1176 Thu Sep 8 16:53:00 1994 Steve Chamberlain (sac@jonny.cygnus.com)
1177
1178 * inst.h (MPOWER): Bump simulated memory size to 2^18 bytes.
1179
1180 Wed May 18 13:47:58 1994 Doug Evans (dje@canuck.cygnus.com)
1181
1182 * compile.c: #include "bfd.h".
1183 (sim_*): Set result type to void where there isn't one.
1184 (sim_resume, default case): Set cpu.exception to SIGILL.
1185 (sim_trace): Delete.
1186 (sim_set_pc): Delete.
1187 (sim_info): Delete printf_fn arg, all callers changed.
1188 Call printf_filtered.
1189 (set_h8300h): New arg `flag', all callers changed.
1190 (sim_close): New function.
1191 (sim_load): New function.
1192 (sim_create_inferior): Renamed from sim_set_args, all callers changed.
1193 * run.c: #include <varargs.h>, "remote-sim.h".
1194 (printf_filtered): New function.
1195
1196 Fri May 13 18:32:27 1994 Doug Evans (dje@canuck.cygnus.com)
1197
1198 * compile.c (decode): Fix typo (16 bit branches).
1199 (*): Some white space clean up.
1200
1201 Fri May 6 13:44:01 1994 Steve Chamberlain (sac@jonny.cygnus.com)
1202
1203 * compile.c (decode): Compile 16bit branches properly.
1204
1205 Sat Dec 11 16:32:36 1993 Steve Chamberlain (sac@thepub.cygnus.com)
1206
1207 * compile.c: Tidy up formatting. (sim_resume): Add orc, xorc,
1208 andc. Poll for interrupts.
1209
1210 Thu Oct 28 19:29:34 1993 Doug Evans (dje@canuck.cygnus.com)
1211
1212 * compile.c: #include "ansidecl.h" for remote-sim.h.
1213
1214 Tue Oct 26 09:43:36 1993 Doug Evans (dje@canuck.cygnus.com)
1215
1216 * Makefile.in (CSEARCH): Add -I$(srcdir)/../../gdb
1217 * compile.c: #include "remote-sim.h".
1218 (sim_resume): New arg siggnal.
1219 (sim_write): Use SIM_ADDR for type of arg addr.
1220 Always return a value.
1221 (sim_read): Ditto.
1222 (sim_store_register): Result is type int.
1223 (sim_fetch_register): Ditto.
1224 (sim_stop_reason): Renamed from sim_stop_signal.
1225 (sim_set_pc): Use SIM_ADDR for type of arg pc.
1226 (sim_info): int result, new arg printf_fn.
1227 (sim_kill): int result.
1228 (sim_open): int result, new arg name.
1229 * run.c (main): Use sim_set_pc to set pc.
1230 Update call to sim_info.
1231
1232 Sat Oct 23 15:01:18 1993 Doug Evans (dje@canuck.cygnus.com)
1233
1234 * compile.c (sim_stop_signal): Result is now enum sim_stop.
1235
1236 Fri Oct 15 23:49:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1237
1238 * compile.c (sim_kill, sim_open, sim_set_args): New functions.
1239
1240 Thu Oct 7 16:24:10 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
1241
1242 * compile.c (sim_set_pc): Write to the pc direcly.
1243 (sim_store_register): Now value is passed by reference. (sim_read,
1244 sim_write): Return number of bytes copied.
1245
1246 Tue Aug 17 07:16:15 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
1247
1248 * compile.c (mop): New function to do multiplies.
1249
1250 Fri Jul 16 13:53:53 1993 Doug Evans (dje@canuck.cygnus.com)
1251
1252 * compile.c (sim_resume): Add support for nop insn.
1253
1254 Thu Jul 15 09:59:01 1993 Doug Evans (dje@canuck.cygnus.com)
1255
1256 * compile.c: Reset HMODE back to zero (accidently set it to 1).
1257
1258 * run.c (main): If h8/300h binary detected, call set_h8300h.
1259 * compile.c (sim_resume): Fix O_NEG insn.
1260
1261 Fri Jul 9 14:36:48 1993 Doug Evans (dje@canuck.cygnus.com)
1262
1263 * run.c (main): Add -h flag to enable h8/300h emulation.
1264 * compile.c: Rename Hmode to HMODE (consistency with gdb).
1265 (set_h8300h): New function.
1266 (sim_resume): Add support for extu,exts insns.
1267 (sim_resume): Fix logical right shifting.
1268 (sim_resume, label alu32): Fix setting of carry flag.
1269
1270 Sun Jul 4 00:35:41 1993 Doug Evans (dje@canuck.cygnus.com)
1271
1272 * compile.c (sim_csize): Initialize cpu.cache.
1273
1274 Fri Jul 2 17:42:59 1993 Doug Evans (dje@canuck.cygnus.com)
1275
1276 * Makefile.in: Add -I../../bfd to pick up bfd.h.
1277
1278 Thu Jun 24 13:40:12 1993 Doug Evans (dje@canuck.cygnus.com)
1279
1280 * run.c (main): Fix parsing of args.
1281
1282 * compile.c (sim_resume): Fix shll insn.
1283
1284 Tue Jun 8 14:16:46 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
1285
1286 * compile.c: New file, supports H8/300H.
1287 * p1,p3, gencode.c, state.h, writecode.c All dead and obsolete.
1288
1289 Tue Jun 1 11:14:59 1993 Steve Chamberlain (sac@thepub.cygnus.com)
1290
1291 * run.c (main): Add -v to print info.
1292 * p3.c (sim_info): New function.
1293
1294 Mon Mar 15 15:48:31 1993 Ian Lance Taylor (ian@cygnus.com)
1295
1296 * h8300.mt (DO_INSTALL): Renamed from INSTALL.
1297
1298 Wed Mar 3 15:06:53 1993 Steve Chamberlain (sac@poseidon.cygnus.com)
1299
1300 * Makefile.in: Don't use cb or indent
1301 * p1.c, state.h, writecode.c: lint
1302
1303 Mon Feb 1 16:44:58 1993 John Gilmore (gnu@cygnus.com)
1304
1305 * Makefile.in: Make SunOS halfdone VPATH work.
1306 * p1.c: Lint picked up by HP native compiler.
1307
1308 Mon Jan 4 12:32:35 1993 Steve Chamberlain (sac@wahini.cygnus.com)
1309
1310 * p1.c (sim_resume): when running on dos, any character typed to
1311 the keyboard will cause a simulated exception.
1312
1313 Sun Jan 3 14:15:07 1993 Steve Chamberlain (sac@thepub.cygnus.com)
1314
1315 * p1.c, p3.c, run.c, writecode.c: all used h8/300 opcodes in and
1316 running
1317
1318 Tue Dec 22 13:56:48 1992 Steve Chamberlain (sac@thepub.cygnus.com)
1319
1320 * new