1 2021-04-18 Mike Frysinger <vapier@gentoo.org>
3 * configure.ac: Change AC_CHECK_HEADERS to AC_CHECK_HEADERS_ONCE.
4 * configure: Regenerate.
6 2021-04-18 Mike Frysinger <vapier@gentoo.org>
8 * configure: Regenerate.
10 2021-04-12 Mike Frysinger <vapier@gentoo.org>
12 * compile.c (sim_open): Delete 3rd arg to sim_cpu_alloc_all.
14 2021-04-08 Tom Tromey <tom@tromey.com>
16 * compile.c (init_pointers): Fix sequence point warning.
18 2021-04-08 Tom Tromey <tom@tromey.com>
20 * compile.c (cmdline_location): Use new-style declaration.
22 2021-04-02 Mike Frysinger <vapier@gentoo.org>
24 * aclocal.m4, configure: Regenerate.
26 2021-02-28 Mike Frysinger <vapier@gentoo.org>
28 * configure: Regenerate.
30 2021-02-21 Mike Frysinger <vapier@gentoo.org>
32 * configure.ac (AC_CONFIG_MACRO_DIRS): Replace common with m4.
33 * aclocal.m4, configure: Regenerate.
35 2021-02-13 Mike Frysinger <vapier@gentoo.org>
37 * configure.ac: Replace sinclude with AC_CONFIG_MACRO_DIRS.
38 * aclocal.m4, configure: Regenerate.
40 2021-02-06 Mike Frysinger <vapier@gentoo.org>
42 * configure: Regenerate.
44 2021-01-13 Mike Frysinger <vapier@gentoo.org>
46 * compile.c (memory_size): Move definition to top of file.
47 (h8_get_memory, h8_set_memory): Assert access is within memory_size.
48 (h8_get_eightbit_buf): Delete.
49 h8_set_eightbit_buf, h8_get_eightbit, h8_set_eightbit): Likewise.
50 (GET_MEMORY_L): Delete eightbit references.
51 (GET_MEMORY_W, GET_MEMORY_B, SET_MEMORY_L, SET_MEMORY_W,
52 SET_MEMORY_B, init_pointers, step_once, sim_load): Likewise.
53 (sim_write): Likewise. Return i instead of size.
54 (sim_read): Check addr is within memory_size.
55 * sim-main.h (struct h8300_cpu_state): Delete eightbit.
57 2021-01-11 Mike Frysinger <vapier@gentoo.org>
59 * configure.ac: Call SIM_AC_OPTION_WARNINGS.
60 * configure: Regenerate.
62 2021-01-11 Mike Frysinger <vapier@gentoo.org>
64 * config.in, configure: Regenerate.
65 * compile.c: Delete HAVE_TIME_H & HAVE_STDLIB_H.
67 2021-01-09 Mike Frysinger <vapier@gentoo.org>
69 * configure: Regenerate.
71 2021-01-08 Mike Frysinger <vapier@gentoo.org>
73 * configure: Regenerate.
75 2021-01-07 Mike Frysinger <vapier@gentoo.org>
77 * compile.c (set_simcache_size, h8_get_cache_top, h8_set_cache_top,
78 h8_get_compiles, h8_increment_compiles, h8_get_cache_idx_buf,
79 h8_set_cache_idx_buf, h8_get_cache_idx, h8_set_cache_idx, compile,
80 set_simcache_size): Delete.
81 (init_pointers): Delete calls to h8_get_cache_idx_buf,
82 h8_set_cache_idx_buf, and set_simcache_size.
83 (step_once): Replace call to h8_get_cache_idx with decode. Delete
84 case 0 handling and call to compile.
85 (sim_write): Delete call to h8_set_cache_idx.
86 (sim_info): Delete call to h8_get_compiles & sim_cache_size.
87 (sim_load): Delete calls to h8_get_cache_idx_buf & h8_set_cache_idx_buf.
88 * sim-main.h (sim_state): Delete sim_cache_size, sim_cache, cache_idx,
89 cache_top, and compiles.
91 2021-01-04 Mike Frysinger <vapier@gentoo.org>
93 * configure: Regenerate.
95 2017-09-06 John Baldwin <jhb@FreeBSD.org>
97 * configure: Regenerate.
99 2016-01-10 Mike Frysinger <vapier@gentoo.org>
101 * config.in, configure: Regenerate.
103 2016-01-10 Mike Frysinger <vapier@gentoo.org>
105 * configure: Regenerate.
107 2016-01-10 Mike Frysinger <vapier@gentoo.org>
109 * configure: Regenerate.
111 2016-01-10 Mike Frysinger <vapier@gentoo.org>
113 * configure: Regenerate.
115 2016-01-10 Mike Frysinger <vapier@gentoo.org>
117 * configure: Regenerate.
119 2016-01-10 Mike Frysinger <vapier@gentoo.org>
121 * configure: Regenerate.
123 2016-01-10 Mike Frysinger <vapier@gentoo.org>
125 * configure: Regenerate.
127 2016-01-10 Mike Frysinger <vapier@gentoo.org>
129 * configure: Regenerate.
131 2016-01-09 Mike Frysinger <vapier@gentoo.org>
133 * config.in, configure: Regenerate.
135 2016-01-06 Mike Frysinger <vapier@gentoo.org>
137 * compile.c (sim_open): Mark argv const.
138 (sim_create_inferior): Mark argv and env const.
140 2016-01-04 Mike Frysinger <vapier@gentoo.org>
142 * configure: Regenerate.
144 2016-01-03 Mike Frysinger <vapier@gentoo.org>
146 * compile.c (sim_open): Update sim_parse_args comment.
148 2016-01-03 Mike Frysinger <vapier@gentoo.org>
150 * config.in, configure: Regenerate.
152 2016-01-02 Mike Frysinger <vapier@gentoo.org>
154 * configure.ac (SIM_AC_OPTION_ENDIAN): Change BIG_ENDIAN to BIG.
155 * configure: Regenerate.
157 2015-12-30 Mike Frysinger <vapier@gentoo.org>
159 * compile.c (sim_state_initialize): Delete.
160 (sim_open): Replace sim_state_initialize call with SBR_REGNUM
163 2015-12-30 Mike Frysinger <vapier@gentoo.org>
165 * compile.c (h8300_reg_store): Delete sd. Change init_pointers to
166 use CPU_STATE (cpu). Change h8_set_pc to cpu->pc. Return -1 and
167 drop the printf if the default case. Change all the set func calls
168 to use cpu->regs[rn] instead.
169 (h8300_reg_store): Delete sd. Change init_pointers to
170 use CPU_STATE (cpu). Change h8_get_pc to cpu->pc. Return -1 and
171 drop the printf if the default case. Change all the get func calls
172 to use cpu->regs[rn] instead. Add ZERO_REGNUM case. Return 2 and
173 4 instead of -1 at the end.
175 2015-12-30 Mike Frysinger <vapier@gentoo.org>
177 * compile.c (lvalue): Change sim_engine_set_run_state calls to
178 sim_engine_halt. Declare local cpu.
181 (sim_resume): Rename to ...
182 (step_once): ... this. Declare init1, poll_count, reason, and
183 sigrc variables. Delete step checking. Change
184 sim_engine_set_run_state calls to sim_engine_halt. Delete poll
185 logic. Change while(1) loop to while(0).
186 (sim_engine_run): New function.
187 * Makefile.in (SIM_OBJS): Add sim-resume.o.
189 2015-12-30 Mike Frysinger <vapier@gentoo.org>
191 * compile.c (sim_open): Delete current_alignment and
192 current_target_byte_order assignments.
193 * configure.ac: Call SIM_AC_OPTION_ENDIAN and
194 SIM_AC_OPTION_ALIGNMENT.
195 * configure: Regenerate.
197 2015-12-30 Mike Frysinger <vapier@gentoo.org>
199 * wrapper.c (sim_store_register): Rename to ...
200 (h8300_reg_store): ... this. Declare sd.
201 (sim_fetch_register): Rename to ...
202 (h8300_reg_fetch): ... this. Declare sd.
203 (sim_open): Call CPU_REG_FETCH/CPU_REG_STORE.
205 2015-12-30 Mike Frysinger <vapier@gentoo.org>
207 * compile.c (lreg): Delete.
208 (init_pointers): Delete lreg assignments.
210 2015-12-30 Mike Frysinger <vapier@gentoo.org>
212 * inst.h: Delete file.
213 * Makefile.in (compile.o): Delete rule.
215 2015-12-26 Mike Frysinger <vapier@gentoo.org>
217 * config.in, configure: Regenerate.
219 2015-12-24 Mike Frysinger <vapier@gentoo.org>
221 * compile.c (H8300_OPTIONS): New enum from common/sim-options.c.
222 (h8300_option_handler): New func from common/sim-options.c.
223 (h8300_options): New options from common/sim-options.c.
224 (sim_open): Call sim_add_option_table.
225 * tconfig.h: Delete file.
227 2015-12-24 Mike Frysinger <vapier@gentoo.org>
229 * tconfig.h (SIM_HAVE_SIMCACHE): Delete.
231 2015-11-21 Mike Frysinger <vapier@gentoo.org>
233 * compile.c (sim_callback, sim_kind, myname): Delete.
234 (init_pointers, sim_store_register, sim_fetch_register, sim_info):
235 Change sim_callback->printf_filtered calls to sim_io_printf.
236 (sim_resume): Likewise. Declare sim_callback.
237 (sim_open): Delete sim_callback, sim_kind, and myname assignment.
238 (sim_load); Use sd to look up myname, sim_callback, and sim_kind.
240 2015-11-15 Mike Frysinger <vapier@gentoo.org>
242 * Makefile.in (SIM_OBJS): Delete sim-reason.o and sim-stop.o.
244 2015-11-15 Mike Frysinger <vapier@gentoo.org>
246 * Makefile.in (SIM_OBJS): Add sim-reason.o and sim-stop.o.
247 * compile.c (sim_stop, sim_stop_reason): Delete.
249 2015-11-14 Mike Frysinger <vapier@gentoo.org>
251 * Makefile.in (SIM_OBJS): Delete sim-load.o.
253 2015-11-14 Mike Frysinger <vapier@gentoo.org>
255 * compile.c (sim_close): Delete.
257 2015-11-09 Mike Frysinger <vapier@gentoo.org>
259 * compile.c (littleendian): Delete.
260 (init_pointers): Delete littleendian usage.
262 2015-06-23 Mike Frysinger <vapier@gentoo.org>
264 * configure: Regenerate.
266 2015-06-12 Mike Frysinger <vapier@gentoo.org>
268 * configure: Regenerate.
270 2015-06-12 Mike Frysinger <vapier@gentoo.org>
272 * configure: Regenerate.
274 2015-04-18 Mike Frysinger <vapier@gentoo.org>
276 * sim-main.h (SIM_CPU): Delete.
278 2015-04-18 Mike Frysinger <vapier@gentoo.org>
280 * sim-main.h (sim_cia): Delete.
282 2015-04-17 Mike Frysinger <vapier@gentoo.org>
284 * sim-main.h (CIA_GET, CIA_SET): Delete.
286 2015-04-17 Mike Frysinger <vapier@gentoo.org>
288 * compile.c (h8300_pc_get, h8300_pc_set): New functions.
289 (sim_open): Declare new local var i. Call CPU_PC_FETCH &
290 CPU_PC_STORE for all cpus.
291 * sim-main.h (SIM_CPU): Define.
293 2015-04-15 Mike Frysinger <vapier@gentoo.org>
295 * Makefile.in (SIM_OBJS): Delete sim-cpu.o.
296 * sim-main.h (STATE_CPU): Delete.
298 2015-04-15 Mike Frysinger <vapier@gentoo.org>
300 * compile.c: Include sim-options.h.
301 (sim_open): Call sim_cpu_alloc_all instead of sim_cpu_alloc.
302 * sim-main.h (struct sim_state): Change cpu to an array of pointers.
303 (STATE_CPU): Handle WITH_SMP.
305 2015-04-13 Mike Frysinger <vapier@gentoo.org>
307 * configure: Regenerate.
309 2015-04-06 Mike Frysinger <vapier@gentoo.org>
311 * Makefile.in (SIM_OBJS): Delete sim-engine.o.
313 2015-04-01 Mike Frysinger <vapier@gentoo.org>
315 * Makefile.in (SIM_OBJS): Delete $(SIM_EXTRA_OBJS).
317 2015-03-31 Mike Frysinger <vapier@gentoo.org>
319 * config.in, configure: Regenerate.
321 2015-03-24 Mike Frysinger <vapier@gentoo.org>
323 * compile.c (sim_set_callbacks, sim_size, sim_trace): Delete.
324 * tconfig.h (SIM_HAVE_PROFILE): Delete.
326 2015-03-16 Mike Frysinger <vapier@gentoo.org>
328 * config.in, configure: Regenerate.
329 * tconfig.in: Rename file ...
330 * tconfig.h: ... here.
332 2015-03-14 Mike Frysinger <vapier@gentoo.org>
334 * Makefile.in (SIM_RUN_OBJS): Delete.
336 2015-03-14 Mike Frysinger <vapier@gentoo.org>
338 * configure.ac (AC_CHECK_HEADERS): Delete stdlib.h & time.h.
339 * aclocal.m4, configure: Regenerate.
341 2014-12-03 Joel Brobecker <brobecker@adacore.com>
343 * compile.c (sim_resume): Adjust calls to "stat" and "fstat"
344 callbacks by calls to "to_stat" and "to_fstat" (resp) callbacks
345 following renaming in callback.h.
347 2014-08-19 Alan Modra <amodra@gmail.com>
349 * configure: Regenerate.
351 2014-08-15 Roland McGrath <mcgrathr@google.com>
353 * configure: Regenerate.
354 * config.in: Regenerate.
356 2014-03-05 Mike Frysinger <vapier@gentoo.org>
358 * compile.c (sim_load): Add const to prog.
360 2014-02-17 Mike Frysinger <vapier@gentoo.org>
363 * compile.c (control_c_sim_desc): Delete.
364 (control_c): Likewise.
365 (sim_resume): Delete signal(SIGINT) handling.
367 2013-09-23 Alan Modra <amodra@gmail.com>
369 * configure: Regenerate.
371 2013-06-03 Mike Frysinger <vapier@gentoo.org>
373 * aclocal.m4, configure: Regenerate.
375 2012-06-15 Joel Brobecker <brobecker@adacore.com>
377 * config.in, configure: Regenerate.
379 2012-05-18 Nick Clifton <nickc@redhat.com>
382 * compile.c: Include config.h before system header files.
383 * sim-main.h: Likewise.
385 2012-03-24 Mike Frysinger <vapier@gentoo.org>
387 * aclocal.m4, config.in, configure: Regenerate.
389 2011-12-03 Mike Frysinger <vapier@gentoo.org>
391 * aclocal.m4: New file.
392 * configure: Regenerate.
394 2011-10-17 Mike Frysinger <vapier@gentoo.org>
396 * configure.ac: Change include to common/acinclude.m4.
398 2011-10-17 Mike Frysinger <vapier@gentoo.org>
400 * configure.ac: Change AC_PREREQ to 2.64. Delete AC_CONFIG_HEADER
401 call. Replace common.m4 include with SIM_AC_COMMON.
402 * configure: Regenerate.
404 2011-07-05 Mike Frysinger <vapier@gentoo.org>
406 * compile.c (sim_do_command): Delete.
408 2011-01-11 Andrew Burgess <aburgess@broadcom.com>
410 * compile.c (sim_store_register): Update return value to
413 2010-04-14 Mike Frysinger <vapier@gentoo.org>
415 * compile.c (sim_write): Add const to buffer arg.
417 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
419 * configure: Regenerate.
421 2009-12-09 Yoshinori Sato <ysato@users.sourceforge.jp>
422 * compile.c(fetch_1): Fix pre-dec, pre-inc, post-dec and post-inc.
423 Index registers not masked memory areas.
424 Only simply increment or decrement.
425 * compile.c(store_1): Ditto.
427 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
429 * config.in: Regenerate.
430 * configure: Likewise.
432 * configure: Regenerate.
434 2008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
436 * compile.c: Add const to remove warning.
438 2008-07-11 Hans-Peter Nilsson <hp@axis.com>
440 * configure: Regenerate to track ../common/common.m4 changes.
443 2008-06-06 Vladimir Prus <vladimir@codesourcery.com>
444 Daniel Jacobowitz <dan@codesourcery.com>
445 Joseph Myers <joseph@codesourcery.com>
447 * configure: Regenerate.
449 2007-07-03 Yoshinori Sato <ysato@users.sourceforge.jp>
451 * compile.c (sim_resume): Fix the last byte of ARGV for
454 2006-12-21 Hans-Peter Nilsson <hp@axis.com>
456 * acconfig.h: Remove.
457 * config.in: Regenerate.
459 2006-07-13 Yoshinori Sato <ysato@users.sourceforge.jp>
461 * compile.c (OBITOP): Bit address mask low three bit.
462 * compile.c (decode): Fix warning.
464 2006-06-13 Richard Earnshaw <rearnsha@arm.com>
466 * configure: Regenerated.
468 2006-06-05 Daniel Jacobowitz <dan@codesourcery.com>
470 * configure: Regenerated.
472 2006-05-31 Daniel Jacobowitz <dan@codesourcery.com>
474 * configure: Regenerated.
476 2005-03-23 Mark Kettenis <kettenis@gnu.org>
478 * configure: Regenerate.
480 2005-01-14 Andrew Cagney <cagney@gnu.org>
482 * configure.ac: Sinclude aclocal.m4 before common.m4. Add
483 explicit call to AC_CONFIG_HEADER.
484 * configure: Regenerate.
486 2005-01-12 Andrew Cagney <cagney@gnu.org>
488 * configure.ac: Update to use ../common/common.m4.
489 * configure: Re-generate.
491 2005-01-11 Andrew Cagney <cagney@localhost.localdomain>
493 * configure: Regenerated to track ../common/aclocal.m4 changes.
495 2005-01-07 Andrew Cagney <cagney@gnu.org>
497 * configure.ac: Rename configure.in, require autoconf 2.59.
498 * configure: Re-generate.
500 2004-12-08 Hans-Peter Nilsson <hp@axis.com>
502 * configure: Regenerate for ../common/aclocal.m4 update.
504 2004-06-28 Alexandre Oliva <aoliva@redhat.com>
506 2003-07-23 Richard Sandiford <rsandifo@redhat.com>
507 * compile.c (sim_resume): Make sure that dst.reg refers to the
508 right register byte in mova/sz.l @(dd,RnL),ERn.
509 2003-07-21 Richard Sandiford <rsandifo@redhat.com>
510 * compile.c (sim_resume): Zero-extend immediate to muls, mulsu,
511 mulxs, divs and divxs.
513 * compile.c (sim_load): Update sd->memory_size.
515 2004-06-10 Michael Snyder <msnyder@redhat.com>
517 Patch submitted by Nitin Yewale <NitinY@KPITCummins.com>.
518 * compile.c (sim_resume): Corrected ANDC operation on EXR for H8S.
520 2004-01-05 Michael Snyder <msnyder@redhat.com>
522 * compile.c (sim_load): Don't pass a type to bfd_openr.
524 2003-12-16 Michael Snyder <msnyder@redhat.com>
526 Patch submitted by Anil Paranjape <AnilP1@KPITCummins.com>
527 * sim-main.h (H8300H_MSIZE): Increase from 18 bits to 24 bits.
529 2003-12-11 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
531 * compile.c (set_h8300h): Initialize globals to zero.
533 2003-10-17 Shrinivas Atre <shrinivasa@KPITCummins.com>
535 * compile.c (h8300_normal_mode): New.
536 (SP): Handle normal mode.
537 (bitfrom): Use normal mode flag to return suitable value.
538 (lvalue): Use normal mode flag to return command line location.
539 (decode): Decode instruction correctly for normal mode.
540 (init_pointers): Initialise memory correctly for normal mode.
541 (sim_resume): Handle cases for normal mode using h8300_normal_mode
543 (sim_store_register): Handle 2 byte PC for normal mode.
544 (sim_fetch_register): Handle 2 byte PC for normal mode.
545 (set_h8300h): Set normal mode flag as per architechture.
546 (sim_load): Allocate 64K for normal mode instead of bigger memory.
548 2003-07-18 Michael Snyder <msnyder@redhat.com>
550 * compile.c (decode): Enhancements for mova.
551 Initialize cst, reg, and rdisp inside the loop, for each
552 new instruction. Defer correction of the disp2 values until
553 later, and then adjust them by the size of the first operand,
554 rather than the size of the instruction.
555 (sim_resume): For mova, adjust the size of the second operand
556 according to the type of the first operand (INDEXB vs. INDEXW).
557 In cases where there is only one operand, the other two must
558 both be composed on the fly.
560 2003-07-22 Michael Snyder <msnyder@redhat.com>
562 * compile.c (sim_resume): Revert 6-24 change, it does not
563 work with gdb breakpoints.
565 2003-07-17 Michael Snyder <msnyder@redhat.com>
567 * compile.c (sim_resume): Handle shll reg, reg and shlr reg, reg.
568 (decode): IMM16 is always zero-extended.
570 2003-06-24 Michael Snyder <msnyder@redhat.com>
572 * sim-main.h (SIM_WIFSTOPPED, SIM_WSTOPSIG): Define.
573 * compile.c (sim_resume): Use the above to return stop signal.
575 2003-06-18 Michael Snyder <msnyder@redhat.com>
577 * compile.c: Replace "Hitachi" with "Renesas".
578 (decode): Distinguish AV_H8S from AV_H8H.
579 (sim_resume): H8SX can use any register for TAS.
580 (decode): Add support for VECIND.
581 (sim_resume): Implement rte/l and rts/l.
582 (GETSR): New macro (actually old macro reincarnated).
583 (decode): Add handling for IMM2.
584 (sim_resume): Drop extra block around jmp, jsr, rts.
585 Add handling for trapa and rte.
586 For divxu.b, change 0xffff mask to 0xff.
587 (set_h8300h): Add bfd_mach_h8300sxn machine.
589 2003-06-18 Corinna Vinschen <vinschen@redhat.com>
591 * sim-main.h (enum h8_regnum): Turn around order of MACH, MACL
594 2003-06-05 Michael Snyder <msnyder@redhat.com>
596 * compile.c (sim_fetch_register): Handle SBR, VBR, MACH, MACL.
597 (sim_store_register): Ditto.
599 2003-06-04 Michael Snyder <msnyder@redhat.com>
601 * compile.c (sim_info): Fix typo in output.
603 * compile.c (set_h8300h): Replace 'flag' arguments
604 with a bfd_machine argument, and decode it inline.
605 Check for bfd_mach_h8300hn and bfd_mach_h8300sn.
607 2003-06-03 Michael Snyder <msnyder@redhat.com>
609 * compile.c: Add h8300sx insns and addressing modes.
610 * sim-main.h: Replaces h8300/inst.h.
611 * Makefile.in: Tweak to bring in some sim/common stuff.
613 2003-04-13 Michael Snyder <msnyder@redhat.com>
615 * compile.c (sim_resume): Implement 'daa' and 'das' instructions.
617 2003-03-20 D.Venkatasubramanian <dvenkat@noida.hcltech.com>
619 * compile.c (cmdline_location): Added function to
620 return the location of 8-bit (256 locations) where the
621 Command Line arguments would be stored.
622 (decode): Added a TRAP to 0xcc for Commandline
623 processing using pseudo opcode O_SYS_CMDLINE.
624 (sim_resume): Added handling of O_SYS_CMDLINE Trap.
625 (sim_create_inferior): Setting a pointer to
626 Commandline Args array.
627 * inst.h: Added a new variable ptr_command_line for
628 storing pointer to Commandline array.
630 2003-03-14 D.Venkatasubramanian <dvenkat@noida.hcltech.com>
632 * compile.c (decode): Added code for some more magic traps.
633 * compile.c (sim_resume): Added support for File I/O system
634 calls through callback to host_system.
635 System calls provided support for :
636 open, read, write, lseek, close, stat, fstat
637 Only basic support for stat and fstat.
639 2003-02-27 Andrew Cagney <cagney@redhat.com>
641 * compile.c (sim_open, sim_create_inferior): Rename _bfd to bfd.
643 2003-02-05 Kazu Hirata <kazu@cs.umass.edu>
645 * compile.c (init_pointers): Abort if wreg never gets initialized.
646 (sim_resume): Fix the handling of exts.w and extu.w.
648 2003-01-31 Kazu Hirata <kazu@cs.umass.edu>
650 * compile.c (sim_resume): Fix the handling of bxor.
652 2003-01-16 Michael Snyder <msnyder@redhat.com>
654 * compile.c: Change K&R function definitions to ISO.
655 (fetch): Make static, and eliminate unused parameter 'n'.
657 2002-12-26 Kazu Hirata <kazu@cs.umass.edu>
659 * compile.c: Fix formatting.
662 2002-07-29 Andrey Volkov <avolkov@transas.com>
664 * compile.c: Include "gdb/sim-h8300.h"
665 * Makefile.in: Add dependences on "inst.h",
666 "gdb/callback.h", "gdb/remote-sim.h" and "gdb/sim-h8300.h".
668 2002-06-16 Andrew Cagney <ac131313@redhat.com>
670 * configure: Regenerated to track ../common/aclocal.m4 changes.
672 2002-06-08 Andrew Cagney <cagney@redhat.com>
674 * compile.c: Include "gdb/callback.h" and "gdb/remote-sim.h".
676 2002-05-19 Kazu Hirata <kazu@cs.umass.edu>
678 * compile.c: Fix formatting.
680 2002-05-18 Kazu Hirata <kazu@cs.umass.edu>
682 * compile.c: Fix formatting.
684 2002-05-17 Andrey Volkov (avolkov@transas.com)
686 * compile.c: Add absented opcodes: LDC, STC, EEPMOV, TAS.
688 2002-05-17 Andrey Volkov (avolkov@transas.com)
690 * compile.c: Add support of EXR register
693 2002-05-17 Andrey Volkov (avolkov@transas.com)
695 * compile.c: Made h8300s as new target, not h8300h alias.
698 2002-05-17 Andrey Volkov (avolkov@transas.com)
700 * compile.c: Add additional CCR flags (I,UI,H,U)
702 2002-05-17 Andrey Volkov (avolkov@transas.com)
704 * compile.c: Change literal regnumbers to REGNUMS.
705 Fix instruction and cycles counting
707 2001-12-20 Kazu Hirata <kazu@hxi.com>
709 * compile.c: Fix formatting.
711 2001-12-20 Kazu Hirata <kazu@hxi.com>
713 * compile.c: Fix comment typos.
715 2000-08-10 Kazu Hirata <kazu@hxi.com>
717 * compile.c (decode): Clean up the code.
719 2000-06-15 Kazu Hirata <kazu@hxi.com>
721 * compile.c (decode): Distinguish inc/dec.[wl] and adds/subs
724 2000-06-20 Frank Ch. Eigler <fche@redhat.com>
726 * compile.c: Don't include "wait.h".
727 (sim_resume): Use local SIM_WIFEXITED and SIM_WIFSIGNALED macros
728 instead of WIF* from host.
730 2000-06-13 Frank Ch. Eigler <fche@redhat.com>
732 * compile.c, writecode.c: Correct typo.
734 2000-06-13 Kazu Hirata <kazu@hxi.com>
736 * compile.c: Fix formatting.
738 Tue May 23 21:39:23 2000 Andrew Cagney <cagney@b1.cygnus.com>
740 * configure: Regenerated to track ../common/aclocal.m4 changes.
742 Thu Sep 2 18:15:53 1999 Andrew Cagney <cagney@b1.cygnus.com>
744 * configure: Regenerated to track ../common/aclocal.m4 changes.
746 1999-05-08 Felix Lee <flee@cygnus.com>
748 * configure: Regenerated to track ../common/aclocal.m4 changes.
750 1999-04-02 Keith Seitz <keiths@cygnus.com>
752 * compile.c (POLL_QUIT_INTERVAL): Define. Used to tweak the
753 frequency at which the poll_quit callback is used.
754 (sim_resume): Use POLL_QUIT_INTERVAL instead of hard-coded value.
756 Tue Apr 28 18:33:31 1998 Geoffrey Noer <noer@cygnus.com>
758 * configure: Regenerated to track ../common/aclocal.m4 changes.
760 Sun Apr 26 15:31:55 1998 Tom Tromey <tromey@creche>
762 * configure: Regenerated to track ../common/aclocal.m4 changes.
765 Sun Apr 26 15:20:14 1998 Tom Tromey <tromey@cygnus.com>
767 * acconfig.h: New file.
768 * configure.in: Reverted change of Apr 24; use sinclude again.
770 Fri Apr 24 14:16:40 1998 Tom Tromey <tromey@creche>
772 * configure: Regenerated to track ../common/aclocal.m4 changes.
775 Fri Apr 24 11:19:46 1998 Tom Tromey <tromey@cygnus.com>
777 * configure.in: Don't call sinclude.
779 Sat Apr 4 20:36:25 1998 Andrew Cagney <cagney@b1.cygnus.com>
781 * configure: Regenerated to track ../common/aclocal.m4 changes.
783 Fri Mar 27 16:15:52 1998 Andrew Cagney <cagney@b1.cygnus.com>
785 * configure: Regenerated to track ../common/aclocal.m4 changes.
787 Wed Mar 25 12:35:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
789 * configure: Regenerated to track ../common/aclocal.m4 changes.
791 Wed Mar 18 12:38:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
793 * configure: Regenerated to track ../common/aclocal.m4 changes.
795 Tue Feb 17 12:42:18 1998 Andrew Cagney <cagney@b1.cygnus.com>
797 * compile.c (sim_store_register, sim_fetch_register): Pass in
798 length parameter. Return -1.
800 Sun Feb 1 16:47:51 1998 Andrew Cagney <cagney@b1.cygnus.com>
802 * configure: Regenerated to track ../common/aclocal.m4 changes.
804 Sat Jan 31 18:15:41 1998 Andrew Cagney <cagney@b1.cygnus.com>
806 * configure: Regenerated to track ../common/aclocal.m4 changes.
808 Mon Jan 19 22:26:29 1998 Doug Evans <devans@seba>
810 * configure: Regenerated to track ../common/aclocal.m4 changes.
812 Mon Dec 15 23:17:11 1997 Andrew Cagney <cagney@b1.cygnus.com>
814 * configure: Regenerated to track ../common/aclocal.m4 changes.
817 Thu Dec 4 09:21:05 1997 Doug Evans <devans@canuck.cygnus.com>
819 * configure: Regenerated to track ../common/aclocal.m4 changes.
821 Tue Nov 11 16:52:07 1997 Angela Marie Thomas (angela@cygnus.com)
823 * compile.c: #include stdio.h for definition of NULL on
826 Wed Oct 22 14:43:00 1997 Andrew Cagney <cagney@b1.cygnus.com>
828 * compile.c (sim_load): Pass lma_p and sim_write args to
831 Fri Oct 3 09:28:00 1997 Andrew Cagney <cagney@b1.cygnus.com>
833 * configure: Regenerated to track ../common/aclocal.m4 changes.
835 Wed Sep 24 17:38:57 1997 Andrew Cagney <cagney@b1.cygnus.com>
837 * configure: Regenerated to track ../common/aclocal.m4 changes.
839 Tue Sep 23 11:04:38 1997 Andrew Cagney <cagney@b1.cygnus.com>
841 * configure: Regenerated to track ../common/aclocal.m4 changes.
843 Mon Sep 22 11:46:20 1997 Andrew Cagney <cagney@b1.cygnus.com>
845 * configure: Regenerated to track ../common/aclocal.m4 changes.
847 Fri Sep 19 17:45:25 1997 Andrew Cagney <cagney@b1.cygnus.com>
849 * configure: Regenerated to track ../common/aclocal.m4 changes.
851 Wed Sep 17 12:00:57 1997 Andrew Cagney <cagney@b1.cygnus.com>
853 * Makefile.in (compile.o): Depend on config.h in local directory.
855 Mon Sep 15 17:36:15 1997 Andrew Cagney <cagney@b1.cygnus.com>
857 * configure: Regenerated to track ../common/aclocal.m4 changes.
859 Tue Sep 9 22:17:26 1997 Felix Lee <flee@cygnus.com>
861 * inst.h (sim_state): rename to h8300_sim_state, to avoid conflict
863 * configure.in: check for sys/param.h
864 * compile.c: #ifdef HAVE_SYS_PARAM_H.
865 #define SIGTRAP for wingdb.
866 (sim_resume): poll keyboard at least once per call.
867 (sim_resume): use host_callback instead of printf for syscall
870 Thu Sep 4 17:21:23 1997 Doug Evans <dje@seba>
872 * configure: Regenerated to track ../common/aclocal.m4 changes.
874 Wed Aug 27 18:13:22 1997 Andrew Cagney <cagney@b1.cygnus.com>
876 * configure: Regenerated to track ../common/aclocal.m4 changes.
879 Tue Aug 26 10:38:43 1997 Andrew Cagney <cagney@b1.cygnus.com>
881 * compile.c (sim_kill): Delete.
882 (sim_create_inferior): Add ABFD argument.
883 (sim_load): Move setting of PC from here.
884 (sim_create_inferior): To here.
885 (sim_open, sim_load, set_h8300h): Add fixme explaining why much of
886 the sim_load code should be moved to sim_open.
888 Mon Aug 25 17:50:22 1997 Andrew Cagney <cagney@b1.cygnus.com>
890 * configure: Regenerated to track ../common/aclocal.m4 changes.
893 Mon Aug 25 15:47:41 1997 Andrew Cagney <cagney@b1.cygnus.com>
895 * compile.c (sim_open): Add ABFD argument.
897 Tue May 20 10:16:48 1997 Andrew Cagney <cagney@b1.cygnus.com>
899 * compile.c (sim_open): Add callback argument.
900 (sim_set_callbacks): Delete SIM_DESC argument.
902 Wed Apr 30 10:22:29 1997 Doug Evans <dje@canuck.cygnus.com>
904 * compile.c (sim_load): Call bfd_get_mach instead of examining
906 * tconfig.in (SIM_PRE_LOAD): Delete, no longer used.
908 Thu Apr 24 00:39:51 1997 Doug Evans <dje@canuck.cygnus.com>
910 * configure: Regenerated to track ../common/aclocal.m4 changes.
912 Fri Apr 18 14:30:09 1997 Andrew Cagney <cagney@b1.cygnus.com>
914 * compile.c (sim_resume): Use poll_quit callback.
915 (sim_stop): New function.
917 Thu Apr 17 03:06:39 1997 Doug Evans <dje@canuck.cygnus.com>
919 * Makefile.in (SIM_OBJS): Add sim-load.o.
920 * compile.c (sim_kind, myname): New static locals.
921 (sim_open): Set sim_kind, myname.
922 (sim_load): Return SIM_RC. New arg abfd. Update test for h8300h.
923 Call sim_load_file to load file into simulator. Set start address
925 (sim_create_inferior): Return SIM_RC. Delete arg start_address.
927 Mon Apr 7 15:45:02 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
929 * configure: Regenerated to track ../common/aclocal.m4 changes.
932 Wed Apr 2 15:06:28 1997 Doug Evans <dje@canuck.cygnus.com>
934 * compile.c (sim_open): New arg `kind'.
936 * configure: Regenerated to track ../common/aclocal.m4 changes.
938 Wed Apr 2 14:34:19 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
940 * configure: Regenerated to track ../common/aclocal.m4 changes.
942 Wed Mar 19 01:14:00 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
944 * configure: Regenerated to track ../common/aclocal.m4 changes.
946 Mon Mar 17 15:10:07 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
948 * configure: Re-generate.
950 Fri Mar 14 10:34:11 1997 Michael Meissner <meissner@cygnus.com>
952 * configure: Regenerate to track ../common/aclocal.m4 changes.
954 Thu Mar 13 12:48:05 1997 Doug Evans <dje@canuck.cygnus.com>
956 * compile.c (sim_open): New SIM_DESC result. Argument is now in
958 (other sim_*): New SIM_DESC argument.
960 Tue Feb 4 13:36:29 1997 Doug Evans <dje@canuck.cygnus.com>
962 * Makefile.in (@COMMON_MAKEFILE_FRAG): Use
963 COMMON_{PRE,POST}_CONFIG_FRAG instead.
964 * configure.in: sinclude ../common/aclocal.m4.
965 * configure: Regenerated.
967 Thu Jan 23 11:46:23 1997 Stu Grossman (grossman@critters.cygnus.com)
969 * configure configure.in Makefile.in: Update to new configure
970 scheme which is more compatible with WinGDB builds.
971 * configure.in: Improve comment on how to run autoconf.
972 * configure: Re-run autoconf to get new ../common/aclocal.m4.
973 * Makefile.in: Use autoconf substitution to install common
976 Wed Nov 20 01:39:12 1996 Doug Evans <dje@canuck.cygnus.com>
978 * Makefile.in: Delete stuff moved to ../common/Make-common.in.
980 * configure.in: Simplify using macros in ../common/aclocal.m4.
981 * configure: Regenerated.
982 * inst.h (enum sim_state): Define.
983 (cpu_state_type): New member `state'. Set it whenever `exception'
985 * compile.c (sim_callback): New global.
986 (sim_set_simcache_size): Renamed from sim_csize.
987 (sim_resume, case O_SLEEP): Add right way to decode r0 but #if 0 out
988 'cus it can't work. Change main loop exit test to use cpu.state.
989 (sim_trace): New function.
990 (sim_stop_reason): Add right way to set results, but #if 0 out.
991 (sim_size): New function.
992 (sim_info): Redirect calls to printf_filtered through callback.
993 (sim_set_callbacks): Record callback.
994 * run.c: Deleted, using one in ../common now.
995 * tconfig.in: New file.
997 Thu Oct 3 16:13:18 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
999 * Makefile.in (mostlyclean): Don't remove config.log here.
1001 Fri Aug 9 22:59:11 1996 Jeffrey A Law (law@cygnus.com)
1003 * compile.c (sim_resume): rts, sleep, bpt and nop have
1004 no associated "size".
1006 Tue Jul 9 22:15:39 1996 Jeffrey A Law (law@cygnus.com)
1008 * compile.c (sim_resume): Fix all rotate-by-2-bits insns.
1010 Tue Jul 2 23:08:45 1996 Jeffrey A Law (law@cygnus.com)
1012 * run.c (main): Don't "load" sections which don't have
1014 * compile.c (sim_resume, case "O_NOT"): Use ONOT instead
1017 (sim_resume, shift/rotate cases): Add support for shift/rotate
1019 (OSHIFTS): Corresponding changes.
1021 Tue Jul 2 01:37:27 1996 Jeffrey A Law (law@cygnus.com)
1023 * compile.c (sim_resume): Handle "ldm.l" and "stm.l".
1025 Wed Jun 26 08:58:53 1996 Jeffrey A Law (law@cygnus.com)
1027 * compile.c (h8300smode): Declare.
1029 Wed Jun 26 12:20:56 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
1031 * Makefile.in (bindir, libdir, datadir, mandir, infodir, includedir,
1032 INSTALL_PROGRAM, INSTALL_DATA): Use autoconf-set values.
1034 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
1035 (AC_PROG_INSTALL): Added.
1036 * configure: Rebuilt.
1038 Tue Jun 18 16:31:10 1996 Jeffrey A. Law <law@rtl.cygnus.com>
1040 * compile.c (sim_load): Treat the H8/S like the H8/300H for now.
1041 * run.c (main): Treat the H8/S like the H8/300H for now.
1043 Fri May 24 10:35:25 1996 Jeffrey A Law (law@cygnus.com)
1045 * compile.c (SEXTCHAR): Clear upper bits when sign
1048 Wed May 22 22:23:37 1996 Jeffrey A Law (law@cygnus.com)
1050 * compile.c (sim_resume): Correctly handle divu.
1052 Tue May 7 02:13:05 1996 Jeffrey A Law (law@cygnus.com)
1054 * compile.c (sim_resume): Never allow the PC to have an
1057 Fri Apr 12 16:50:37 1996 Jeffrey A Law (law@cygnus.com)
1059 * inst.h: Expand on comments regarding H8300H_MSIZE. Note
1060 separate memory is allocate for the 8-bit area.
1061 (struct cpu_state_type): Add new "eightbit' field.
1062 * compile.c (GET_MEMORY_L): Handle access into the 8-bit
1064 (GET_MEMORY_W, GET_MEMORY_B): Likewise.
1065 (SET_MEMORY_L, SET_MEMORY_W, SET_MEMORY_B): Likewise.
1066 (init_pointers): Initialize space for the 8-bit area.
1067 (sim_write): Handle writing into the 8-bit area.
1068 (sim_read): Handle reading from the 8-bit area.
1069 (sim_load): Reallocate space for the 8-bit area.
1071 * compile.c (sim_load): Re-allocate memory for the simulator
1074 Fri Apr 12 09:39:56 1996 Jeffrey A Law (law@cygnus.com)
1076 * compile.c (sim_resume): Fix and simplify overflow and carry
1077 handling for 32bit ALU insns.
1079 Mon Apr 8 23:58:49 1996 Jeffrey A Law (law@cygnus.com)
1081 * compile.c (sim_resume): Fix overflow checks for ALU insns.
1083 Fri Apr 5 17:20:59 1996 Jeffrey A Law (law@cygnus.com)
1085 * compile.c (decode): Use "bit" to hold L_3 immediates instead
1086 of holding them in "abs". Handle ABS8MEM memory references aka
1087 8-bit area. Replace ABSMOV references with ABS8MEM.
1089 Wed Mar 13 17:43:56 1996 Jeffrey A Law (law@cygnus.com)
1091 * compile.c (fetch): Handle accesses to the exception/function
1094 Mon Mar 11 09:53:25 1996 Doug Evans <dje@charmed.cygnus.com>
1096 * compile.c: #include "wait.h".
1097 (sim_resume, sleep insn): Check program exit status in r0.
1098 (sim_resume, shift insns): Fix setting of overflow flag for shal.
1099 * run.c: #include <signal.h>.
1100 (main): Abort if program got SIGILL.
1101 Print error message if argument is invalid.
1102 (usage): Improve text.
1104 Wed Feb 21 12:15:00 1996 Ian Lance Taylor <ian@cygnus.com>
1106 * configure: Regenerate with autoconf 2.7.
1108 Thu Jan 4 11:52:53 1996 Doug Evans <dje@canuck.cygnus.com>
1110 * inst.h (MPOWER,MSIZE): Deleted.
1111 (H8300{,H}_MSIZE): Define.
1112 * compile.c (memory_size): New static global.
1113 (init_pointers): Set memory size from one of H8300{,H}_MSIZE.
1114 (sim_write,sim_read): Use memory_size.
1116 Fri Oct 13 15:03:19 1995 steve chamberlain <sac@slash.cygnus.com>
1118 * compile.c (sim_set_callbacks): New.
1120 Tue Oct 10 11:11:26 1995 Fred Fish <fnf@cygnus.com>
1122 * Makefile.in (BISON): Remove macro.
1124 Wed Sep 20 13:35:02 1995 Ian Lance Taylor <ian@cygnus.com>
1126 * Makefile.in (maintainer-clean): New synonym for realclean.
1128 Fri Sep 8 12:18:53 1995 Ian Lance Taylor <ian@cygnus.com>
1130 * Makefile.in (install): Don't install in $(tooldir).
1132 * configure.in: Call AC_CONFIG_HEADER. Don't try to use
1133 bfd/hosts/*.h file or bfd/config/*.mh file. Call AC_PROG_CC and
1134 AC_PROG_RANLIB. Substitute in values for CFLAGS, HDEFINES and AR.
1135 Call AC_CHECK_HEADERS for stdlib.h and time.h. Touch stamp.h if
1137 * configure: Rebuild.
1138 * config.in: New file, created by autoheader.
1139 * Makefile.in (AR): Define as @AR@.
1140 (CC): New variable, defined as @CC@.
1141 (CFLAGS): Define as @CFLAGS@.
1142 (RANLIB): Define as @RANLIB@.
1143 (HDEFINES, TDEFINES): New variables.
1144 (@host_makefile_frag@): Remove.
1145 (compile.o, run.o): Depend upon config.h.
1146 (mostlyclean): Make the same as clean, not distclean.
1147 (clean): Remove config.log.
1148 (distclean): Remove config.h and stamp-h.
1149 (Makefile): Don't depend upon @frags@. Just rebuild Makefile when
1150 invoking config.status.
1151 (config.h, stamp-h): New targets.
1152 * compile.c: Include "config.h". Don't include <sys/times.h>.
1153 Include <time.h> and <stdlib.h> if they exist. Don't include
1155 (get_now): Remove unused local b.
1156 * run.c: Include "config.h". Include <stdlib.h> if it exists.
1157 Don't include "sysdep.h".
1158 * writecode.c: Don't include "bfd.h" or "sysdep.h". Include
1161 Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
1163 * Update all FSF addresses except those in COPYING* files.
1165 Wed Jul 5 14:32:54 1995 J.T. Conklin <jtc@rtl.cygnus.com>
1167 * Makefile.in (clean): Remove run.
1168 (distclean): Remove Makefile.
1170 * h8300.mt: Removed.
1172 * Makefile.in, configure.in: converted to autoconf.
1173 * configure: New file, generated with autconf 2.4.
1175 Fri Jun 30 16:50:24 1995 Stan Shebs <shebs@andros.cygnus.com>
1177 * compile.c (sim_do_command): New function.
1179 Tue Jun 20 16:18:13 1995 Steve Chamberlain <sac@slash.cygnus.com>
1181 * compile.c (get_now): Don't do if win32.
1182 (sim_resume): Poll in win32 too.
1184 Wed May 24 16:31:38 1995 Jim Wilson <wilson@chestnut.cygnus.com>
1186 * configure.in: Fix typo in last change.
1188 Mon Mar 27 10:32:34 1995 J.T. Conklin <jtc@rtl.cygnus.com>
1190 * run.c: parse arguments with getopt().
1192 Tue Feb 28 17:30:08 1995 Ian Lance Taylor <ian@cygnus.com>
1194 * configure.in: Use ../../bfd/hosts/std-host.h if specific
1197 Sun Jan 22 12:35:43 1995 Steve Chamberlain <sac@splat>
1199 * compile.c (sim_resume): Initialize cpu.mask.
1201 Thu Sep 8 16:53:00 1994 Steve Chamberlain (sac@jonny.cygnus.com)
1203 * inst.h (MPOWER): Bump simulated memory size to 2^18 bytes.
1205 Wed May 18 13:47:58 1994 Doug Evans (dje@canuck.cygnus.com)
1207 * compile.c: #include "bfd.h".
1208 (sim_*): Set result type to void where there isn't one.
1209 (sim_resume, default case): Set cpu.exception to SIGILL.
1210 (sim_trace): Delete.
1211 (sim_set_pc): Delete.
1212 (sim_info): Delete printf_fn arg, all callers changed.
1213 Call printf_filtered.
1214 (set_h8300h): New arg `flag', all callers changed.
1215 (sim_close): New function.
1216 (sim_load): New function.
1217 (sim_create_inferior): Renamed from sim_set_args, all callers changed.
1218 * run.c: #include <varargs.h>, "remote-sim.h".
1219 (printf_filtered): New function.
1221 Fri May 13 18:32:27 1994 Doug Evans (dje@canuck.cygnus.com)
1223 * compile.c (decode): Fix typo (16 bit branches).
1224 (*): Some white space clean up.
1226 Fri May 6 13:44:01 1994 Steve Chamberlain (sac@jonny.cygnus.com)
1228 * compile.c (decode): Compile 16bit branches properly.
1230 Sat Dec 11 16:32:36 1993 Steve Chamberlain (sac@thepub.cygnus.com)
1232 * compile.c: Tidy up formatting. (sim_resume): Add orc, xorc,
1233 andc. Poll for interrupts.
1235 Thu Oct 28 19:29:34 1993 Doug Evans (dje@canuck.cygnus.com)
1237 * compile.c: #include "ansidecl.h" for remote-sim.h.
1239 Tue Oct 26 09:43:36 1993 Doug Evans (dje@canuck.cygnus.com)
1241 * Makefile.in (CSEARCH): Add -I$(srcdir)/../../gdb
1242 * compile.c: #include "remote-sim.h".
1243 (sim_resume): New arg siggnal.
1244 (sim_write): Use SIM_ADDR for type of arg addr.
1245 Always return a value.
1247 (sim_store_register): Result is type int.
1248 (sim_fetch_register): Ditto.
1249 (sim_stop_reason): Renamed from sim_stop_signal.
1250 (sim_set_pc): Use SIM_ADDR for type of arg pc.
1251 (sim_info): int result, new arg printf_fn.
1252 (sim_kill): int result.
1253 (sim_open): int result, new arg name.
1254 * run.c (main): Use sim_set_pc to set pc.
1255 Update call to sim_info.
1257 Sat Oct 23 15:01:18 1993 Doug Evans (dje@canuck.cygnus.com)
1259 * compile.c (sim_stop_signal): Result is now enum sim_stop.
1261 Fri Oct 15 23:49:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1263 * compile.c (sim_kill, sim_open, sim_set_args): New functions.
1265 Thu Oct 7 16:24:10 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
1267 * compile.c (sim_set_pc): Write to the pc direcly.
1268 (sim_store_register): Now value is passed by reference. (sim_read,
1269 sim_write): Return number of bytes copied.
1271 Tue Aug 17 07:16:15 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
1273 * compile.c (mop): New function to do multiplies.
1275 Fri Jul 16 13:53:53 1993 Doug Evans (dje@canuck.cygnus.com)
1277 * compile.c (sim_resume): Add support for nop insn.
1279 Thu Jul 15 09:59:01 1993 Doug Evans (dje@canuck.cygnus.com)
1281 * compile.c: Reset HMODE back to zero (accidently set it to 1).
1283 * run.c (main): If h8/300h binary detected, call set_h8300h.
1284 * compile.c (sim_resume): Fix O_NEG insn.
1286 Fri Jul 9 14:36:48 1993 Doug Evans (dje@canuck.cygnus.com)
1288 * run.c (main): Add -h flag to enable h8/300h emulation.
1289 * compile.c: Rename Hmode to HMODE (consistency with gdb).
1290 (set_h8300h): New function.
1291 (sim_resume): Add support for extu,exts insns.
1292 (sim_resume): Fix logical right shifting.
1293 (sim_resume, label alu32): Fix setting of carry flag.
1295 Sun Jul 4 00:35:41 1993 Doug Evans (dje@canuck.cygnus.com)
1297 * compile.c (sim_csize): Initialize cpu.cache.
1299 Fri Jul 2 17:42:59 1993 Doug Evans (dje@canuck.cygnus.com)
1301 * Makefile.in: Add -I../../bfd to pick up bfd.h.
1303 Thu Jun 24 13:40:12 1993 Doug Evans (dje@canuck.cygnus.com)
1305 * run.c (main): Fix parsing of args.
1307 * compile.c (sim_resume): Fix shll insn.
1309 Tue Jun 8 14:16:46 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
1311 * compile.c: New file, supports H8/300H.
1312 * p1,p3, gencode.c, state.h, writecode.c All dead and obsolete.
1314 Tue Jun 1 11:14:59 1993 Steve Chamberlain (sac@thepub.cygnus.com)
1316 * run.c (main): Add -v to print info.
1317 * p3.c (sim_info): New function.
1319 Mon Mar 15 15:48:31 1993 Ian Lance Taylor (ian@cygnus.com)
1321 * h8300.mt (DO_INSTALL): Renamed from INSTALL.
1323 Wed Mar 3 15:06:53 1993 Steve Chamberlain (sac@poseidon.cygnus.com)
1325 * Makefile.in: Don't use cb or indent
1326 * p1.c, state.h, writecode.c: lint
1328 Mon Feb 1 16:44:58 1993 John Gilmore (gnu@cygnus.com)
1330 * Makefile.in: Make SunOS halfdone VPATH work.
1331 * p1.c: Lint picked up by HP native compiler.
1333 Mon Jan 4 12:32:35 1993 Steve Chamberlain (sac@wahini.cygnus.com)
1335 * p1.c (sim_resume): when running on dos, any character typed to
1336 the keyboard will cause a simulated exception.
1338 Sun Jan 3 14:15:07 1993 Steve Chamberlain (sac@thepub.cygnus.com)
1340 * p1.c, p3.c, run.c, writecode.c: all used h8/300 opcodes in and
1343 Tue Dec 22 13:56:48 1992 Steve Chamberlain (sac@thepub.cygnus.com)