📄 changelog
字号:
2004-06-28 Alexandre Oliva <aoliva@redhat.com> 2003-07-23 Richard Sandiford <rsandifo@redhat.com> * compile.c (sim_resume): Make sure that dst.reg refers to the right register byte in mova/sz.l @(dd,RnL),ERn. 2003-07-21 Richard Sandiford <rsandifo@redhat.com> * compile.c (sim_resume): Zero-extend immediate to muls, mulsu, mulxs, divs and divxs. * compile.c (sim_load): Update sd->memory_size.2004-06-10 Michael Snyder <msnyder@redhat.com> Patch submitted by Nitin Yewale <NitinY@KPITCummins.com>. * compile.c (sim_resume): Corrected ANDC operation on EXR for H8S.2004-01-05 Michael Snyder <msnyder@redhat.com> * compile.c (sim_load): Don't pass a type to bfd_openr.2003-12-16 Michael Snyder <msnyder@redhat.com> Patch submitted by Anil Paranjape <AnilP1@KPITCummins.com> * sim-main.h (H8300H_MSIZE): Increase from 18 bits to 24 bits.2003-12-11 Dhananjay Deshpande <dhananjayd@kpitcummins.com> * compile.c (set_h8300h): Initialize globals to zero.2003-10-17 Shrinivas Atre <shrinivasa@KPITCummins.com> * compile.c (h8300_normal_mode): New. (SP): Handle normal mode. (bitfrom): Use normal mode flag to return suitable value. (lvalue): Use normal mode flag to return command line location. (decode): Decode instruction correctly for normal mode. (init_pointers): Initialise memory correctly for normal mode. (sim_resume): Handle cases for normal mode using h8300_normal_mode flag. (sim_store_register): Handle 2 byte PC for normal mode. (sim_fetch_register): Handle 2 byte PC for normal mode. (set_h8300h): Set normal mode flag as per architechture. (sim_load): Allocate 64K for normal mode instead of bigger memory.2003-07-18 Michael Snyder <msnyder@redhat.com> * compile.c (decode): Enhancements for mova. Initialize cst, reg, and rdisp inside the loop, for each new instruction. Defer correction of the disp2 values until later, and then adjust them by the size of the first operand, rather than the size of the instruction. (sim_resume): For mova, adjust the size of the second operand according to the type of the first operand (INDEXB vs. INDEXW). In cases where there is only one operand, the other two must both be composed on the fly.2003-07-22 Michael Snyder <msnyder@redhat.com> * compile.c (sim_resume): Revert 6-24 change, it does not work with gdb breakpoints.2003-07-17 Michael Snyder <msnyder@redhat.com> * compile.c (sim_resume): Handle shll reg, reg and shlr reg, reg. (decode): IMM16 is always zero-extended.2003-06-24 Michael Snyder <msnyder@redhat.com> * sim-main.h (SIM_WIFSTOPPED, SIM_WSTOPSIG): Define. * compile.c (sim_resume): Use the above to return stop signal.2003-06-18 Michael Snyder <msnyder@redhat.com> * compile.c: Replace "Hitachi" with "Renesas". (decode): Distinguish AV_H8S from AV_H8H. (sim_resume): H8SX can use any register for TAS. (decode): Add support for VECIND. (sim_resume): Implement rte/l and rts/l. (GETSR): New macro (actually old macro reincarnated). (decode): Add handling for IMM2. (sim_resume): Drop extra block around jmp, jsr, rts. Add handling for trapa and rte. For divxu.b, change 0xffff mask to 0xff. (set_h8300h): Add bfd_mach_h8300sxn machine.2003-06-18 Corinna Vinschen <vinschen@redhat.com> * sim-main.h (enum h8_regnum): Turn around order of MACH, MACL and SBR, VBR.2003-06-05 Michael Snyder <msnyder@redhat.com> * compile.c (sim_fetch_register): Handle SBR, VBR, MACH, MACL. (sim_store_register): Ditto.2003-06-04 Michael Snyder <msnyder@redhat.com> * compile.c (sim_info): Fix typo in output. * compile.c (set_h8300h): Replace 'flag' arguments with a bfd_machine argument, and decode it inline. Check for bfd_mach_h8300hn and bfd_mach_h8300sn.2003-06-03 Michael Snyder <msnyder@redhat.com> * compile.c: Add h8300sx insns and addressing modes. * sim-main.h: Replaces h8300/inst.h. * Makefile.in: Tweak to bring in some sim/common stuff.2003-04-13 Michael Snyder <msnyder@redhat.com> * compile.c (sim_resume): Implement 'daa' and 'das' instructions.2003-03-20 D.Venkatasubramanian <dvenkat@noida.hcltech.com> * compile.c (cmdline_location): Added function to return the location of 8-bit (256 locations) where the Command Line arguments would be stored. (decode): Added a TRAP to 0xcc for Commandline processing using pseudo opcode O_SYS_CMDLINE. (sim_resume): Added handling of O_SYS_CMDLINE Trap. (sim_create_inferior): Setting a pointer to Commandline Args array. * inst.h: Added a new variable ptr_command_line for storing pointer to Commandline array.2003-03-14 D.Venkatasubramanian <dvenkat@noida.hcltech.com> * compile.c (decode): Added code for some more magic traps. * compile.c (sim_resume): Added support for File I/O system calls through callback to host_system. System calls provided support for : open, read, write, lseek, close, stat, fstat Only basic support for stat and fstat.2003-02-27 Andrew Cagney <cagney@redhat.com> * compile.c (sim_open, sim_create_inferior): Rename _bfd to bfd.2003-02-05 Kazu Hirata <kazu@cs.umass.edu> * compile.c (init_pointers): Abort if wreg never gets initialized. (sim_resume): Fix the handling of exts.w and extu.w.2003-01-31 Kazu Hirata <kazu@cs.umass.edu> * compile.c (sim_resume): Fix the handling of bxor.2003-01-16 Michael Snyder <msnyder@redhat.com> * compile.c: Change K&R function definitions to ISO. (fetch): Make static, and eliminate unused parameter 'n'.2002-12-26 Kazu Hirata <kazu@cs.umass.edu> * compile.c: Fix formatting. * inst.h: Likewise.2002-07-29 Andrey Volkov <avolkov@transas.com> * compile.c: Include "gdb/sim-h8300.h" * Makefile.in: Add dependences on "inst.h", "gdb/callback.h", "gdb/remote-sim.h" and "gdb/sim-h8300.h".2002-06-16 Andrew Cagney <ac131313@redhat.com> * configure: Regenerated to track ../common/aclocal.m4 changes.2002-06-08 Andrew Cagney <cagney@redhat.com> * compile.c: Include "gdb/callback.h" and "gdb/remote-sim.h".2002-05-19 Kazu Hirata <kazu@cs.umass.edu> * compile.c: Fix formatting.2002-05-18 Kazu Hirata <kazu@cs.umass.edu> * compile.c: Fix formatting.2002-05-17 Andrey Volkov (avolkov@transas.com) * compile.c: Add absented opcodes: LDC, STC, EEPMOV, TAS. 2002-05-17 Andrey Volkov (avolkov@transas.com) * compile.c: Add support of EXR register * inst.h: Ditto. 2002-05-17 Andrey Volkov (avolkov@transas.com) * compile.c: Made h8300s as new target, not h8300h alias. * inst.h: Ditto. 2002-05-17 Andrey Volkov (avolkov@transas.com) * compile.c: Add additional CCR flags (I,UI,H,U) 2002-05-17 Andrey Volkov (avolkov@transas.com) * compile.c: Change literal regnumbers to REGNUMS. Fix instruction and cycles counting2001-12-20 Kazu Hirata <kazu@hxi.com> * compile.c: Fix formatting.2001-12-20 Kazu Hirata <kazu@hxi.com> * compile.c: Fix comment typos.2000-08-10 Kazu Hirata <kazu@hxi.com> * compile.c (decode): Clean up the code.2000-06-15 Kazu Hirata <kazu@hxi.com> * compile.c (decode): Distinguish inc/dec.[wl] and adds/subs correctly.2000-06-20 Frank Ch. Eigler <fche@redhat.com> * compile.c: Don't include "wait.h". (sim_resume): Use local SIM_WIFEXITED and SIM_WIFSIGNALED macros instead of WIF* from host.2000-06-13 Frank Ch. Eigler <fche@redhat.com> * compile.c, writecode.c: Correct typo.2000-06-13 Kazu Hirata <kazu@hxi.com> * compile.c: Fix formatting.Tue May 23 21:39:23 2000 Andrew Cagney <cagney@b1.cygnus.com> * configure: Regenerated to track ../common/aclocal.m4 changes.Thu Sep 2 18:15:53 1999 Andrew Cagney <cagney@b1.cygnus.com> * configure: Regenerated to track ../common/aclocal.m4 changes.1999-05-08 Felix Lee <flee@cygnus.com> * configure: Regenerated to track ../common/aclocal.m4 changes. 1999-04-02 Keith Seitz <keiths@cygnus.com> * compile.c (POLL_QUIT_INTERVAL): Define. Used to tweak the frequency at which the poll_quit callback is used. (sim_resume): Use POLL_QUIT_INTERVAL instead of hard-coded value.Tue Apr 28 18:33:31 1998 Geoffrey Noer <noer@cygnus.com> * configure: Regenerated to track ../common/aclocal.m4 changes.Sun Apr 26 15:31:55 1998 Tom Tromey <tromey@creche> * configure: Regenerated to track ../common/aclocal.m4 changes. * config.in: Ditto.Sun Apr 26 15:20:14 1998 Tom Tromey <tromey@cygnus.com> * acconfig.h: New file. * configure.in: Reverted change of Apr 24; use sinclude again.Fri Apr 24 14:16:40 1998 Tom Tromey <tromey@creche> * configure: Regenerated to track ../common/aclocal.m4 changes. * config.in: Ditto.Fri Apr 24 11:19:46 1998 Tom Tromey <tromey@cygnus.com> * configure.in: Don't call sinclude.Sat Apr 4 20:36:25 1998 Andrew Cagney <cagney@b1.cygnus.com> * configure: Regenerated to track ../common/aclocal.m4 changes.Fri Mar 27 16:15:52 1998 Andrew Cagney <cagney@b1.cygnus.com> * configure: Regenerated to track ../common/aclocal.m4 changes.Wed Mar 25 12:35:29 1998 Andrew Cagney <cagney@b1.cygnus.com> * configure: Regenerated to track ../common/aclocal.m4 changes.Wed Mar 18 12:38:12 1998 Andrew Cagney <cagney@b1.cygnus.com> * configure: Regenerated to track ../common/aclocal.m4 changes.Tue Feb 17 12:42:18 1998 Andrew Cagney <cagney@b1.cygnus.com> * compile.c (sim_store_register, sim_fetch_register): Pass in length parameter. Return -1.Sun Feb 1 16:47:51 1998 Andrew Cagney <cagney@b1.cygnus.com> * configure: Regenerated to track ../common/aclocal.m4 changes.Sat Jan 31 18:15:41 1998 Andrew Cagney <cagney@b1.cygnus.com> * configure: Regenerated to track ../common/aclocal.m4 changes.Mon Jan 19 22:26:29 1998 Doug Evans <devans@seba> * configure: Regenerated to track ../common/aclocal.m4 changes.Mon Dec 15 23:17:11 1997 Andrew Cagney <cagney@b1.cygnus.com> * configure: Regenerated to track ../common/aclocal.m4 changes. * config.in: Ditto.Thu Dec 4 09:21:05 1997 Doug Evans <devans@canuck.cygnus.com> * configure: Regenerated to track ../common/aclocal.m4 changes.Tue Nov 11 16:52:07 1997 Angela Marie Thomas (angela@cygnus.com) * compile.c: #include stdio.h for definition of NULL on some platforms.Wed Oct 22 14:43:00 1997 Andrew Cagney <cagney@b1.cygnus.com> * compile.c (sim_load): Pass lma_p and sim_write args to sim_load_file.Fri Oct 3 09:28:00 1997 Andrew Cagney <cagney@b1.cygnus.com> * configure: Regenerated to track ../common/aclocal.m4 changes.Wed Sep 24 17:38:57 1997 Andrew Cagney <cagney@b1.cygnus.com> * configure: Regenerated to track ../common/aclocal.m4 changes.Tue Sep 23 11:04:38 1997 Andrew Cagney <cagney@b1.cygnus.com> * configure: Regenerated to track ../common/aclocal.m4 changes.Mon Sep 22 11:46:20 1997 Andrew Cagney <cagney@b1.cygnus.com> * configure: Regenerated to track ../common/aclocal.m4 changes.Fri Sep 19 17:45:25 1997 Andrew Cagney <cagney@b1.cygnus.com> * configure: Regenerated to track ../common/aclocal.m4 changes.Wed Sep 17 12:00:57 1997 Andrew Cagney <cagney@b1.cygnus.com> * Makefile.in (compile.o): Depend on config.h in local directory.Mon Sep 15 17:36:15 1997 Andrew Cagney <cagney@b1.cygnus.com> * configure: Regenerated to track ../common/aclocal.m4 changes.Tue Sep 9 22:17:26 1997 Felix Lee <flee@cygnus.com> * inst.h (sim_state): rename to h8300_sim_state, to avoid conflict with sim/common. * configure.in: check for sys/param.h * compile.c: #ifdef HAVE_SYS_PARAM_H. #define SIGTRAP for wingdb. (sim_resume): poll keyboard at least once per call. (sim_resume): use host_callback instead of printf for syscall output.Thu Sep 4 17:21:23 1997 Doug Evans <dje@seba> * configure: Regenerated to track ../common/aclocal.m4 changes.Wed Aug 27 18:13:22 1997 Andrew Cagney <cagney@b1.cygnus.com> * configure: Regenerated to track ../common/aclocal.m4 changes. * config.in: Ditto.Tue Aug 26 10:38:43 1997 Andrew Cagney <cagney@b1.cygnus.com> * compile.c (sim_kill): Delete. (sim_create_inferior): Add ABFD argument. (sim_load): Move setting of PC from here. (sim_create_inferior): To here. (sim_open, sim_load, set_h8300h): Add fixme explaining why much of the sim_load code should be moved to sim_open.Mon Aug 25 17:50:22 1997 Andrew Cagney <cagney@b1.cygnus.com> * configure: Regenerated to track ../common/aclocal.m4 changes. * config.in: Ditto.Mon Aug 25 15:47:41 1997 Andrew Cagney <cagney@b1.cygnus.com> * compile.c (sim_open): Add ABFD argument.Tue May 20 10:16:48 1997 Andrew Cagney <cagney@b1.cygnus.com> * compile.c (sim_open): Add callback argument. (sim_set_callbacks): Delete SIM_DESC argument.Wed Apr 30 10:22:29 1997 Doug Evans <dje@canuck.cygnus.com> * compile.c (sim_load): Call bfd_get_mach instead of examining bfd fields directly. * tconfig.in (SIM_PRE_LOAD): Delete, no longer used.Thu Apr 24 00:39:51 1997 Doug Evans <dje@canuck.cygnus.com> * configure: Regenerated to track ../common/aclocal.m4 changes.Fri Apr 18 14:30:09 1997 Andrew Cagney <cagney@b1.cygnus.com> * compile.c (sim_resume): Use poll_quit callback. (sim_stop): New function.Thu Apr 17 03:06:39 1997 Doug Evans <dje@canuck.cygnus.com> * Makefile.in (SIM_OBJS): Add sim-load.o. * compile.c (sim_kind, myname): New static locals. (sim_open): Set sim_kind, myname. (sim_load): Return SIM_RC. New arg abfd. Update test for h8300h. Call sim_load_file to load file into simulator. Set start address from bfd. (sim_create_inferior): Return SIM_RC. Delete arg start_address.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -