1 2016-01-10 Mike Frysinger <vapier@gentoo.org>
3 * configure: Regenerate.
5 2016-01-10 Mike Frysinger <vapier@gentoo.org>
7 * configure: Regenerate.
9 2016-01-09 Mike Frysinger <vapier@gentoo.org>
11 * config.in, configure: Regenerate.
13 2016-01-06 Mike Frysinger <vapier@gentoo.org>
15 * compile.c (sim_open): Mark argv const.
16 (sim_create_inferior): Mark argv and env const.
18 2016-01-04 Mike Frysinger <vapier@gentoo.org>
20 * configure: Regenerate.
22 2016-01-03 Mike Frysinger <vapier@gentoo.org>
24 * compile.c (sim_open): Update sim_parse_args comment.
26 2016-01-03 Mike Frysinger <vapier@gentoo.org>
28 * config.in, configure: Regenerate.
30 2016-01-02 Mike Frysinger <vapier@gentoo.org>
32 * configure.ac (SIM_AC_OPTION_ENDIAN): Change BIG_ENDIAN to BIG.
33 * configure: Regenerate.
35 2015-12-30 Mike Frysinger <vapier@gentoo.org>
37 * compile.c (sim_state_initialize): Delete.
38 (sim_open): Replace sim_state_initialize call with SBR_REGNUM
41 2015-12-30 Mike Frysinger <vapier@gentoo.org>
43 * compile.c (h8300_reg_store): Delete sd. Change init_pointers to
44 use CPU_STATE (cpu). Change h8_set_pc to cpu->pc. Return -1 and
45 drop the printf if the default case. Change all the set func calls
46 to use cpu->regs[rn] instead.
47 (h8300_reg_store): Delete sd. Change init_pointers to
48 use CPU_STATE (cpu). Change h8_get_pc to cpu->pc. Return -1 and
49 drop the printf if the default case. Change all the get func calls
50 to use cpu->regs[rn] instead. Add ZERO_REGNUM case. Return 2 and
51 4 instead of -1 at the end.
53 2015-12-30 Mike Frysinger <vapier@gentoo.org>
55 * compile.c (lvalue): Change sim_engine_set_run_state calls to
56 sim_engine_halt. Declare local cpu.
59 (sim_resume): Rename to ...
60 (step_once): ... this. Declare init1, poll_count, reason, and
61 sigrc variables. Delete step checking. Change
62 sim_engine_set_run_state calls to sim_engine_halt. Delete poll
63 logic. Change while(1) loop to while(0).
64 (sim_engine_run): New function.
65 * Makefile.in (SIM_OBJS): Add sim-resume.o.
67 2015-12-30 Mike Frysinger <vapier@gentoo.org>
69 * compile.c (sim_open): Delete current_alignment and
70 current_target_byte_order assignments.
71 * configure.ac: Call SIM_AC_OPTION_ENDIAN and
72 SIM_AC_OPTION_ALIGNMENT.
73 * configure: Regenerate.
75 2015-12-30 Mike Frysinger <vapier@gentoo.org>
77 * wrapper.c (sim_store_register): Rename to ...
78 (h8300_reg_store): ... this. Declare sd.
79 (sim_fetch_register): Rename to ...
80 (h8300_reg_fetch): ... this. Declare sd.
81 (sim_open): Call CPU_REG_FETCH/CPU_REG_STORE.
83 2015-12-30 Mike Frysinger <vapier@gentoo.org>
85 * compile.c (lreg): Delete.
86 (init_pointers): Delete lreg assignments.
88 2015-12-30 Mike Frysinger <vapier@gentoo.org>
90 * inst.h: Delete file.
91 * Makefile.in (compile.o): Delete rule.
93 2015-12-26 Mike Frysinger <vapier@gentoo.org>
95 * config.in, configure: Regenerate.
97 2015-12-24 Mike Frysinger <vapier@gentoo.org>
99 * compile.c (H8300_OPTIONS): New enum from common/sim-options.c.
100 (h8300_option_handler): New func from common/sim-options.c.
101 (h8300_options): New options from common/sim-options.c.
102 (sim_open): Call sim_add_option_table.
103 * tconfig.h: Delete file.
105 2015-12-24 Mike Frysinger <vapier@gentoo.org>
107 * tconfig.h (SIM_HAVE_SIMCACHE): Delete.
109 2015-11-21 Mike Frysinger <vapier@gentoo.org>
111 * compile.c (sim_callback, sim_kind, myname): Delete.
112 (init_pointers, sim_store_register, sim_fetch_register, sim_info):
113 Change sim_callback->printf_filtered calls to sim_io_printf.
114 (sim_resume): Likewise. Declare sim_callback.
115 (sim_open): Delete sim_callback, sim_kind, and myname assignment.
116 (sim_load); Use sd to look up myname, sim_callback, and sim_kind.
118 2015-11-15 Mike Frysinger <vapier@gentoo.org>
120 * Makefile.in (SIM_OBJS): Delete sim-reason.o and sim-stop.o.
122 2015-11-15 Mike Frysinger <vapier@gentoo.org>
124 * Makefile.in (SIM_OBJS): Add sim-reason.o and sim-stop.o.
125 * compile.c (sim_stop, sim_stop_reason): Delete.
127 2015-11-14 Mike Frysinger <vapier@gentoo.org>
129 * Makefile.in (SIM_OBJS): Delete sim-load.o.
131 2015-11-14 Mike Frysinger <vapier@gentoo.org>
133 * compile.c (sim_close): Delete.
135 2015-11-09 Mike Frysinger <vapier@gentoo.org>
137 * compile.c (littleendian): Delete.
138 (init_pointers): Delete littleendian usage.
140 2015-06-23 Mike Frysinger <vapier@gentoo.org>
142 * configure: Regenerate.
144 2015-06-12 Mike Frysinger <vapier@gentoo.org>
146 * configure: Regenerate.
148 2015-06-12 Mike Frysinger <vapier@gentoo.org>
150 * configure: Regenerate.
152 2015-04-18 Mike Frysinger <vapier@gentoo.org>
154 * sim-main.h (SIM_CPU): Delete.
156 2015-04-18 Mike Frysinger <vapier@gentoo.org>
158 * sim-main.h (sim_cia): Delete.
160 2015-04-17 Mike Frysinger <vapier@gentoo.org>
162 * sim-main.h (CIA_GET, CIA_SET): Delete.
164 2015-04-17 Mike Frysinger <vapier@gentoo.org>
166 * compile.c (h8300_pc_get, h8300_pc_set): New functions.
167 (sim_open): Declare new local var i. Call CPU_PC_FETCH &
168 CPU_PC_STORE for all cpus.
169 * sim-main.h (SIM_CPU): Define.
171 2015-04-15 Mike Frysinger <vapier@gentoo.org>
173 * Makefile.in (SIM_OBJS): Delete sim-cpu.o.
174 * sim-main.h (STATE_CPU): Delete.
176 2015-04-15 Mike Frysinger <vapier@gentoo.org>
178 * compile.c: Include sim-options.h.
179 (sim_open): Call sim_cpu_alloc_all instead of sim_cpu_alloc.
180 * sim-main.h (struct sim_state): Change cpu to an array of pointers.
181 (STATE_CPU): Handle WITH_SMP.
183 2015-04-13 Mike Frysinger <vapier@gentoo.org>
185 * configure: Regenerate.
187 2015-04-06 Mike Frysinger <vapier@gentoo.org>
189 * Makefile.in (SIM_OBJS): Delete sim-engine.o.
191 2015-04-01 Mike Frysinger <vapier@gentoo.org>
193 * Makefile.in (SIM_OBJS): Delete $(SIM_EXTRA_OBJS).
195 2015-03-31 Mike Frysinger <vapier@gentoo.org>
197 * config.in, configure: Regenerate.
199 2015-03-24 Mike Frysinger <vapier@gentoo.org>
201 * compile.c (sim_set_callbacks, sim_size, sim_trace): Delete.
202 * tconfig.h (SIM_HAVE_PROFILE): Delete.
204 2015-03-16 Mike Frysinger <vapier@gentoo.org>
206 * config.in, configure: Regenerate.
207 * tconfig.in: Rename file ...
208 * tconfig.h: ... here.
210 2015-03-14 Mike Frysinger <vapier@gentoo.org>
212 * Makefile.in (SIM_RUN_OBJS): Delete.
214 2015-03-14 Mike Frysinger <vapier@gentoo.org>
216 * configure.ac (AC_CHECK_HEADERS): Delete stdlib.h & time.h.
217 * aclocal.m4, configure: Regenerate.
219 2014-12-03 Joel Brobecker <brobecker@adacore.com>
221 * compile.c (sim_resume): Adjust calls to "stat" and "fstat"
222 callbacks by calls to "to_stat" and "to_fstat" (resp) callbacks
223 following renaming in callback.h.
225 2014-08-19 Alan Modra <amodra@gmail.com>
227 * configure: Regenerate.
229 2014-08-15 Roland McGrath <mcgrathr@google.com>
231 * configure: Regenerate.
232 * config.in: Regenerate.
234 2014-03-05 Mike Frysinger <vapier@gentoo.org>
236 * compile.c (sim_load): Add const to prog.
238 2014-02-17 Mike Frysinger <vapier@gentoo.org>
241 * compile.c (control_c_sim_desc): Delete.
242 (control_c): Likewise.
243 (sim_resume): Delete signal(SIGINT) handling.
245 2013-09-23 Alan Modra <amodra@gmail.com>
247 * configure: Regenerate.
249 2013-06-03 Mike Frysinger <vapier@gentoo.org>
251 * aclocal.m4, configure: Regenerate.
253 2012-06-15 Joel Brobecker <brobecker@adacore.com>
255 * config.in, configure: Regenerate.
257 2012-05-18 Nick Clifton <nickc@redhat.com>
260 * compile.c: Include config.h before system header files.
261 * sim-main.h: Likewise.
263 2012-03-24 Mike Frysinger <vapier@gentoo.org>
265 * aclocal.m4, config.in, configure: Regenerate.
267 2011-12-03 Mike Frysinger <vapier@gentoo.org>
269 * aclocal.m4: New file.
270 * configure: Regenerate.
272 2011-10-17 Mike Frysinger <vapier@gentoo.org>
274 * configure.ac: Change include to common/acinclude.m4.
276 2011-10-17 Mike Frysinger <vapier@gentoo.org>
278 * configure.ac: Change AC_PREREQ to 2.64. Delete AC_CONFIG_HEADER
279 call. Replace common.m4 include with SIM_AC_COMMON.
280 * configure: Regenerate.
282 2011-07-05 Mike Frysinger <vapier@gentoo.org>
284 * compile.c (sim_do_command): Delete.
286 2011-01-11 Andrew Burgess <aburgess@broadcom.com>
288 * compile.c (sim_store_register): Update return value to
291 2010-04-14 Mike Frysinger <vapier@gentoo.org>
293 * compile.c (sim_write): Add const to buffer arg.
295 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
297 * configure: Regenerate.
299 2009-12-09 Yoshinori Sato <ysato@users.sourceforge.jp>
300 * compile.c(fetch_1): Fix pre-dec, pre-inc, post-dec and post-inc.
301 Index registers not masked memory areas.
302 Only simply increment or decrement.
303 * compile.c(store_1): Ditto.
305 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
307 * config.in: Regenerate.
308 * configure: Likewise.
310 * configure: Regenerate.
312 2008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
314 * compile.c: Add const to remove warning.
316 2008-07-11 Hans-Peter Nilsson <hp@axis.com>
318 * configure: Regenerate to track ../common/common.m4 changes.
321 2008-06-06 Vladimir Prus <vladimir@codesourcery.com>
322 Daniel Jacobowitz <dan@codesourcery.com>
323 Joseph Myers <joseph@codesourcery.com>
325 * configure: Regenerate.
327 2007-07-03 Yoshinori Sato <ysato@users.sourceforge.jp>
329 * compile.c (sim_resume): Fix the last byte of ARGV for
332 2006-12-21 Hans-Peter Nilsson <hp@axis.com>
334 * acconfig.h: Remove.
335 * config.in: Regenerate.
337 2006-07-13 Yoshinori Sato <ysato@users.sourceforge.jp>
339 * compile.c (OBITOP): Bit address mask low three bit.
340 * compile.c (decode): Fix warning.
342 2006-06-13 Richard Earnshaw <rearnsha@arm.com>
344 * configure: Regenerated.
346 2006-06-05 Daniel Jacobowitz <dan@codesourcery.com>
348 * configure: Regenerated.
350 2006-05-31 Daniel Jacobowitz <dan@codesourcery.com>
352 * configure: Regenerated.
354 2005-03-23 Mark Kettenis <kettenis@gnu.org>
356 * configure: Regenerate.
358 2005-01-14 Andrew Cagney <cagney@gnu.org>
360 * configure.ac: Sinclude aclocal.m4 before common.m4. Add
361 explicit call to AC_CONFIG_HEADER.
362 * configure: Regenerate.
364 2005-01-12 Andrew Cagney <cagney@gnu.org>
366 * configure.ac: Update to use ../common/common.m4.
367 * configure: Re-generate.
369 2005-01-11 Andrew Cagney <cagney@localhost.localdomain>
371 * configure: Regenerated to track ../common/aclocal.m4 changes.
373 2005-01-07 Andrew Cagney <cagney@gnu.org>
375 * configure.ac: Rename configure.in, require autoconf 2.59.
376 * configure: Re-generate.
378 2004-12-08 Hans-Peter Nilsson <hp@axis.com>
380 * configure: Regenerate for ../common/aclocal.m4 update.
382 2004-06-28 Alexandre Oliva <aoliva@redhat.com>
384 2003-07-23 Richard Sandiford <rsandifo@redhat.com>
385 * compile.c (sim_resume): Make sure that dst.reg refers to the
386 right register byte in mova/sz.l @(dd,RnL),ERn.
387 2003-07-21 Richard Sandiford <rsandifo@redhat.com>
388 * compile.c (sim_resume): Zero-extend immediate to muls, mulsu,
389 mulxs, divs and divxs.
391 * compile.c (sim_load): Update sd->memory_size.
393 2004-06-10 Michael Snyder <msnyder@redhat.com>
395 Patch submitted by Nitin Yewale <NitinY@KPITCummins.com>.
396 * compile.c (sim_resume): Corrected ANDC operation on EXR for H8S.
398 2004-01-05 Michael Snyder <msnyder@redhat.com>
400 * compile.c (sim_load): Don't pass a type to bfd_openr.
402 2003-12-16 Michael Snyder <msnyder@redhat.com>
404 Patch submitted by Anil Paranjape <AnilP1@KPITCummins.com>
405 * sim-main.h (H8300H_MSIZE): Increase from 18 bits to 24 bits.
407 2003-12-11 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
409 * compile.c (set_h8300h): Initialize globals to zero.
411 2003-10-17 Shrinivas Atre <shrinivasa@KPITCummins.com>
413 * compile.c (h8300_normal_mode): New.
414 (SP): Handle normal mode.
415 (bitfrom): Use normal mode flag to return suitable value.
416 (lvalue): Use normal mode flag to return command line location.
417 (decode): Decode instruction correctly for normal mode.
418 (init_pointers): Initialise memory correctly for normal mode.
419 (sim_resume): Handle cases for normal mode using h8300_normal_mode
421 (sim_store_register): Handle 2 byte PC for normal mode.
422 (sim_fetch_register): Handle 2 byte PC for normal mode.
423 (set_h8300h): Set normal mode flag as per architechture.
424 (sim_load): Allocate 64K for normal mode instead of bigger memory.
426 2003-07-18 Michael Snyder <msnyder@redhat.com>
428 * compile.c (decode): Enhancements for mova.
429 Initialize cst, reg, and rdisp inside the loop, for each
430 new instruction. Defer correction of the disp2 values until
431 later, and then adjust them by the size of the first operand,
432 rather than the size of the instruction.
433 (sim_resume): For mova, adjust the size of the second operand
434 according to the type of the first operand (INDEXB vs. INDEXW).
435 In cases where there is only one operand, the other two must
436 both be composed on the fly.
438 2003-07-22 Michael Snyder <msnyder@redhat.com>
440 * compile.c (sim_resume): Revert 6-24 change, it does not
441 work with gdb breakpoints.
443 2003-07-17 Michael Snyder <msnyder@redhat.com>
445 * compile.c (sim_resume): Handle shll reg, reg and shlr reg, reg.
446 (decode): IMM16 is always zero-extended.
448 2003-06-24 Michael Snyder <msnyder@redhat.com>
450 * sim-main.h (SIM_WIFSTOPPED, SIM_WSTOPSIG): Define.
451 * compile.c (sim_resume): Use the above to return stop signal.
453 2003-06-18 Michael Snyder <msnyder@redhat.com>
455 * compile.c: Replace "Hitachi" with "Renesas".
456 (decode): Distinguish AV_H8S from AV_H8H.
457 (sim_resume): H8SX can use any register for TAS.
458 (decode): Add support for VECIND.
459 (sim_resume): Implement rte/l and rts/l.
460 (GETSR): New macro (actually old macro reincarnated).
461 (decode): Add handling for IMM2.
462 (sim_resume): Drop extra block around jmp, jsr, rts.
463 Add handling for trapa and rte.
464 For divxu.b, change 0xffff mask to 0xff.
465 (set_h8300h): Add bfd_mach_h8300sxn machine.
467 2003-06-18 Corinna Vinschen <vinschen@redhat.com>
469 * sim-main.h (enum h8_regnum): Turn around order of MACH, MACL
472 2003-06-05 Michael Snyder <msnyder@redhat.com>
474 * compile.c (sim_fetch_register): Handle SBR, VBR, MACH, MACL.
475 (sim_store_register): Ditto.
477 2003-06-04 Michael Snyder <msnyder@redhat.com>
479 * compile.c (sim_info): Fix typo in output.
481 * compile.c (set_h8300h): Replace 'flag' arguments
482 with a bfd_machine argument, and decode it inline.
483 Check for bfd_mach_h8300hn and bfd_mach_h8300sn.
485 2003-06-03 Michael Snyder <msnyder@redhat.com>
487 * compile.c: Add h8300sx insns and addressing modes.
488 * sim-main.h: Replaces h8300/inst.h.
489 * Makefile.in: Tweak to bring in some sim/common stuff.
491 2003-04-13 Michael Snyder <msnyder@redhat.com>
493 * compile.c (sim_resume): Implement 'daa' and 'das' instructions.
495 2003-03-20 D.Venkatasubramanian <dvenkat@noida.hcltech.com>
497 * compile.c (cmdline_location): Added function to
498 return the location of 8-bit (256 locations) where the
499 Command Line arguments would be stored.
500 (decode): Added a TRAP to 0xcc for Commandline
501 processing using pseudo opcode O_SYS_CMDLINE.
502 (sim_resume): Added handling of O_SYS_CMDLINE Trap.
503 (sim_create_inferior): Setting a pointer to
504 Commandline Args array.
505 * inst.h: Added a new variable ptr_command_line for
506 storing pointer to Commandline array.
508 2003-03-14 D.Venkatasubramanian <dvenkat@noida.hcltech.com>
510 * compile.c (decode): Added code for some more magic traps.
511 * compile.c (sim_resume): Added support for File I/O system
512 calls through callback to host_system.
513 System calls provided support for :
514 open, read, write, lseek, close, stat, fstat
515 Only basic support for stat and fstat.
517 2003-02-27 Andrew Cagney <cagney@redhat.com>
519 * compile.c (sim_open, sim_create_inferior): Rename _bfd to bfd.
521 2003-02-05 Kazu Hirata <kazu@cs.umass.edu>
523 * compile.c (init_pointers): Abort if wreg never gets initialized.
524 (sim_resume): Fix the handling of exts.w and extu.w.
526 2003-01-31 Kazu Hirata <kazu@cs.umass.edu>
528 * compile.c (sim_resume): Fix the handling of bxor.
530 2003-01-16 Michael Snyder <msnyder@redhat.com>
532 * compile.c: Change K&R function definitions to ISO.
533 (fetch): Make static, and eliminate unused parameter 'n'.
535 2002-12-26 Kazu Hirata <kazu@cs.umass.edu>
537 * compile.c: Fix formatting.
540 2002-07-29 Andrey Volkov <avolkov@transas.com>
542 * compile.c: Include "gdb/sim-h8300.h"
543 * Makefile.in: Add dependences on "inst.h",
544 "gdb/callback.h", "gdb/remote-sim.h" and "gdb/sim-h8300.h".
546 2002-06-16 Andrew Cagney <ac131313@redhat.com>
548 * configure: Regenerated to track ../common/aclocal.m4 changes.
550 2002-06-08 Andrew Cagney <cagney@redhat.com>
552 * compile.c: Include "gdb/callback.h" and "gdb/remote-sim.h".
554 2002-05-19 Kazu Hirata <kazu@cs.umass.edu>
556 * compile.c: Fix formatting.
558 2002-05-18 Kazu Hirata <kazu@cs.umass.edu>
560 * compile.c: Fix formatting.
562 2002-05-17 Andrey Volkov (avolkov@transas.com)
564 * compile.c: Add absented opcodes: LDC, STC, EEPMOV, TAS.
566 2002-05-17 Andrey Volkov (avolkov@transas.com)
568 * compile.c: Add support of EXR register
571 2002-05-17 Andrey Volkov (avolkov@transas.com)
573 * compile.c: Made h8300s as new target, not h8300h alias.
576 2002-05-17 Andrey Volkov (avolkov@transas.com)
578 * compile.c: Add additional CCR flags (I,UI,H,U)
580 2002-05-17 Andrey Volkov (avolkov@transas.com)
582 * compile.c: Change literal regnumbers to REGNUMS.
583 Fix instruction and cycles counting
585 2001-12-20 Kazu Hirata <kazu@hxi.com>
587 * compile.c: Fix formatting.
589 2001-12-20 Kazu Hirata <kazu@hxi.com>
591 * compile.c: Fix comment typos.
593 2000-08-10 Kazu Hirata <kazu@hxi.com>
595 * compile.c (decode): Clean up the code.
597 2000-06-15 Kazu Hirata <kazu@hxi.com>
599 * compile.c (decode): Distinguish inc/dec.[wl] and adds/subs
602 2000-06-20 Frank Ch. Eigler <fche@redhat.com>
604 * compile.c: Don't include "wait.h".
605 (sim_resume): Use local SIM_WIFEXITED and SIM_WIFSIGNALED macros
606 instead of WIF* from host.
608 2000-06-13 Frank Ch. Eigler <fche@redhat.com>
610 * compile.c, writecode.c: Correct typo.
612 2000-06-13 Kazu Hirata <kazu@hxi.com>
614 * compile.c: Fix formatting.
616 Tue May 23 21:39:23 2000 Andrew Cagney <cagney@b1.cygnus.com>
618 * configure: Regenerated to track ../common/aclocal.m4 changes.
620 Thu Sep 2 18:15:53 1999 Andrew Cagney <cagney@b1.cygnus.com>
622 * configure: Regenerated to track ../common/aclocal.m4 changes.
624 1999-05-08 Felix Lee <flee@cygnus.com>
626 * configure: Regenerated to track ../common/aclocal.m4 changes.
628 1999-04-02 Keith Seitz <keiths@cygnus.com>
630 * compile.c (POLL_QUIT_INTERVAL): Define. Used to tweak the
631 frequency at which the poll_quit callback is used.
632 (sim_resume): Use POLL_QUIT_INTERVAL instead of hard-coded value.
634 Tue Apr 28 18:33:31 1998 Geoffrey Noer <noer@cygnus.com>
636 * configure: Regenerated to track ../common/aclocal.m4 changes.
638 Sun Apr 26 15:31:55 1998 Tom Tromey <tromey@creche>
640 * configure: Regenerated to track ../common/aclocal.m4 changes.
643 Sun Apr 26 15:20:14 1998 Tom Tromey <tromey@cygnus.com>
645 * acconfig.h: New file.
646 * configure.in: Reverted change of Apr 24; use sinclude again.
648 Fri Apr 24 14:16:40 1998 Tom Tromey <tromey@creche>
650 * configure: Regenerated to track ../common/aclocal.m4 changes.
653 Fri Apr 24 11:19:46 1998 Tom Tromey <tromey@cygnus.com>
655 * configure.in: Don't call sinclude.
657 Sat Apr 4 20:36:25 1998 Andrew Cagney <cagney@b1.cygnus.com>
659 * configure: Regenerated to track ../common/aclocal.m4 changes.
661 Fri Mar 27 16:15:52 1998 Andrew Cagney <cagney@b1.cygnus.com>
663 * configure: Regenerated to track ../common/aclocal.m4 changes.
665 Wed Mar 25 12:35:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
667 * configure: Regenerated to track ../common/aclocal.m4 changes.
669 Wed Mar 18 12:38:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
671 * configure: Regenerated to track ../common/aclocal.m4 changes.
673 Tue Feb 17 12:42:18 1998 Andrew Cagney <cagney@b1.cygnus.com>
675 * compile.c (sim_store_register, sim_fetch_register): Pass in
676 length parameter. Return -1.
678 Sun Feb 1 16:47:51 1998 Andrew Cagney <cagney@b1.cygnus.com>
680 * configure: Regenerated to track ../common/aclocal.m4 changes.
682 Sat Jan 31 18:15:41 1998 Andrew Cagney <cagney@b1.cygnus.com>
684 * configure: Regenerated to track ../common/aclocal.m4 changes.
686 Mon Jan 19 22:26:29 1998 Doug Evans <devans@seba>
688 * configure: Regenerated to track ../common/aclocal.m4 changes.
690 Mon Dec 15 23:17:11 1997 Andrew Cagney <cagney@b1.cygnus.com>
692 * configure: Regenerated to track ../common/aclocal.m4 changes.
695 Thu Dec 4 09:21:05 1997 Doug Evans <devans@canuck.cygnus.com>
697 * configure: Regenerated to track ../common/aclocal.m4 changes.
699 Tue Nov 11 16:52:07 1997 Angela Marie Thomas (angela@cygnus.com)
701 * compile.c: #include stdio.h for definition of NULL on
704 Wed Oct 22 14:43:00 1997 Andrew Cagney <cagney@b1.cygnus.com>
706 * compile.c (sim_load): Pass lma_p and sim_write args to
709 Fri Oct 3 09:28:00 1997 Andrew Cagney <cagney@b1.cygnus.com>
711 * configure: Regenerated to track ../common/aclocal.m4 changes.
713 Wed Sep 24 17:38:57 1997 Andrew Cagney <cagney@b1.cygnus.com>
715 * configure: Regenerated to track ../common/aclocal.m4 changes.
717 Tue Sep 23 11:04:38 1997 Andrew Cagney <cagney@b1.cygnus.com>
719 * configure: Regenerated to track ../common/aclocal.m4 changes.
721 Mon Sep 22 11:46:20 1997 Andrew Cagney <cagney@b1.cygnus.com>
723 * configure: Regenerated to track ../common/aclocal.m4 changes.
725 Fri Sep 19 17:45:25 1997 Andrew Cagney <cagney@b1.cygnus.com>
727 * configure: Regenerated to track ../common/aclocal.m4 changes.
729 Wed Sep 17 12:00:57 1997 Andrew Cagney <cagney@b1.cygnus.com>
731 * Makefile.in (compile.o): Depend on config.h in local directory.
733 Mon Sep 15 17:36:15 1997 Andrew Cagney <cagney@b1.cygnus.com>
735 * configure: Regenerated to track ../common/aclocal.m4 changes.
737 Tue Sep 9 22:17:26 1997 Felix Lee <flee@cygnus.com>
739 * inst.h (sim_state): rename to h8300_sim_state, to avoid conflict
741 * configure.in: check for sys/param.h
742 * compile.c: #ifdef HAVE_SYS_PARAM_H.
743 #define SIGTRAP for wingdb.
744 (sim_resume): poll keyboard at least once per call.
745 (sim_resume): use host_callback instead of printf for syscall
748 Thu Sep 4 17:21:23 1997 Doug Evans <dje@seba>
750 * configure: Regenerated to track ../common/aclocal.m4 changes.
752 Wed Aug 27 18:13:22 1997 Andrew Cagney <cagney@b1.cygnus.com>
754 * configure: Regenerated to track ../common/aclocal.m4 changes.
757 Tue Aug 26 10:38:43 1997 Andrew Cagney <cagney@b1.cygnus.com>
759 * compile.c (sim_kill): Delete.
760 (sim_create_inferior): Add ABFD argument.
761 (sim_load): Move setting of PC from here.
762 (sim_create_inferior): To here.
763 (sim_open, sim_load, set_h8300h): Add fixme explaining why much of
764 the sim_load code should be moved to sim_open.
766 Mon Aug 25 17:50:22 1997 Andrew Cagney <cagney@b1.cygnus.com>
768 * configure: Regenerated to track ../common/aclocal.m4 changes.
771 Mon Aug 25 15:47:41 1997 Andrew Cagney <cagney@b1.cygnus.com>
773 * compile.c (sim_open): Add ABFD argument.
775 Tue May 20 10:16:48 1997 Andrew Cagney <cagney@b1.cygnus.com>
777 * compile.c (sim_open): Add callback argument.
778 (sim_set_callbacks): Delete SIM_DESC argument.
780 Wed Apr 30 10:22:29 1997 Doug Evans <dje@canuck.cygnus.com>
782 * compile.c (sim_load): Call bfd_get_mach instead of examining
784 * tconfig.in (SIM_PRE_LOAD): Delete, no longer used.
786 Thu Apr 24 00:39:51 1997 Doug Evans <dje@canuck.cygnus.com>
788 * configure: Regenerated to track ../common/aclocal.m4 changes.
790 Fri Apr 18 14:30:09 1997 Andrew Cagney <cagney@b1.cygnus.com>
792 * compile.c (sim_resume): Use poll_quit callback.
793 (sim_stop): New function.
795 Thu Apr 17 03:06:39 1997 Doug Evans <dje@canuck.cygnus.com>
797 * Makefile.in (SIM_OBJS): Add sim-load.o.
798 * compile.c (sim_kind, myname): New static locals.
799 (sim_open): Set sim_kind, myname.
800 (sim_load): Return SIM_RC. New arg abfd. Update test for h8300h.
801 Call sim_load_file to load file into simulator. Set start address
803 (sim_create_inferior): Return SIM_RC. Delete arg start_address.
805 Mon Apr 7 15:45:02 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
807 * configure: Regenerated to track ../common/aclocal.m4 changes.
810 Wed Apr 2 15:06:28 1997 Doug Evans <dje@canuck.cygnus.com>
812 * compile.c (sim_open): New arg `kind'.
814 * configure: Regenerated to track ../common/aclocal.m4 changes.
816 Wed Apr 2 14:34:19 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
818 * configure: Regenerated to track ../common/aclocal.m4 changes.
820 Wed Mar 19 01:14:00 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
822 * configure: Regenerated to track ../common/aclocal.m4 changes.
824 Mon Mar 17 15:10:07 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
826 * configure: Re-generate.
828 Fri Mar 14 10:34:11 1997 Michael Meissner <meissner@cygnus.com>
830 * configure: Regenerate to track ../common/aclocal.m4 changes.
832 Thu Mar 13 12:48:05 1997 Doug Evans <dje@canuck.cygnus.com>
834 * compile.c (sim_open): New SIM_DESC result. Argument is now in
836 (other sim_*): New SIM_DESC argument.
838 Tue Feb 4 13:36:29 1997 Doug Evans <dje@canuck.cygnus.com>
840 * Makefile.in (@COMMON_MAKEFILE_FRAG): Use
841 COMMON_{PRE,POST}_CONFIG_FRAG instead.
842 * configure.in: sinclude ../common/aclocal.m4.
843 * configure: Regenerated.
845 Thu Jan 23 11:46:23 1997 Stu Grossman (grossman@critters.cygnus.com)
847 * configure configure.in Makefile.in: Update to new configure
848 scheme which is more compatible with WinGDB builds.
849 * configure.in: Improve comment on how to run autoconf.
850 * configure: Re-run autoconf to get new ../common/aclocal.m4.
851 * Makefile.in: Use autoconf substitution to install common
854 Wed Nov 20 01:39:12 1996 Doug Evans <dje@canuck.cygnus.com>
856 * Makefile.in: Delete stuff moved to ../common/Make-common.in.
858 * configure.in: Simplify using macros in ../common/aclocal.m4.
859 * configure: Regenerated.
860 * inst.h (enum sim_state): Define.
861 (cpu_state_type): New member `state'. Set it whenever `exception'
863 * compile.c (sim_callback): New global.
864 (sim_set_simcache_size): Renamed from sim_csize.
865 (sim_resume, case O_SLEEP): Add right way to decode r0 but #if 0 out
866 'cus it can't work. Change main loop exit test to use cpu.state.
867 (sim_trace): New function.
868 (sim_stop_reason): Add right way to set results, but #if 0 out.
869 (sim_size): New function.
870 (sim_info): Redirect calls to printf_filtered through callback.
871 (sim_set_callbacks): Record callback.
872 * run.c: Deleted, using one in ../common now.
873 * tconfig.in: New file.
875 Thu Oct 3 16:13:18 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
877 * Makefile.in (mostlyclean): Don't remove config.log here.
879 Fri Aug 9 22:59:11 1996 Jeffrey A Law (law@cygnus.com)
881 * compile.c (sim_resume): rts, sleep, bpt and nop have
882 no associated "size".
884 Tue Jul 9 22:15:39 1996 Jeffrey A Law (law@cygnus.com)
886 * compile.c (sim_resume): Fix all rotate-by-2-bits insns.
888 Tue Jul 2 23:08:45 1996 Jeffrey A Law (law@cygnus.com)
890 * run.c (main): Don't "load" sections which don't have
892 * compile.c (sim_resume, case "O_NOT"): Use ONOT instead
895 (sim_resume, shift/rotate cases): Add support for shift/rotate
897 (OSHIFTS): Corresponding changes.
899 Tue Jul 2 01:37:27 1996 Jeffrey A Law (law@cygnus.com)
901 * compile.c (sim_resume): Handle "ldm.l" and "stm.l".
903 Wed Jun 26 08:58:53 1996 Jeffrey A Law (law@cygnus.com)
905 * compile.c (h8300smode): Declare.
907 Wed Jun 26 12:20:56 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
909 * Makefile.in (bindir, libdir, datadir, mandir, infodir, includedir,
910 INSTALL_PROGRAM, INSTALL_DATA): Use autoconf-set values.
912 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
913 (AC_PROG_INSTALL): Added.
914 * configure: Rebuilt.
916 Tue Jun 18 16:31:10 1996 Jeffrey A. Law <law@rtl.cygnus.com>
918 * compile.c (sim_load): Treat the H8/S like the H8/300H for now.
919 * run.c (main): Treat the H8/S like the H8/300H for now.
921 Fri May 24 10:35:25 1996 Jeffrey A Law (law@cygnus.com)
923 * compile.c (SEXTCHAR): Clear upper bits when sign
926 Wed May 22 22:23:37 1996 Jeffrey A Law (law@cygnus.com)
928 * compile.c (sim_resume): Correctly handle divu.
930 Tue May 7 02:13:05 1996 Jeffrey A Law (law@cygnus.com)
932 * compile.c (sim_resume): Never allow the PC to have an
935 Fri Apr 12 16:50:37 1996 Jeffrey A Law (law@cygnus.com)
937 * inst.h: Expand on comments regarding H8300H_MSIZE. Note
938 separate memory is allocate for the 8-bit area.
939 (struct cpu_state_type): Add new "eightbit' field.
940 * compile.c (GET_MEMORY_L): Handle access into the 8-bit
942 (GET_MEMORY_W, GET_MEMORY_B): Likewise.
943 (SET_MEMORY_L, SET_MEMORY_W, SET_MEMORY_B): Likewise.
944 (init_pointers): Initialize space for the 8-bit area.
945 (sim_write): Handle writing into the 8-bit area.
946 (sim_read): Handle reading from the 8-bit area.
947 (sim_load): Reallocate space for the 8-bit area.
949 * compile.c (sim_load): Re-allocate memory for the simulator
952 Fri Apr 12 09:39:56 1996 Jeffrey A Law (law@cygnus.com)
954 * compile.c (sim_resume): Fix and simplify overflow and carry
955 handling for 32bit ALU insns.
957 Mon Apr 8 23:58:49 1996 Jeffrey A Law (law@cygnus.com)
959 * compile.c (sim_resume): Fix overflow checks for ALU insns.
961 Fri Apr 5 17:20:59 1996 Jeffrey A Law (law@cygnus.com)
963 * compile.c (decode): Use "bit" to hold L_3 immediates instead
964 of holding them in "abs". Handle ABS8MEM memory references aka
965 8-bit area. Replace ABSMOV references with ABS8MEM.
967 Wed Mar 13 17:43:56 1996 Jeffrey A Law (law@cygnus.com)
969 * compile.c (fetch): Handle accesses to the exception/function
972 Mon Mar 11 09:53:25 1996 Doug Evans <dje@charmed.cygnus.com>
974 * compile.c: #include "wait.h".
975 (sim_resume, sleep insn): Check program exit status in r0.
976 (sim_resume, shift insns): Fix setting of overflow flag for shal.
977 * run.c: #include <signal.h>.
978 (main): Abort if program got SIGILL.
979 Print error message if argument is invalid.
980 (usage): Improve text.
982 Wed Feb 21 12:15:00 1996 Ian Lance Taylor <ian@cygnus.com>
984 * configure: Regenerate with autoconf 2.7.
986 Thu Jan 4 11:52:53 1996 Doug Evans <dje@canuck.cygnus.com>
988 * inst.h (MPOWER,MSIZE): Deleted.
989 (H8300{,H}_MSIZE): Define.
990 * compile.c (memory_size): New static global.
991 (init_pointers): Set memory size from one of H8300{,H}_MSIZE.
992 (sim_write,sim_read): Use memory_size.
994 Fri Oct 13 15:03:19 1995 steve chamberlain <sac@slash.cygnus.com>
996 * compile.c (sim_set_callbacks): New.
998 Tue Oct 10 11:11:26 1995 Fred Fish <fnf@cygnus.com>
1000 * Makefile.in (BISON): Remove macro.
1002 Wed Sep 20 13:35:02 1995 Ian Lance Taylor <ian@cygnus.com>
1004 * Makefile.in (maintainer-clean): New synonym for realclean.
1006 Fri Sep 8 12:18:53 1995 Ian Lance Taylor <ian@cygnus.com>
1008 * Makefile.in (install): Don't install in $(tooldir).
1010 * configure.in: Call AC_CONFIG_HEADER. Don't try to use
1011 bfd/hosts/*.h file or bfd/config/*.mh file. Call AC_PROG_CC and
1012 AC_PROG_RANLIB. Substitute in values for CFLAGS, HDEFINES and AR.
1013 Call AC_CHECK_HEADERS for stdlib.h and time.h. Touch stamp.h if
1015 * configure: Rebuild.
1016 * config.in: New file, created by autoheader.
1017 * Makefile.in (AR): Define as @AR@.
1018 (CC): New variable, defined as @CC@.
1019 (CFLAGS): Define as @CFLAGS@.
1020 (RANLIB): Define as @RANLIB@.
1021 (HDEFINES, TDEFINES): New variables.
1022 (@host_makefile_frag@): Remove.
1023 (compile.o, run.o): Depend upon config.h.
1024 (mostlyclean): Make the same as clean, not distclean.
1025 (clean): Remove config.log.
1026 (distclean): Remove config.h and stamp-h.
1027 (Makefile): Don't depend upon @frags@. Just rebuild Makefile when
1028 invoking config.status.
1029 (config.h, stamp-h): New targets.
1030 * compile.c: Include "config.h". Don't include <sys/times.h>.
1031 Include <time.h> and <stdlib.h> if they exist. Don't include
1033 (get_now): Remove unused local b.
1034 * run.c: Include "config.h". Include <stdlib.h> if it exists.
1035 Don't include "sysdep.h".
1036 * writecode.c: Don't include "bfd.h" or "sysdep.h". Include
1039 Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
1041 * Update all FSF addresses except those in COPYING* files.
1043 Wed Jul 5 14:32:54 1995 J.T. Conklin <jtc@rtl.cygnus.com>
1045 * Makefile.in (clean): Remove run.
1046 (distclean): Remove Makefile.
1048 * h8300.mt: Removed.
1050 * Makefile.in, configure.in: converted to autoconf.
1051 * configure: New file, generated with autconf 2.4.
1053 Fri Jun 30 16:50:24 1995 Stan Shebs <shebs@andros.cygnus.com>
1055 * compile.c (sim_do_command): New function.
1057 Tue Jun 20 16:18:13 1995 Steve Chamberlain <sac@slash.cygnus.com>
1059 * compile.c (get_now): Don't do if win32.
1060 (sim_resume): Poll in win32 too.
1062 Wed May 24 16:31:38 1995 Jim Wilson <wilson@chestnut.cygnus.com>
1064 * configure.in: Fix typo in last change.
1066 Mon Mar 27 10:32:34 1995 J.T. Conklin <jtc@rtl.cygnus.com>
1068 * run.c: parse arguments with getopt().
1070 Tue Feb 28 17:30:08 1995 Ian Lance Taylor <ian@cygnus.com>
1072 * configure.in: Use ../../bfd/hosts/std-host.h if specific
1075 Sun Jan 22 12:35:43 1995 Steve Chamberlain <sac@splat>
1077 * compile.c (sim_resume): Initialize cpu.mask.
1079 Thu Sep 8 16:53:00 1994 Steve Chamberlain (sac@jonny.cygnus.com)
1081 * inst.h (MPOWER): Bump simulated memory size to 2^18 bytes.
1083 Wed May 18 13:47:58 1994 Doug Evans (dje@canuck.cygnus.com)
1085 * compile.c: #include "bfd.h".
1086 (sim_*): Set result type to void where there isn't one.
1087 (sim_resume, default case): Set cpu.exception to SIGILL.
1088 (sim_trace): Delete.
1089 (sim_set_pc): Delete.
1090 (sim_info): Delete printf_fn arg, all callers changed.
1091 Call printf_filtered.
1092 (set_h8300h): New arg `flag', all callers changed.
1093 (sim_close): New function.
1094 (sim_load): New function.
1095 (sim_create_inferior): Renamed from sim_set_args, all callers changed.
1096 * run.c: #include <varargs.h>, "remote-sim.h".
1097 (printf_filtered): New function.
1099 Fri May 13 18:32:27 1994 Doug Evans (dje@canuck.cygnus.com)
1101 * compile.c (decode): Fix typo (16 bit branches).
1102 (*): Some white space clean up.
1104 Fri May 6 13:44:01 1994 Steve Chamberlain (sac@jonny.cygnus.com)
1106 * compile.c (decode): Compile 16bit branches properly.
1108 Sat Dec 11 16:32:36 1993 Steve Chamberlain (sac@thepub.cygnus.com)
1110 * compile.c: Tidy up formatting. (sim_resume): Add orc, xorc,
1111 andc. Poll for interrupts.
1113 Thu Oct 28 19:29:34 1993 Doug Evans (dje@canuck.cygnus.com)
1115 * compile.c: #include "ansidecl.h" for remote-sim.h.
1117 Tue Oct 26 09:43:36 1993 Doug Evans (dje@canuck.cygnus.com)
1119 * Makefile.in (CSEARCH): Add -I$(srcdir)/../../gdb
1120 * compile.c: #include "remote-sim.h".
1121 (sim_resume): New arg siggnal.
1122 (sim_write): Use SIM_ADDR for type of arg addr.
1123 Always return a value.
1125 (sim_store_register): Result is type int.
1126 (sim_fetch_register): Ditto.
1127 (sim_stop_reason): Renamed from sim_stop_signal.
1128 (sim_set_pc): Use SIM_ADDR for type of arg pc.
1129 (sim_info): int result, new arg printf_fn.
1130 (sim_kill): int result.
1131 (sim_open): int result, new arg name.
1132 * run.c (main): Use sim_set_pc to set pc.
1133 Update call to sim_info.
1135 Sat Oct 23 15:01:18 1993 Doug Evans (dje@canuck.cygnus.com)
1137 * compile.c (sim_stop_signal): Result is now enum sim_stop.
1139 Fri Oct 15 23:49:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1141 * compile.c (sim_kill, sim_open, sim_set_args): New functions.
1143 Thu Oct 7 16:24:10 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
1145 * compile.c (sim_set_pc): Write to the pc direcly.
1146 (sim_store_register): Now value is passed by reference. (sim_read,
1147 sim_write): Return number of bytes copied.
1149 Tue Aug 17 07:16:15 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
1151 * compile.c (mop): New function to do multiplies.
1153 Fri Jul 16 13:53:53 1993 Doug Evans (dje@canuck.cygnus.com)
1155 * compile.c (sim_resume): Add support for nop insn.
1157 Thu Jul 15 09:59:01 1993 Doug Evans (dje@canuck.cygnus.com)
1159 * compile.c: Reset HMODE back to zero (accidently set it to 1).
1161 * run.c (main): If h8/300h binary detected, call set_h8300h.
1162 * compile.c (sim_resume): Fix O_NEG insn.
1164 Fri Jul 9 14:36:48 1993 Doug Evans (dje@canuck.cygnus.com)
1166 * run.c (main): Add -h flag to enable h8/300h emulation.
1167 * compile.c: Rename Hmode to HMODE (consistency with gdb).
1168 (set_h8300h): New function.
1169 (sim_resume): Add support for extu,exts insns.
1170 (sim_resume): Fix logical right shifting.
1171 (sim_resume, label alu32): Fix setting of carry flag.
1173 Sun Jul 4 00:35:41 1993 Doug Evans (dje@canuck.cygnus.com)
1175 * compile.c (sim_csize): Initialize cpu.cache.
1177 Fri Jul 2 17:42:59 1993 Doug Evans (dje@canuck.cygnus.com)
1179 * Makefile.in: Add -I../../bfd to pick up bfd.h.
1181 Thu Jun 24 13:40:12 1993 Doug Evans (dje@canuck.cygnus.com)
1183 * run.c (main): Fix parsing of args.
1185 * compile.c (sim_resume): Fix shll insn.
1187 Tue Jun 8 14:16:46 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
1189 * compile.c: New file, supports H8/300H.
1190 * p1,p3, gencode.c, state.h, writecode.c All dead and obsolete.
1192 Tue Jun 1 11:14:59 1993 Steve Chamberlain (sac@thepub.cygnus.com)
1194 * run.c (main): Add -v to print info.
1195 * p3.c (sim_info): New function.
1197 Mon Mar 15 15:48:31 1993 Ian Lance Taylor (ian@cygnus.com)
1199 * h8300.mt (DO_INSTALL): Renamed from INSTALL.
1201 Wed Mar 3 15:06:53 1993 Steve Chamberlain (sac@poseidon.cygnus.com)
1203 * Makefile.in: Don't use cb or indent
1204 * p1.c, state.h, writecode.c: lint
1206 Mon Feb 1 16:44:58 1993 John Gilmore (gnu@cygnus.com)
1208 * Makefile.in: Make SunOS halfdone VPATH work.
1209 * p1.c: Lint picked up by HP native compiler.
1211 Mon Jan 4 12:32:35 1993 Steve Chamberlain (sac@wahini.cygnus.com)
1213 * p1.c (sim_resume): when running on dos, any character typed to
1214 the keyboard will cause a simulated exception.
1216 Sun Jan 3 14:15:07 1993 Steve Chamberlain (sac@thepub.cygnus.com)
1218 * p1.c, p3.c, run.c, writecode.c: all used h8/300 opcodes in and
1221 Tue Dec 22 13:56:48 1992 Steve Chamberlain (sac@thepub.cygnus.com)