1 2016-01-03 Mike Frysinger <vapier@gentoo.org>
3 * config.in, configure: Regenerate.
5 2016-01-02 Mike Frysinger <vapier@gentoo.org>
7 * configure.ac (SIM_AC_OPTION_ENDIAN): Change BIG_ENDIAN to BIG.
8 * configure: Regenerate.
10 2015-12-30 Mike Frysinger <vapier@gentoo.org>
12 * compile.c (sim_state_initialize): Delete.
13 (sim_open): Replace sim_state_initialize call with SBR_REGNUM
16 2015-12-30 Mike Frysinger <vapier@gentoo.org>
18 * compile.c (h8300_reg_store): Delete sd. Change init_pointers to
19 use CPU_STATE (cpu). Change h8_set_pc to cpu->pc. Return -1 and
20 drop the printf if the default case. Change all the set func calls
21 to use cpu->regs[rn] instead.
22 (h8300_reg_store): Delete sd. Change init_pointers to
23 use CPU_STATE (cpu). Change h8_get_pc to cpu->pc. Return -1 and
24 drop the printf if the default case. Change all the get func calls
25 to use cpu->regs[rn] instead. Add ZERO_REGNUM case. Return 2 and
26 4 instead of -1 at the end.
28 2015-12-30 Mike Frysinger <vapier@gentoo.org>
30 * compile.c (lvalue): Change sim_engine_set_run_state calls to
31 sim_engine_halt. Declare local cpu.
34 (sim_resume): Rename to ...
35 (step_once): ... this. Declare init1, poll_count, reason, and
36 sigrc variables. Delete step checking. Change
37 sim_engine_set_run_state calls to sim_engine_halt. Delete poll
38 logic. Change while(1) loop to while(0).
39 (sim_engine_run): New function.
40 * Makefile.in (SIM_OBJS): Add sim-resume.o.
42 2015-12-30 Mike Frysinger <vapier@gentoo.org>
44 * compile.c (sim_open): Delete current_alignment and
45 current_target_byte_order assignments.
46 * configure.ac: Call SIM_AC_OPTION_ENDIAN and
47 SIM_AC_OPTION_ALIGNMENT.
48 * configure: Regenerate.
50 2015-12-30 Mike Frysinger <vapier@gentoo.org>
52 * wrapper.c (sim_store_register): Rename to ...
53 (h8300_reg_store): ... this. Declare sd.
54 (sim_fetch_register): Rename to ...
55 (h8300_reg_fetch): ... this. Declare sd.
56 (sim_open): Call CPU_REG_FETCH/CPU_REG_STORE.
58 2015-12-30 Mike Frysinger <vapier@gentoo.org>
60 * compile.c (lreg): Delete.
61 (init_pointers): Delete lreg assignments.
63 2015-12-30 Mike Frysinger <vapier@gentoo.org>
65 * inst.h: Delete file.
66 * Makefile.in (compile.o): Delete rule.
68 2015-12-26 Mike Frysinger <vapier@gentoo.org>
70 * config.in, configure: Regenerate.
72 2015-12-24 Mike Frysinger <vapier@gentoo.org>
74 * compile.c (H8300_OPTIONS): New enum from common/sim-options.c.
75 (h8300_option_handler): New func from common/sim-options.c.
76 (h8300_options): New options from common/sim-options.c.
77 (sim_open): Call sim_add_option_table.
78 * tconfig.h: Delete file.
80 2015-12-24 Mike Frysinger <vapier@gentoo.org>
82 * tconfig.h (SIM_HAVE_SIMCACHE): Delete.
84 2015-11-21 Mike Frysinger <vapier@gentoo.org>
86 * compile.c (sim_callback, sim_kind, myname): Delete.
87 (init_pointers, sim_store_register, sim_fetch_register, sim_info):
88 Change sim_callback->printf_filtered calls to sim_io_printf.
89 (sim_resume): Likewise. Declare sim_callback.
90 (sim_open): Delete sim_callback, sim_kind, and myname assignment.
91 (sim_load); Use sd to look up myname, sim_callback, and sim_kind.
93 2015-11-15 Mike Frysinger <vapier@gentoo.org>
95 * Makefile.in (SIM_OBJS): Delete sim-reason.o and sim-stop.o.
97 2015-11-15 Mike Frysinger <vapier@gentoo.org>
99 * Makefile.in (SIM_OBJS): Add sim-reason.o and sim-stop.o.
100 * compile.c (sim_stop, sim_stop_reason): Delete.
102 2015-11-14 Mike Frysinger <vapier@gentoo.org>
104 * Makefile.in (SIM_OBJS): Delete sim-load.o.
106 2015-11-14 Mike Frysinger <vapier@gentoo.org>
108 * compile.c (sim_close): Delete.
110 2015-11-09 Mike Frysinger <vapier@gentoo.org>
112 * compile.c (littleendian): Delete.
113 (init_pointers): Delete littleendian usage.
115 2015-06-23 Mike Frysinger <vapier@gentoo.org>
117 * configure: Regenerate.
119 2015-06-12 Mike Frysinger <vapier@gentoo.org>
121 * configure: Regenerate.
123 2015-06-12 Mike Frysinger <vapier@gentoo.org>
125 * configure: Regenerate.
127 2015-04-18 Mike Frysinger <vapier@gentoo.org>
129 * sim-main.h (SIM_CPU): Delete.
131 2015-04-18 Mike Frysinger <vapier@gentoo.org>
133 * sim-main.h (sim_cia): Delete.
135 2015-04-17 Mike Frysinger <vapier@gentoo.org>
137 * sim-main.h (CIA_GET, CIA_SET): Delete.
139 2015-04-17 Mike Frysinger <vapier@gentoo.org>
141 * compile.c (h8300_pc_get, h8300_pc_set): New functions.
142 (sim_open): Declare new local var i. Call CPU_PC_FETCH &
143 CPU_PC_STORE for all cpus.
144 * sim-main.h (SIM_CPU): Define.
146 2015-04-15 Mike Frysinger <vapier@gentoo.org>
148 * Makefile.in (SIM_OBJS): Delete sim-cpu.o.
149 * sim-main.h (STATE_CPU): Delete.
151 2015-04-15 Mike Frysinger <vapier@gentoo.org>
153 * compile.c: Include sim-options.h.
154 (sim_open): Call sim_cpu_alloc_all instead of sim_cpu_alloc.
155 * sim-main.h (struct sim_state): Change cpu to an array of pointers.
156 (STATE_CPU): Handle WITH_SMP.
158 2015-04-13 Mike Frysinger <vapier@gentoo.org>
160 * configure: Regenerate.
162 2015-04-06 Mike Frysinger <vapier@gentoo.org>
164 * Makefile.in (SIM_OBJS): Delete sim-engine.o.
166 2015-04-01 Mike Frysinger <vapier@gentoo.org>
168 * Makefile.in (SIM_OBJS): Delete $(SIM_EXTRA_OBJS).
170 2015-03-31 Mike Frysinger <vapier@gentoo.org>
172 * config.in, configure: Regenerate.
174 2015-03-24 Mike Frysinger <vapier@gentoo.org>
176 * compile.c (sim_set_callbacks, sim_size, sim_trace): Delete.
177 * tconfig.h (SIM_HAVE_PROFILE): Delete.
179 2015-03-16 Mike Frysinger <vapier@gentoo.org>
181 * config.in, configure: Regenerate.
182 * tconfig.in: Rename file ...
183 * tconfig.h: ... here.
185 2015-03-14 Mike Frysinger <vapier@gentoo.org>
187 * Makefile.in (SIM_RUN_OBJS): Delete.
189 2015-03-14 Mike Frysinger <vapier@gentoo.org>
191 * configure.ac (AC_CHECK_HEADERS): Delete stdlib.h & time.h.
192 * aclocal.m4, configure: Regenerate.
194 2014-12-03 Joel Brobecker <brobecker@adacore.com>
196 * compile.c (sim_resume): Adjust calls to "stat" and "fstat"
197 callbacks by calls to "to_stat" and "to_fstat" (resp) callbacks
198 following renaming in callback.h.
200 2014-08-19 Alan Modra <amodra@gmail.com>
202 * configure: Regenerate.
204 2014-08-15 Roland McGrath <mcgrathr@google.com>
206 * configure: Regenerate.
207 * config.in: Regenerate.
209 2014-03-05 Mike Frysinger <vapier@gentoo.org>
211 * compile.c (sim_load): Add const to prog.
213 2014-02-17 Mike Frysinger <vapier@gentoo.org>
216 * compile.c (control_c_sim_desc): Delete.
217 (control_c): Likewise.
218 (sim_resume): Delete signal(SIGINT) handling.
220 2013-09-23 Alan Modra <amodra@gmail.com>
222 * configure: Regenerate.
224 2013-06-03 Mike Frysinger <vapier@gentoo.org>
226 * aclocal.m4, configure: Regenerate.
228 2012-06-15 Joel Brobecker <brobecker@adacore.com>
230 * config.in, configure: Regenerate.
232 2012-05-18 Nick Clifton <nickc@redhat.com>
235 * compile.c: Include config.h before system header files.
236 * sim-main.h: Likewise.
238 2012-03-24 Mike Frysinger <vapier@gentoo.org>
240 * aclocal.m4, config.in, configure: Regenerate.
242 2011-12-03 Mike Frysinger <vapier@gentoo.org>
244 * aclocal.m4: New file.
245 * configure: Regenerate.
247 2011-10-17 Mike Frysinger <vapier@gentoo.org>
249 * configure.ac: Change include to common/acinclude.m4.
251 2011-10-17 Mike Frysinger <vapier@gentoo.org>
253 * configure.ac: Change AC_PREREQ to 2.64. Delete AC_CONFIG_HEADER
254 call. Replace common.m4 include with SIM_AC_COMMON.
255 * configure: Regenerate.
257 2011-07-05 Mike Frysinger <vapier@gentoo.org>
259 * compile.c (sim_do_command): Delete.
261 2011-01-11 Andrew Burgess <aburgess@broadcom.com>
263 * compile.c (sim_store_register): Update return value to
266 2010-04-14 Mike Frysinger <vapier@gentoo.org>
268 * compile.c (sim_write): Add const to buffer arg.
270 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
272 * configure: Regenerate.
274 2009-12-09 Yoshinori Sato <ysato@users.sourceforge.jp>
275 * compile.c(fetch_1): Fix pre-dec, pre-inc, post-dec and post-inc.
276 Index registers not masked memory areas.
277 Only simply increment or decrement.
278 * compile.c(store_1): Ditto.
280 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
282 * config.in: Regenerate.
283 * configure: Likewise.
285 * configure: Regenerate.
287 2008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
289 * compile.c: Add const to remove warning.
291 2008-07-11 Hans-Peter Nilsson <hp@axis.com>
293 * configure: Regenerate to track ../common/common.m4 changes.
296 2008-06-06 Vladimir Prus <vladimir@codesourcery.com>
297 Daniel Jacobowitz <dan@codesourcery.com>
298 Joseph Myers <joseph@codesourcery.com>
300 * configure: Regenerate.
302 2007-07-03 Yoshinori Sato <ysato@users.sourceforge.jp>
304 * compile.c (sim_resume): Fix the last byte of ARGV for
307 2006-12-21 Hans-Peter Nilsson <hp@axis.com>
309 * acconfig.h: Remove.
310 * config.in: Regenerate.
312 2006-07-13 Yoshinori Sato <ysato@users.sourceforge.jp>
314 * compile.c (OBITOP): Bit address mask low three bit.
315 * compile.c (decode): Fix warning.
317 2006-06-13 Richard Earnshaw <rearnsha@arm.com>
319 * configure: Regenerated.
321 2006-06-05 Daniel Jacobowitz <dan@codesourcery.com>
323 * configure: Regenerated.
325 2006-05-31 Daniel Jacobowitz <dan@codesourcery.com>
327 * configure: Regenerated.
329 2005-03-23 Mark Kettenis <kettenis@gnu.org>
331 * configure: Regenerate.
333 2005-01-14 Andrew Cagney <cagney@gnu.org>
335 * configure.ac: Sinclude aclocal.m4 before common.m4. Add
336 explicit call to AC_CONFIG_HEADER.
337 * configure: Regenerate.
339 2005-01-12 Andrew Cagney <cagney@gnu.org>
341 * configure.ac: Update to use ../common/common.m4.
342 * configure: Re-generate.
344 2005-01-11 Andrew Cagney <cagney@localhost.localdomain>
346 * configure: Regenerated to track ../common/aclocal.m4 changes.
348 2005-01-07 Andrew Cagney <cagney@gnu.org>
350 * configure.ac: Rename configure.in, require autoconf 2.59.
351 * configure: Re-generate.
353 2004-12-08 Hans-Peter Nilsson <hp@axis.com>
355 * configure: Regenerate for ../common/aclocal.m4 update.
357 2004-06-28 Alexandre Oliva <aoliva@redhat.com>
359 2003-07-23 Richard Sandiford <rsandifo@redhat.com>
360 * compile.c (sim_resume): Make sure that dst.reg refers to the
361 right register byte in mova/sz.l @(dd,RnL),ERn.
362 2003-07-21 Richard Sandiford <rsandifo@redhat.com>
363 * compile.c (sim_resume): Zero-extend immediate to muls, mulsu,
364 mulxs, divs and divxs.
366 * compile.c (sim_load): Update sd->memory_size.
368 2004-06-10 Michael Snyder <msnyder@redhat.com>
370 Patch submitted by Nitin Yewale <NitinY@KPITCummins.com>.
371 * compile.c (sim_resume): Corrected ANDC operation on EXR for H8S.
373 2004-01-05 Michael Snyder <msnyder@redhat.com>
375 * compile.c (sim_load): Don't pass a type to bfd_openr.
377 2003-12-16 Michael Snyder <msnyder@redhat.com>
379 Patch submitted by Anil Paranjape <AnilP1@KPITCummins.com>
380 * sim-main.h (H8300H_MSIZE): Increase from 18 bits to 24 bits.
382 2003-12-11 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
384 * compile.c (set_h8300h): Initialize globals to zero.
386 2003-10-17 Shrinivas Atre <shrinivasa@KPITCummins.com>
388 * compile.c (h8300_normal_mode): New.
389 (SP): Handle normal mode.
390 (bitfrom): Use normal mode flag to return suitable value.
391 (lvalue): Use normal mode flag to return command line location.
392 (decode): Decode instruction correctly for normal mode.
393 (init_pointers): Initialise memory correctly for normal mode.
394 (sim_resume): Handle cases for normal mode using h8300_normal_mode
396 (sim_store_register): Handle 2 byte PC for normal mode.
397 (sim_fetch_register): Handle 2 byte PC for normal mode.
398 (set_h8300h): Set normal mode flag as per architechture.
399 (sim_load): Allocate 64K for normal mode instead of bigger memory.
401 2003-07-18 Michael Snyder <msnyder@redhat.com>
403 * compile.c (decode): Enhancements for mova.
404 Initialize cst, reg, and rdisp inside the loop, for each
405 new instruction. Defer correction of the disp2 values until
406 later, and then adjust them by the size of the first operand,
407 rather than the size of the instruction.
408 (sim_resume): For mova, adjust the size of the second operand
409 according to the type of the first operand (INDEXB vs. INDEXW).
410 In cases where there is only one operand, the other two must
411 both be composed on the fly.
413 2003-07-22 Michael Snyder <msnyder@redhat.com>
415 * compile.c (sim_resume): Revert 6-24 change, it does not
416 work with gdb breakpoints.
418 2003-07-17 Michael Snyder <msnyder@redhat.com>
420 * compile.c (sim_resume): Handle shll reg, reg and shlr reg, reg.
421 (decode): IMM16 is always zero-extended.
423 2003-06-24 Michael Snyder <msnyder@redhat.com>
425 * sim-main.h (SIM_WIFSTOPPED, SIM_WSTOPSIG): Define.
426 * compile.c (sim_resume): Use the above to return stop signal.
428 2003-06-18 Michael Snyder <msnyder@redhat.com>
430 * compile.c: Replace "Hitachi" with "Renesas".
431 (decode): Distinguish AV_H8S from AV_H8H.
432 (sim_resume): H8SX can use any register for TAS.
433 (decode): Add support for VECIND.
434 (sim_resume): Implement rte/l and rts/l.
435 (GETSR): New macro (actually old macro reincarnated).
436 (decode): Add handling for IMM2.
437 (sim_resume): Drop extra block around jmp, jsr, rts.
438 Add handling for trapa and rte.
439 For divxu.b, change 0xffff mask to 0xff.
440 (set_h8300h): Add bfd_mach_h8300sxn machine.
442 2003-06-18 Corinna Vinschen <vinschen@redhat.com>
444 * sim-main.h (enum h8_regnum): Turn around order of MACH, MACL
447 2003-06-05 Michael Snyder <msnyder@redhat.com>
449 * compile.c (sim_fetch_register): Handle SBR, VBR, MACH, MACL.
450 (sim_store_register): Ditto.
452 2003-06-04 Michael Snyder <msnyder@redhat.com>
454 * compile.c (sim_info): Fix typo in output.
456 * compile.c (set_h8300h): Replace 'flag' arguments
457 with a bfd_machine argument, and decode it inline.
458 Check for bfd_mach_h8300hn and bfd_mach_h8300sn.
460 2003-06-03 Michael Snyder <msnyder@redhat.com>
462 * compile.c: Add h8300sx insns and addressing modes.
463 * sim-main.h: Replaces h8300/inst.h.
464 * Makefile.in: Tweak to bring in some sim/common stuff.
466 2003-04-13 Michael Snyder <msnyder@redhat.com>
468 * compile.c (sim_resume): Implement 'daa' and 'das' instructions.
470 2003-03-20 D.Venkatasubramanian <dvenkat@noida.hcltech.com>
472 * compile.c (cmdline_location): Added function to
473 return the location of 8-bit (256 locations) where the
474 Command Line arguments would be stored.
475 (decode): Added a TRAP to 0xcc for Commandline
476 processing using pseudo opcode O_SYS_CMDLINE.
477 (sim_resume): Added handling of O_SYS_CMDLINE Trap.
478 (sim_create_inferior): Setting a pointer to
479 Commandline Args array.
480 * inst.h: Added a new variable ptr_command_line for
481 storing pointer to Commandline array.
483 2003-03-14 D.Venkatasubramanian <dvenkat@noida.hcltech.com>
485 * compile.c (decode): Added code for some more magic traps.
486 * compile.c (sim_resume): Added support for File I/O system
487 calls through callback to host_system.
488 System calls provided support for :
489 open, read, write, lseek, close, stat, fstat
490 Only basic support for stat and fstat.
492 2003-02-27 Andrew Cagney <cagney@redhat.com>
494 * compile.c (sim_open, sim_create_inferior): Rename _bfd to bfd.
496 2003-02-05 Kazu Hirata <kazu@cs.umass.edu>
498 * compile.c (init_pointers): Abort if wreg never gets initialized.
499 (sim_resume): Fix the handling of exts.w and extu.w.
501 2003-01-31 Kazu Hirata <kazu@cs.umass.edu>
503 * compile.c (sim_resume): Fix the handling of bxor.
505 2003-01-16 Michael Snyder <msnyder@redhat.com>
507 * compile.c: Change K&R function definitions to ISO.
508 (fetch): Make static, and eliminate unused parameter 'n'.
510 2002-12-26 Kazu Hirata <kazu@cs.umass.edu>
512 * compile.c: Fix formatting.
515 2002-07-29 Andrey Volkov <avolkov@transas.com>
517 * compile.c: Include "gdb/sim-h8300.h"
518 * Makefile.in: Add dependences on "inst.h",
519 "gdb/callback.h", "gdb/remote-sim.h" and "gdb/sim-h8300.h".
521 2002-06-16 Andrew Cagney <ac131313@redhat.com>
523 * configure: Regenerated to track ../common/aclocal.m4 changes.
525 2002-06-08 Andrew Cagney <cagney@redhat.com>
527 * compile.c: Include "gdb/callback.h" and "gdb/remote-sim.h".
529 2002-05-19 Kazu Hirata <kazu@cs.umass.edu>
531 * compile.c: Fix formatting.
533 2002-05-18 Kazu Hirata <kazu@cs.umass.edu>
535 * compile.c: Fix formatting.
537 2002-05-17 Andrey Volkov (avolkov@transas.com)
539 * compile.c: Add absented opcodes: LDC, STC, EEPMOV, TAS.
541 2002-05-17 Andrey Volkov (avolkov@transas.com)
543 * compile.c: Add support of EXR register
546 2002-05-17 Andrey Volkov (avolkov@transas.com)
548 * compile.c: Made h8300s as new target, not h8300h alias.
551 2002-05-17 Andrey Volkov (avolkov@transas.com)
553 * compile.c: Add additional CCR flags (I,UI,H,U)
555 2002-05-17 Andrey Volkov (avolkov@transas.com)
557 * compile.c: Change literal regnumbers to REGNUMS.
558 Fix instruction and cycles counting
560 2001-12-20 Kazu Hirata <kazu@hxi.com>
562 * compile.c: Fix formatting.
564 2001-12-20 Kazu Hirata <kazu@hxi.com>
566 * compile.c: Fix comment typos.
568 2000-08-10 Kazu Hirata <kazu@hxi.com>
570 * compile.c (decode): Clean up the code.
572 2000-06-15 Kazu Hirata <kazu@hxi.com>
574 * compile.c (decode): Distinguish inc/dec.[wl] and adds/subs
577 2000-06-20 Frank Ch. Eigler <fche@redhat.com>
579 * compile.c: Don't include "wait.h".
580 (sim_resume): Use local SIM_WIFEXITED and SIM_WIFSIGNALED macros
581 instead of WIF* from host.
583 2000-06-13 Frank Ch. Eigler <fche@redhat.com>
585 * compile.c, writecode.c: Correct typo.
587 2000-06-13 Kazu Hirata <kazu@hxi.com>
589 * compile.c: Fix formatting.
591 Tue May 23 21:39:23 2000 Andrew Cagney <cagney@b1.cygnus.com>
593 * configure: Regenerated to track ../common/aclocal.m4 changes.
595 Thu Sep 2 18:15:53 1999 Andrew Cagney <cagney@b1.cygnus.com>
597 * configure: Regenerated to track ../common/aclocal.m4 changes.
599 1999-05-08 Felix Lee <flee@cygnus.com>
601 * configure: Regenerated to track ../common/aclocal.m4 changes.
603 1999-04-02 Keith Seitz <keiths@cygnus.com>
605 * compile.c (POLL_QUIT_INTERVAL): Define. Used to tweak the
606 frequency at which the poll_quit callback is used.
607 (sim_resume): Use POLL_QUIT_INTERVAL instead of hard-coded value.
609 Tue Apr 28 18:33:31 1998 Geoffrey Noer <noer@cygnus.com>
611 * configure: Regenerated to track ../common/aclocal.m4 changes.
613 Sun Apr 26 15:31:55 1998 Tom Tromey <tromey@creche>
615 * configure: Regenerated to track ../common/aclocal.m4 changes.
618 Sun Apr 26 15:20:14 1998 Tom Tromey <tromey@cygnus.com>
620 * acconfig.h: New file.
621 * configure.in: Reverted change of Apr 24; use sinclude again.
623 Fri Apr 24 14:16:40 1998 Tom Tromey <tromey@creche>
625 * configure: Regenerated to track ../common/aclocal.m4 changes.
628 Fri Apr 24 11:19:46 1998 Tom Tromey <tromey@cygnus.com>
630 * configure.in: Don't call sinclude.
632 Sat Apr 4 20:36:25 1998 Andrew Cagney <cagney@b1.cygnus.com>
634 * configure: Regenerated to track ../common/aclocal.m4 changes.
636 Fri Mar 27 16:15:52 1998 Andrew Cagney <cagney@b1.cygnus.com>
638 * configure: Regenerated to track ../common/aclocal.m4 changes.
640 Wed Mar 25 12:35:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
642 * configure: Regenerated to track ../common/aclocal.m4 changes.
644 Wed Mar 18 12:38:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
646 * configure: Regenerated to track ../common/aclocal.m4 changes.
648 Tue Feb 17 12:42:18 1998 Andrew Cagney <cagney@b1.cygnus.com>
650 * compile.c (sim_store_register, sim_fetch_register): Pass in
651 length parameter. Return -1.
653 Sun Feb 1 16:47:51 1998 Andrew Cagney <cagney@b1.cygnus.com>
655 * configure: Regenerated to track ../common/aclocal.m4 changes.
657 Sat Jan 31 18:15:41 1998 Andrew Cagney <cagney@b1.cygnus.com>
659 * configure: Regenerated to track ../common/aclocal.m4 changes.
661 Mon Jan 19 22:26:29 1998 Doug Evans <devans@seba>
663 * configure: Regenerated to track ../common/aclocal.m4 changes.
665 Mon Dec 15 23:17:11 1997 Andrew Cagney <cagney@b1.cygnus.com>
667 * configure: Regenerated to track ../common/aclocal.m4 changes.
670 Thu Dec 4 09:21:05 1997 Doug Evans <devans@canuck.cygnus.com>
672 * configure: Regenerated to track ../common/aclocal.m4 changes.
674 Tue Nov 11 16:52:07 1997 Angela Marie Thomas (angela@cygnus.com)
676 * compile.c: #include stdio.h for definition of NULL on
679 Wed Oct 22 14:43:00 1997 Andrew Cagney <cagney@b1.cygnus.com>
681 * compile.c (sim_load): Pass lma_p and sim_write args to
684 Fri Oct 3 09:28:00 1997 Andrew Cagney <cagney@b1.cygnus.com>
686 * configure: Regenerated to track ../common/aclocal.m4 changes.
688 Wed Sep 24 17:38:57 1997 Andrew Cagney <cagney@b1.cygnus.com>
690 * configure: Regenerated to track ../common/aclocal.m4 changes.
692 Tue Sep 23 11:04:38 1997 Andrew Cagney <cagney@b1.cygnus.com>
694 * configure: Regenerated to track ../common/aclocal.m4 changes.
696 Mon Sep 22 11:46:20 1997 Andrew Cagney <cagney@b1.cygnus.com>
698 * configure: Regenerated to track ../common/aclocal.m4 changes.
700 Fri Sep 19 17:45:25 1997 Andrew Cagney <cagney@b1.cygnus.com>
702 * configure: Regenerated to track ../common/aclocal.m4 changes.
704 Wed Sep 17 12:00:57 1997 Andrew Cagney <cagney@b1.cygnus.com>
706 * Makefile.in (compile.o): Depend on config.h in local directory.
708 Mon Sep 15 17:36:15 1997 Andrew Cagney <cagney@b1.cygnus.com>
710 * configure: Regenerated to track ../common/aclocal.m4 changes.
712 Tue Sep 9 22:17:26 1997 Felix Lee <flee@cygnus.com>
714 * inst.h (sim_state): rename to h8300_sim_state, to avoid conflict
716 * configure.in: check for sys/param.h
717 * compile.c: #ifdef HAVE_SYS_PARAM_H.
718 #define SIGTRAP for wingdb.
719 (sim_resume): poll keyboard at least once per call.
720 (sim_resume): use host_callback instead of printf for syscall
723 Thu Sep 4 17:21:23 1997 Doug Evans <dje@seba>
725 * configure: Regenerated to track ../common/aclocal.m4 changes.
727 Wed Aug 27 18:13:22 1997 Andrew Cagney <cagney@b1.cygnus.com>
729 * configure: Regenerated to track ../common/aclocal.m4 changes.
732 Tue Aug 26 10:38:43 1997 Andrew Cagney <cagney@b1.cygnus.com>
734 * compile.c (sim_kill): Delete.
735 (sim_create_inferior): Add ABFD argument.
736 (sim_load): Move setting of PC from here.
737 (sim_create_inferior): To here.
738 (sim_open, sim_load, set_h8300h): Add fixme explaining why much of
739 the sim_load code should be moved to sim_open.
741 Mon Aug 25 17:50:22 1997 Andrew Cagney <cagney@b1.cygnus.com>
743 * configure: Regenerated to track ../common/aclocal.m4 changes.
746 Mon Aug 25 15:47:41 1997 Andrew Cagney <cagney@b1.cygnus.com>
748 * compile.c (sim_open): Add ABFD argument.
750 Tue May 20 10:16:48 1997 Andrew Cagney <cagney@b1.cygnus.com>
752 * compile.c (sim_open): Add callback argument.
753 (sim_set_callbacks): Delete SIM_DESC argument.
755 Wed Apr 30 10:22:29 1997 Doug Evans <dje@canuck.cygnus.com>
757 * compile.c (sim_load): Call bfd_get_mach instead of examining
759 * tconfig.in (SIM_PRE_LOAD): Delete, no longer used.
761 Thu Apr 24 00:39:51 1997 Doug Evans <dje@canuck.cygnus.com>
763 * configure: Regenerated to track ../common/aclocal.m4 changes.
765 Fri Apr 18 14:30:09 1997 Andrew Cagney <cagney@b1.cygnus.com>
767 * compile.c (sim_resume): Use poll_quit callback.
768 (sim_stop): New function.
770 Thu Apr 17 03:06:39 1997 Doug Evans <dje@canuck.cygnus.com>
772 * Makefile.in (SIM_OBJS): Add sim-load.o.
773 * compile.c (sim_kind, myname): New static locals.
774 (sim_open): Set sim_kind, myname.
775 (sim_load): Return SIM_RC. New arg abfd. Update test for h8300h.
776 Call sim_load_file to load file into simulator. Set start address
778 (sim_create_inferior): Return SIM_RC. Delete arg start_address.
780 Mon Apr 7 15:45:02 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
782 * configure: Regenerated to track ../common/aclocal.m4 changes.
785 Wed Apr 2 15:06:28 1997 Doug Evans <dje@canuck.cygnus.com>
787 * compile.c (sim_open): New arg `kind'.
789 * configure: Regenerated to track ../common/aclocal.m4 changes.
791 Wed Apr 2 14:34:19 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
793 * configure: Regenerated to track ../common/aclocal.m4 changes.
795 Wed Mar 19 01:14:00 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
797 * configure: Regenerated to track ../common/aclocal.m4 changes.
799 Mon Mar 17 15:10:07 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
801 * configure: Re-generate.
803 Fri Mar 14 10:34:11 1997 Michael Meissner <meissner@cygnus.com>
805 * configure: Regenerate to track ../common/aclocal.m4 changes.
807 Thu Mar 13 12:48:05 1997 Doug Evans <dje@canuck.cygnus.com>
809 * compile.c (sim_open): New SIM_DESC result. Argument is now in
811 (other sim_*): New SIM_DESC argument.
813 Tue Feb 4 13:36:29 1997 Doug Evans <dje@canuck.cygnus.com>
815 * Makefile.in (@COMMON_MAKEFILE_FRAG): Use
816 COMMON_{PRE,POST}_CONFIG_FRAG instead.
817 * configure.in: sinclude ../common/aclocal.m4.
818 * configure: Regenerated.
820 Thu Jan 23 11:46:23 1997 Stu Grossman (grossman@critters.cygnus.com)
822 * configure configure.in Makefile.in: Update to new configure
823 scheme which is more compatible with WinGDB builds.
824 * configure.in: Improve comment on how to run autoconf.
825 * configure: Re-run autoconf to get new ../common/aclocal.m4.
826 * Makefile.in: Use autoconf substitution to install common
829 Wed Nov 20 01:39:12 1996 Doug Evans <dje@canuck.cygnus.com>
831 * Makefile.in: Delete stuff moved to ../common/Make-common.in.
833 * configure.in: Simplify using macros in ../common/aclocal.m4.
834 * configure: Regenerated.
835 * inst.h (enum sim_state): Define.
836 (cpu_state_type): New member `state'. Set it whenever `exception'
838 * compile.c (sim_callback): New global.
839 (sim_set_simcache_size): Renamed from sim_csize.
840 (sim_resume, case O_SLEEP): Add right way to decode r0 but #if 0 out
841 'cus it can't work. Change main loop exit test to use cpu.state.
842 (sim_trace): New function.
843 (sim_stop_reason): Add right way to set results, but #if 0 out.
844 (sim_size): New function.
845 (sim_info): Redirect calls to printf_filtered through callback.
846 (sim_set_callbacks): Record callback.
847 * run.c: Deleted, using one in ../common now.
848 * tconfig.in: New file.
850 Thu Oct 3 16:13:18 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
852 * Makefile.in (mostlyclean): Don't remove config.log here.
854 Fri Aug 9 22:59:11 1996 Jeffrey A Law (law@cygnus.com)
856 * compile.c (sim_resume): rts, sleep, bpt and nop have
857 no associated "size".
859 Tue Jul 9 22:15:39 1996 Jeffrey A Law (law@cygnus.com)
861 * compile.c (sim_resume): Fix all rotate-by-2-bits insns.
863 Tue Jul 2 23:08:45 1996 Jeffrey A Law (law@cygnus.com)
865 * run.c (main): Don't "load" sections which don't have
867 * compile.c (sim_resume, case "O_NOT"): Use ONOT instead
870 (sim_resume, shift/rotate cases): Add support for shift/rotate
872 (OSHIFTS): Corresponding changes.
874 Tue Jul 2 01:37:27 1996 Jeffrey A Law (law@cygnus.com)
876 * compile.c (sim_resume): Handle "ldm.l" and "stm.l".
878 Wed Jun 26 08:58:53 1996 Jeffrey A Law (law@cygnus.com)
880 * compile.c (h8300smode): Declare.
882 Wed Jun 26 12:20:56 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
884 * Makefile.in (bindir, libdir, datadir, mandir, infodir, includedir,
885 INSTALL_PROGRAM, INSTALL_DATA): Use autoconf-set values.
887 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
888 (AC_PROG_INSTALL): Added.
889 * configure: Rebuilt.
891 Tue Jun 18 16:31:10 1996 Jeffrey A. Law <law@rtl.cygnus.com>
893 * compile.c (sim_load): Treat the H8/S like the H8/300H for now.
894 * run.c (main): Treat the H8/S like the H8/300H for now.
896 Fri May 24 10:35:25 1996 Jeffrey A Law (law@cygnus.com)
898 * compile.c (SEXTCHAR): Clear upper bits when sign
901 Wed May 22 22:23:37 1996 Jeffrey A Law (law@cygnus.com)
903 * compile.c (sim_resume): Correctly handle divu.
905 Tue May 7 02:13:05 1996 Jeffrey A Law (law@cygnus.com)
907 * compile.c (sim_resume): Never allow the PC to have an
910 Fri Apr 12 16:50:37 1996 Jeffrey A Law (law@cygnus.com)
912 * inst.h: Expand on comments regarding H8300H_MSIZE. Note
913 separate memory is allocate for the 8-bit area.
914 (struct cpu_state_type): Add new "eightbit' field.
915 * compile.c (GET_MEMORY_L): Handle access into the 8-bit
917 (GET_MEMORY_W, GET_MEMORY_B): Likewise.
918 (SET_MEMORY_L, SET_MEMORY_W, SET_MEMORY_B): Likewise.
919 (init_pointers): Initialize space for the 8-bit area.
920 (sim_write): Handle writing into the 8-bit area.
921 (sim_read): Handle reading from the 8-bit area.
922 (sim_load): Reallocate space for the 8-bit area.
924 * compile.c (sim_load): Re-allocate memory for the simulator
927 Fri Apr 12 09:39:56 1996 Jeffrey A Law (law@cygnus.com)
929 * compile.c (sim_resume): Fix and simplify overflow and carry
930 handling for 32bit ALU insns.
932 Mon Apr 8 23:58:49 1996 Jeffrey A Law (law@cygnus.com)
934 * compile.c (sim_resume): Fix overflow checks for ALU insns.
936 Fri Apr 5 17:20:59 1996 Jeffrey A Law (law@cygnus.com)
938 * compile.c (decode): Use "bit" to hold L_3 immediates instead
939 of holding them in "abs". Handle ABS8MEM memory references aka
940 8-bit area. Replace ABSMOV references with ABS8MEM.
942 Wed Mar 13 17:43:56 1996 Jeffrey A Law (law@cygnus.com)
944 * compile.c (fetch): Handle accesses to the exception/function
947 Mon Mar 11 09:53:25 1996 Doug Evans <dje@charmed.cygnus.com>
949 * compile.c: #include "wait.h".
950 (sim_resume, sleep insn): Check program exit status in r0.
951 (sim_resume, shift insns): Fix setting of overflow flag for shal.
952 * run.c: #include <signal.h>.
953 (main): Abort if program got SIGILL.
954 Print error message if argument is invalid.
955 (usage): Improve text.
957 Wed Feb 21 12:15:00 1996 Ian Lance Taylor <ian@cygnus.com>
959 * configure: Regenerate with autoconf 2.7.
961 Thu Jan 4 11:52:53 1996 Doug Evans <dje@canuck.cygnus.com>
963 * inst.h (MPOWER,MSIZE): Deleted.
964 (H8300{,H}_MSIZE): Define.
965 * compile.c (memory_size): New static global.
966 (init_pointers): Set memory size from one of H8300{,H}_MSIZE.
967 (sim_write,sim_read): Use memory_size.
969 Fri Oct 13 15:03:19 1995 steve chamberlain <sac@slash.cygnus.com>
971 * compile.c (sim_set_callbacks): New.
973 Tue Oct 10 11:11:26 1995 Fred Fish <fnf@cygnus.com>
975 * Makefile.in (BISON): Remove macro.
977 Wed Sep 20 13:35:02 1995 Ian Lance Taylor <ian@cygnus.com>
979 * Makefile.in (maintainer-clean): New synonym for realclean.
981 Fri Sep 8 12:18:53 1995 Ian Lance Taylor <ian@cygnus.com>
983 * Makefile.in (install): Don't install in $(tooldir).
985 * configure.in: Call AC_CONFIG_HEADER. Don't try to use
986 bfd/hosts/*.h file or bfd/config/*.mh file. Call AC_PROG_CC and
987 AC_PROG_RANLIB. Substitute in values for CFLAGS, HDEFINES and AR.
988 Call AC_CHECK_HEADERS for stdlib.h and time.h. Touch stamp.h if
990 * configure: Rebuild.
991 * config.in: New file, created by autoheader.
992 * Makefile.in (AR): Define as @AR@.
993 (CC): New variable, defined as @CC@.
994 (CFLAGS): Define as @CFLAGS@.
995 (RANLIB): Define as @RANLIB@.
996 (HDEFINES, TDEFINES): New variables.
997 (@host_makefile_frag@): Remove.
998 (compile.o, run.o): Depend upon config.h.
999 (mostlyclean): Make the same as clean, not distclean.
1000 (clean): Remove config.log.
1001 (distclean): Remove config.h and stamp-h.
1002 (Makefile): Don't depend upon @frags@. Just rebuild Makefile when
1003 invoking config.status.
1004 (config.h, stamp-h): New targets.
1005 * compile.c: Include "config.h". Don't include <sys/times.h>.
1006 Include <time.h> and <stdlib.h> if they exist. Don't include
1008 (get_now): Remove unused local b.
1009 * run.c: Include "config.h". Include <stdlib.h> if it exists.
1010 Don't include "sysdep.h".
1011 * writecode.c: Don't include "bfd.h" or "sysdep.h". Include
1014 Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
1016 * Update all FSF addresses except those in COPYING* files.
1018 Wed Jul 5 14:32:54 1995 J.T. Conklin <jtc@rtl.cygnus.com>
1020 * Makefile.in (clean): Remove run.
1021 (distclean): Remove Makefile.
1023 * h8300.mt: Removed.
1025 * Makefile.in, configure.in: converted to autoconf.
1026 * configure: New file, generated with autconf 2.4.
1028 Fri Jun 30 16:50:24 1995 Stan Shebs <shebs@andros.cygnus.com>
1030 * compile.c (sim_do_command): New function.
1032 Tue Jun 20 16:18:13 1995 Steve Chamberlain <sac@slash.cygnus.com>
1034 * compile.c (get_now): Don't do if win32.
1035 (sim_resume): Poll in win32 too.
1037 Wed May 24 16:31:38 1995 Jim Wilson <wilson@chestnut.cygnus.com>
1039 * configure.in: Fix typo in last change.
1041 Mon Mar 27 10:32:34 1995 J.T. Conklin <jtc@rtl.cygnus.com>
1043 * run.c: parse arguments with getopt().
1045 Tue Feb 28 17:30:08 1995 Ian Lance Taylor <ian@cygnus.com>
1047 * configure.in: Use ../../bfd/hosts/std-host.h if specific
1050 Sun Jan 22 12:35:43 1995 Steve Chamberlain <sac@splat>
1052 * compile.c (sim_resume): Initialize cpu.mask.
1054 Thu Sep 8 16:53:00 1994 Steve Chamberlain (sac@jonny.cygnus.com)
1056 * inst.h (MPOWER): Bump simulated memory size to 2^18 bytes.
1058 Wed May 18 13:47:58 1994 Doug Evans (dje@canuck.cygnus.com)
1060 * compile.c: #include "bfd.h".
1061 (sim_*): Set result type to void where there isn't one.
1062 (sim_resume, default case): Set cpu.exception to SIGILL.
1063 (sim_trace): Delete.
1064 (sim_set_pc): Delete.
1065 (sim_info): Delete printf_fn arg, all callers changed.
1066 Call printf_filtered.
1067 (set_h8300h): New arg `flag', all callers changed.
1068 (sim_close): New function.
1069 (sim_load): New function.
1070 (sim_create_inferior): Renamed from sim_set_args, all callers changed.
1071 * run.c: #include <varargs.h>, "remote-sim.h".
1072 (printf_filtered): New function.
1074 Fri May 13 18:32:27 1994 Doug Evans (dje@canuck.cygnus.com)
1076 * compile.c (decode): Fix typo (16 bit branches).
1077 (*): Some white space clean up.
1079 Fri May 6 13:44:01 1994 Steve Chamberlain (sac@jonny.cygnus.com)
1081 * compile.c (decode): Compile 16bit branches properly.
1083 Sat Dec 11 16:32:36 1993 Steve Chamberlain (sac@thepub.cygnus.com)
1085 * compile.c: Tidy up formatting. (sim_resume): Add orc, xorc,
1086 andc. Poll for interrupts.
1088 Thu Oct 28 19:29:34 1993 Doug Evans (dje@canuck.cygnus.com)
1090 * compile.c: #include "ansidecl.h" for remote-sim.h.
1092 Tue Oct 26 09:43:36 1993 Doug Evans (dje@canuck.cygnus.com)
1094 * Makefile.in (CSEARCH): Add -I$(srcdir)/../../gdb
1095 * compile.c: #include "remote-sim.h".
1096 (sim_resume): New arg siggnal.
1097 (sim_write): Use SIM_ADDR for type of arg addr.
1098 Always return a value.
1100 (sim_store_register): Result is type int.
1101 (sim_fetch_register): Ditto.
1102 (sim_stop_reason): Renamed from sim_stop_signal.
1103 (sim_set_pc): Use SIM_ADDR for type of arg pc.
1104 (sim_info): int result, new arg printf_fn.
1105 (sim_kill): int result.
1106 (sim_open): int result, new arg name.
1107 * run.c (main): Use sim_set_pc to set pc.
1108 Update call to sim_info.
1110 Sat Oct 23 15:01:18 1993 Doug Evans (dje@canuck.cygnus.com)
1112 * compile.c (sim_stop_signal): Result is now enum sim_stop.
1114 Fri Oct 15 23:49:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1116 * compile.c (sim_kill, sim_open, sim_set_args): New functions.
1118 Thu Oct 7 16:24:10 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
1120 * compile.c (sim_set_pc): Write to the pc direcly.
1121 (sim_store_register): Now value is passed by reference. (sim_read,
1122 sim_write): Return number of bytes copied.
1124 Tue Aug 17 07:16:15 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
1126 * compile.c (mop): New function to do multiplies.
1128 Fri Jul 16 13:53:53 1993 Doug Evans (dje@canuck.cygnus.com)
1130 * compile.c (sim_resume): Add support for nop insn.
1132 Thu Jul 15 09:59:01 1993 Doug Evans (dje@canuck.cygnus.com)
1134 * compile.c: Reset HMODE back to zero (accidently set it to 1).
1136 * run.c (main): If h8/300h binary detected, call set_h8300h.
1137 * compile.c (sim_resume): Fix O_NEG insn.
1139 Fri Jul 9 14:36:48 1993 Doug Evans (dje@canuck.cygnus.com)
1141 * run.c (main): Add -h flag to enable h8/300h emulation.
1142 * compile.c: Rename Hmode to HMODE (consistency with gdb).
1143 (set_h8300h): New function.
1144 (sim_resume): Add support for extu,exts insns.
1145 (sim_resume): Fix logical right shifting.
1146 (sim_resume, label alu32): Fix setting of carry flag.
1148 Sun Jul 4 00:35:41 1993 Doug Evans (dje@canuck.cygnus.com)
1150 * compile.c (sim_csize): Initialize cpu.cache.
1152 Fri Jul 2 17:42:59 1993 Doug Evans (dje@canuck.cygnus.com)
1154 * Makefile.in: Add -I../../bfd to pick up bfd.h.
1156 Thu Jun 24 13:40:12 1993 Doug Evans (dje@canuck.cygnus.com)
1158 * run.c (main): Fix parsing of args.
1160 * compile.c (sim_resume): Fix shll insn.
1162 Tue Jun 8 14:16:46 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
1164 * compile.c: New file, supports H8/300H.
1165 * p1,p3, gencode.c, state.h, writecode.c All dead and obsolete.
1167 Tue Jun 1 11:14:59 1993 Steve Chamberlain (sac@thepub.cygnus.com)
1169 * run.c (main): Add -v to print info.
1170 * p3.c (sim_info): New function.
1172 Mon Mar 15 15:48:31 1993 Ian Lance Taylor (ian@cygnus.com)
1174 * h8300.mt (DO_INSTALL): Renamed from INSTALL.
1176 Wed Mar 3 15:06:53 1993 Steve Chamberlain (sac@poseidon.cygnus.com)
1178 * Makefile.in: Don't use cb or indent
1179 * p1.c, state.h, writecode.c: lint
1181 Mon Feb 1 16:44:58 1993 John Gilmore (gnu@cygnus.com)
1183 * Makefile.in: Make SunOS halfdone VPATH work.
1184 * p1.c: Lint picked up by HP native compiler.
1186 Mon Jan 4 12:32:35 1993 Steve Chamberlain (sac@wahini.cygnus.com)
1188 * p1.c (sim_resume): when running on dos, any character typed to
1189 the keyboard will cause a simulated exception.
1191 Sun Jan 3 14:15:07 1993 Steve Chamberlain (sac@thepub.cygnus.com)
1193 * p1.c, p3.c, run.c, writecode.c: all used h8/300 opcodes in and
1196 Tue Dec 22 13:56:48 1992 Steve Chamberlain (sac@thepub.cygnus.com)