📄 changelog
字号:
* m32r.c (m32r_h_cr_{get,set}): Use register number enums. * tconfig.in (SIM_HANDLES_LMA): Define. * sim-if.c (do_trap): Result is new pc. Handle --environment=operating. * sem-switch.c,sem.c: Regenerate. * semx.c: Regenerate.Wed Mar 11 14:07:39 1998 Andrew Cagney <cagney@b1.cygnus.com> * sim-if.c (syscall_read_mem, syscall_write_mem): Replace sim_core_*_map with read_map, write_map, exec_map resp.Wed Mar 4 11:36:51 1998 Doug Evans <devans@seba.cygnus.com> * Makefile.in (SIM_EXTRA_DEPS): Add cpu-opc.h. (arch.o): Delete cpu-opc.h dependency. (decode.o,model.o): Likewise. (decodex.o,modelx.o): Likewise. * cpu.h,model.c,sem-switch.c,sem.c: Regenerate. * cpux.h,decodex.[ch],modelx.c,readx.c,semx.c: Regenerate.Thu Feb 26 18:38:35 1998 Andrew Cagney <cagney@b1.cygnus.com> * sim-if.c (sim_open): Initialize PROFILE_INFO_CPU_CALLBACK. * sim-if.c (sim_info): Delete.Fri Feb 27 10:14:29 1998 Doug Evans <devans@canuck.cygnus.com> * mloopx.in: Fix handling of branch in parallel with another insn. * semx.c: Regenerate.Mon Feb 23 13:30:46 1998 Doug Evans <devans@seba.cygnus.com> * sim-main.h: #include symcat.h. * m32r-sim.h (BRANCH_NEW_PC): Delete current_cpu arg. (NEW_PC_{BASE,SKIP,2,4,BRANCH_P}): New macros. * cpu.[ch],decode.[ch],extract.c,model.c: Regenerate. * sem.c,sem-switch.c: Regenerate. * m32r-sim.h (SEM_NEXT_PC): Modify to handle parallel exec. * mloopx.in: Rewrite. * cpux.[ch],decodex.[ch],readx.c,semx.c: Regenerate.Mon Feb 23 12:27:52 1998 Nick Clifton <nickc@cygnus.com> * m32r.c (m32r_h_cr_set, m32r_h_cr_get): Shadow control register 6 in the backup PC register. * m32rx.c (m32r_h_cr_set, m32r_h_cr_get): Shadow control register 6 in the backup PC register.Thu Feb 19 16:39:35 1998 Doug Evans <devans@canuck.cygnus.com> * m32r.c (do_lock,do_unlock): Delete. * cpu.[ch],decode.[ch],extract.c,model.c: Regenerate. * sem.c,sem-switch.c: Regenerate. * cpux.[ch],decodex.[ch],readx.c,semx.c: Regenerate.Tue Feb 17 18:18:10 1998 Doug Evans <devans@seba.cygnus.com> * Makefile.in (M32R_OBJS): Add cpu.o. (cpu.o): Add rule for. (NL_TARGET): Define. * configure.in: Add AC_CHECK_PROG(SCHEME). * cpu.c: New file. * cpuall.h,cpu.h,decode.c,decode.h,extract.c,model.c: Regenerate. * sem-switch.c,sem.c: Regenerate. * mloop.in (execute): Update call to semantic fn. (M32RX_OBJS): Add cpux.o. (cpux.o): Add rule for. cpux.c: New file. * cpux.h,decodex.c,decodex.h,modelx.c,readx.c,semx.c: Regenerate. * m32rx.c (m32rx_h_accums_{get,set}): Rewrite. (m32rx_h_cr_{get,set}): New functions. (m32rx_h_accums_{get,set}): New functions. * mloopx.in: Rewrite main loop. * m32r.c (do_trap): Move from here. * sim-if.c (do_trap): To here, and rewrite to use CB_SYSCALL support. (sim_create_inferior): Use h_pc_set. (h_pc_{get,set}): New functions. (h_gr_{get,set}): New functions. (syscall_{read,write}_mem): New functions. * sim-main.h (h_{gr,pc}_{get,set}): Declare.Tue Feb 17 12:44:38 1998 Andrew Cagney <cagney@b1.cygnus.com> * sim-if.c (sim_store_register, sim_fetch_register): Pass in length parameter. Return -1. (sim_create_inferior): Pass 4 sim_store_register.Wed Feb 11 19:53:48 1998 Doug Evans <devans@canuck.cygnus.com> * sim-main.h (CIA_GET,CIA_SET): Provide dummy definitions for now. * decode.c, decode.h, sem.c, sem-switch.c, model.c: Regenerate. * cpux.c, decodex.c, decodex.h, readx.c, semx.c, modelx.c: Regenerate.Mon Feb 9 19:41:54 1998 Doug Evans <devans@canuck.cygnus.com> * decode.c, sem.c: Regenerate. * cpux.h, decodex.c, readx.c, semx.c: Regenerate. * m32rx.c (m32rx_h_accums_set): New function. (m32rx_model_mark_[gs]et_h_gr): New function. * mloopx.in: Rewrite. * Makefile.in (mloopx.o): Build with -parallel. * sim-main.h (_sim_cpu): Delete member `par_exec'. * tconfig.in (WITH_SEM_SWITCH_FULL): Define as 0 for m32rx.Thu Feb 5 12:44:31 1998 Doug Evans <devans@seba.cygnus.com> * Makefile.in (m32r.o): Depend on cpu.h (extract.o): Pass -DSCACHE_P. * mloop.in (extract{16,32}): Update call to m32r_decode. * arch.h,cpu.h,cpuall.h,decode.[ch]: Regenerate. * extract.c,model.c,sem-switch.c,sem.c: Regenerate. * sim-main.h: #include "ansidecl.h". Don't include cpu-opc.h, done by arch.h. * Makefile.in (M32RX_OBJS): Build m32rx support now. (m32rx.o): New rule. * m32r-sim.h (m32rx_h_cr_[gs]et): Define. * m32rx.c (m32rx_{fetch,store}_register): Update {get,set} of PC. (m32rx_h_accums_get): New function. * mloopx.in: Update call to m32rx_decode. Rewrite exec loop. * cpux.h,decodex.[ch],modelx.c,readx.c,semx.c: Regenerate.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.Thu Jan 29 11:22:00 1998 Doug Evans <devans@canuck.cygnus.com> * Makefile.in (M32RX_OBJS): Comment out until m32rx port working. * arch.h (HAVE_CPU_M32R{,X}): Delete, moved to m32r-opc.h. * arch.c (machs): Check ifdef HAVE_CPU_FOO for each entry.Tue Jan 20 14:16:02 1998 Nick Clifton <nickc@cygnus.com> * cpux.h: Fix duplicate definition of h_accums field for fmt_53_sadd structure.Tue Jan 20 01:42:17 1998 Doug Evans <devans@seba.cygnus.com> * Makefile.in: Add m32rx objs, and rules to build them. * cpux.h, decodex.h, decodex.c, readx.c, semx.c, modelx.c: New files. * m32rx.c, mloopx.in: New files.Mon Jan 19 22:26:29 1998 Doug Evans <devans@seba> * configure: Regenerated to track ../common/aclocal.m4 changes.Mon Jan 19 14:13:40 1998 Doug Evans <devans@seba.cygnus.com> * arch.c, arch.h, cpuall.h: New files. * arch-defs.h: Deleted. * mloop.in: Renamed from mainloop.in. * Makefile.in: Update. * sem-ops.h: Deleted. * mem-ops.h: Deleted. (arch): Renamed from CPU. * cpu.h: New file. * decode.c: Redone. * decode.h: Redone. * extract.c: Redone. * model.c: Redone. * sem-switch.c: Redone. * sem.c: Renamed from semantics.c, and redone. * m32r-sim.h (PROFILE_COUNT_FILLNOPS): Update. (GETTWI,SETTWI,BRANCH_NEW_PC): Define. * m32r.c (WANT_CPU,WANT_CPU_M32R): Define. (m32r_{fetch,store}_register): New functions. (model_mark_{get,set}_h_gr): Prefix with m32r_. (m32r_model_mark_{busy,unbusy}_reg): Prefix with m32r_. (h_cr_{get,set}): Prefix with m32r_. (do_trap): Fetch state from current_cpu, not current_state. Call sim_engine_halt instead of engine_halt. * sim-if.c (alloc_cpu): New function. (free_state): New function. (sim_open): Call sim_state_alloc, and malloc space for selected cpu type. Call sim_analyze_program. (sim_create_inferior): Handle selected cpu type when setting PC. (sim_resume): Handle m32rx. (sim_stop_reason): Deleted. (print_m32r_misc_cpu): Update. (sim_{fetch,store}_register): Handle m32rx. (sim_{read,write}): Deleted. (sim_engine_illegal_insn): New function. * sim-main.h: Don't include arch-defs.h,sim-core.h,sim-events.h. Include arch.h,cpuall.h. Include cpu.h,decode.h if m32r. Include cpux.h,decodex.h if m32rx. (_sim_cpu): Include member appropriate cpu_data member for the cpu. (M32R_MISC_PROFILE): Renamed from M32R_PROFILE. (sim_state): Delete members core,events,halt_jmp_buf. Change `cpu' member to be a pointer to the cpu's struct, rather than record inside the state struct. * tconfig.in (WITH_DEVICES): Define here. (WITH_FAST,WITH_SEM_SWITCH_{FULL,FAST}): Define for the cpu.Fri Jan 16 12:16:56 1998 Nick Clifton <nickc@cygnus.com> * arch-defs.h (INSN_NAME): Fix typo.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> * m32r-sim.h (MSPR_ADDR): New macro. (m32r_mspr_device): Declare. (struct _device): Define. * m32r.c (m32r_mspr_device): New global. (device_{io_{read,write}_buffer,error}): New functions. * mem-ops.h (SETMEM*): Use sim_core_write_map, not read map. * sim-if.c: Delete redundant inclusion of cpu-sim.h. (sim_open): Attach device to handle MSPR register. * sim-main.h (WITH_DEVICES): Define as 1. Include cpu-sim.h. * configure: Regenerated to track ../common/aclocal.m4 changes.Wed Dec 3 18:08:44 1997 Doug Evans <devans@canuck.cygnus.com> * configure.in (SIM_AC_OPTION_ENVIRONMENT): Call. * configure: Regenerated.Wed Nov 19 12:17:08 1997 Doug Evans <devans@canuck.cygnus.com> * mem-ops.h: Rename SIM_SIG{ACCESS,ALIGN} to SIM_SIG{SEGV,BUS}. * sim-if.c (sim_open): Call sim_config. (sim_stop_reason): Update call to sim_signal_to_host.Tue Nov 18 15:33:48 1997 Doug Evans <devans@canuck.cygnus.com> * Makefile.in (SIM_OBJS): Use $(SIM_NEW_COMMON_OBJS).Fri Oct 31 18:46:46 1997 Andrew Cagney <cagney@b1.cygnus.com> * sim-if.c (sim_open): Delete dead call to sim_core_attach.Mon Oct 27 12:43:54 1997 Doug Evans <devans@canuck.cygnus.com> * sem-ops.h (U{DIV,MOD}[BHSD]I): Use unsigned division.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.Tue Sep 23 10:19:51 1997 Andrew Cagney <cagney@b1.cygnus.com> * Makefile.in (SIM_ENDIAN, SIM_HOSTENDIAN, SIM_SCACHE, SIM_DEFAULT_MODEL): Delete, moved to common. (SIM_EXTRA_CFLAGS): Update. Mon Sep 22 11:46:20 1997 Andrew Cagney <cagney@b1.cygnus.com> * configure.in (sim_link_links): Configure non-strict memory alignment. * 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 17:44:40 1997 Andrew Cagney <cagney@b1.cygnus.com> * sim-if.c (sim_open): Allocate memory under sim-memopt module using sim_do_commandf. (sim_open): Set magic-number at the start. (sim_do_command): Implement. * sim-main.h (sim_engine_halt): Map onto engine_halt.Mon Sep 15 17:36:15 1997 Andrew Cagney <cagney@b1.cygnus.com> * configure: Regenerated to track ../common/aclocal.m4 changes.Thu Sep 4 17:21:23 1997 Doug Evans <dje@seba> * configure: Regenerated to track ../common/aclocal.m4 changes.Fri Sep 5 10:21:48 1997 Andrew Cagney <cagney@b1.cygnus.com> * Makefile.in (SIM_OBJS): Add sim-memopt.o module.Thu Sep 4 10:30:02 1997 Andrew Cagney <cagney@b1.cygnus.com> * sim-if.c (sim_open): Pass zero modulo arg to sim_core_attach.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:39:42 1997 Andrew Cagney <cagney@b1.cygnus.com> * sim-if.c (sim_kill): Delete. (sim_create_inferior): Add ABFD argument. (sim_load): Move setting of PC from here. (sim_create_inferior): To here. (sim_load): Delete, use sim-hload.c instead. * Makefile.in (SIM_OBJS): Add sim-hload.o module.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:54:08 1997 Andrew Cagney <cagney@b1.cygnus.com> * sim-if.c (sim_open): Add ABFD argument.Tue Jul 22 10:16:16 1997 Doug Evans <dje@canuck.cygnus.com> * sim-main.h (M32R_DEFAULT_MEM_SIZE): New macro. * sim-if.c (sim_open): Use it.Wed Jun 4 12:48:12 1997 Andrew Cagney <cagney@b1.cygnus.com> * sim-main.h (WITH_ENGINE): Disable the common engine for now.Tue May 27 14:15:44 1997 Andrew Cagney <cagney@b1.cygnus.com> * sim-if.c (sim_read): Pass NULL cpu to sim_core_read_buffer. (sim_write): Ditto for write. * m32r.c (do_trap): Ditto for read/write.Tue May 20 10:18:25 1997 Andrew Cagney <cagney@b1.cygnus.com> * sim-if.c (sim_open): Add callback argument. (sim_set_callbacks, sim_callback): Delete. (sim_load): Set STATE_LOADED_P.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -