X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=sim%2Fcommon%2FChangeLog;h=7c0ef379931a908b00b8e50d5561c8d8487f3197;hb=146b80ff180c0490fa920c183d665f536f2a4b0b;hp=3c85626c520cf57dbd772c84b95121c8d44a4547;hpb=2d7bb7580ac174127f8ae127ebc4156a91035fc0;p=deliverable%2Fbinutils-gdb.git diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog index 3c85626c52..7c0ef37993 100644 --- a/sim/common/ChangeLog +++ b/sim/common/ChangeLog @@ -1,3 +1,439 @@ +2015-11-16 Mike Frysinger + + * sim-close.c (__cgen_cpu_close, _cgen_cpu_close): Delete. + (cgen_cpu_close): Change to XCONCAT2. + +2015-11-15 Mike Frysinger + + * Make-common.in (SIM_NEW_COMMON_OBJS): Add sim-reason.o, sim-reg.o, + and sim-stop.o. + +2015-11-14 Mike Frysinger + + * Make-common.in (SIM_NEW_COMMON_OBJS): Add sim-close.o + * sim-close.c: New file. + +2015-09-25 Andrew Bennett + Ali Lown + + * sim-bits.h (EXTEND6): New macro. + (EXTEND12): New macro. + (EXTEND25): New macro. + +2015-06-24 Mike Frysinger + + * sim-trace.c (trace_one_insn): Delete. + * sim-trace.h (trace_one_insn): Delete. + +2015-06-24 Mike Frysinger + + * sim-trace.c (debug_printf): Rename to ... + (sim_debug_printf): ... this. + * sim-trace.h (debug_printf): Delete define. + (debug_printf): Rename to ... + (sim_debug_printf): ... this. + +2015-06-24 Mike Frysinger + + * sim-trace.c (OPTION_TRACE_REGISTER): New enum. + (trace_options): Add trace-register option. + (trace_option_handler): Handle OPTION_TRACE_REGISTER case. + (trace_idx_to_str): Handle TRACE_REGISTER_IDX case and re-indent. + * sim-trace.h (TRACE_REGISTER_IDX): New enum. + (TRACE_register, WITH_TRACE_REGISTER_P, STRACE_REGISTER_P, + TRACE_REGISTER_P, TRACE_REGISTER): Define. + +2015-06-24 Mike Frysinger + + * sim-trace.h (STRACE, STRACE_INSN, STRACE_DECODE, STRACE_EXTRACT, + STRACE_LINENUM, STRACE_MEMORY, STRACE_MODEL, STRACE_ALU, STRACE_CORE, + STRACE_EVENTS, STRACE_FPU, STRACE_VPU, STRACE_BRANCH, STRACE_SYSCALL, + STRACE_DEBUG): Define. + +2015-06-24 Mike Frysinger + + * sim-trace.c (trace_options): Update help text for trace-alu, + trace-fpu, trace-vpu, and trace-semantics. + * sim-trace.h (TRACE_ALU_IDX): Update comment text. + (TRACE_FPU_IDX, TRACE_VPU_IDX): Likewise. + +2015-06-24 Mike Frysinger + + * sim-assert.h (SIM_FILTER_PATH): Delete. + [!SIM_ASSERT, WITH_ASSERT]: Include libiberty.h. + (SIM_ASSERT): Replace SIM_FILTER_PATH with lbasename. + [!ASSERT, WITH_ASSERT]: Include libiberty.h. + (ASSERT): Replace SIM_FILTER_PATH with lbasename. + * sim-events.c: Include libiberty.h. + (ETRACE): Replace SIM_FILTER_PATH with lbasename. + +2015-06-23 Mike Frysinger + + * acinclude.m4 (AC_ARG_ENABLE(sim-bswap)): Call AS_HELP_STRING. + (AC_ARG_ENABLE(sim-cflags)): Likewise. + (AC_ARG_ENABLE(sim-debug)): Likewise. + (AC_ARG_ENABLE(sim-stdio)): Likewise. + (AC_ARG_ENABLE(sim-trace)): Likewise. + (AC_ARG_ENABLE(sim-profile)): Likewise. + (AC_ARG_ENABLE(sim-environment)): Likewise. + (AC_ARG_ENABLE(sim-alignment)): Likewise. + (AC_ARG_ENABLE(sim-assert)): Likewise. + (AC_ARG_ENABLE(sim-bitsize)): Likewise. + (AC_ARG_ENABLE(sim-endian)): Likewise. + (AC_ARG_ENABLE(sim-hostendian)): Likewise. + (AC_ARG_ENABLE(sim-float)): Likewise. + (AC_ARG_ENABLE(sim-scache)): Likewise. + (AC_ARG_ENABLE(sim-default-model)): Likewise. + (AC_ARG_ENABLE(sim-inline)): Likewise. + (AC_ARG_ENABLE(sim-packages)): Likewise. + (AC_ARG_ENABLE(sim-regparm)): Likewise. + (AC_ARG_ENABLE(sim-reserved-bits)): Likewise. + (AC_ARG_ENABLE(sim-smp)): Likewise. + (AC_ARG_ENABLE(sim-stdcall)): Likewise. + (AC_ARG_ENABLE(sim-xor-endian)): Likewise. + (AC_ARG_ENABLE(cgen-maint)): Likewise. + * configure: Regenerate. + +2015-06-23 Mike Frysinger + + * sim-config.h (WITH_TRACE): Define to ~TRACE_debug. + +2015-06-23 Mike Frysinger + + * cgen-trace.c [!__STDC__]: Delete. + * sim-trace.h [!__STDC__]: Likewise. + +2015-06-21 Mike Frysinger + + * sim-model.c (sim_model_init): Assert model is not NULL. + +2015-06-21 Mike Frysinger + + * sim-types.h: Move SIM_TYPES_H define to top of file. Include + stdint.h. Replace all signed/unsigned typedefs with int#_t and + uint#_t. + +2015-06-21 Mike Frysinger + + * sim-alu.h (_SIM_ALU_H_): Rename to ... + (SIM_ALU_H): ... this. + * sim-assert.h (_SIM_ASSERT_H_): Rename to ... + (SIM_ASSERT_H): ... this. + * sim-basics.h (_SIM_BASICS_H_): Rename to ... + (SIM_BASICS_H): ... this. + * sim-bits.h (_SIM_BITS_H_): Rename to ... + (SIM_BITS_H): ... this. + * sim-endian.h (_SIM_ENDIAN_H_): Rename to ... + (SIM_ENDIAN_H): ... this. + +2015-06-18 Mike Frysinger + + * sim-syscall.c (sim_syscall_multi): Change unknown_syscall to a + constant string. + +2015-06-18 Mike Frysinger + + * callback.c (cb_target_map_entry, cb_host_map_entry): Change map to + m for sentinel testing. + +2015-06-17 Mike Frysinger + + * sim-syscall.c: Include errno.h and targ-vals.h. + (sim_syscall_multi, sim_syscall): Define. + * sim-syscall.h (sim_syscall_multi, sim_syscall): Declare. + * syscall.c (cb_syscall): Extend comment. + +2015-06-17 Mike Frysinger + + * Make-common.in (SIM_NEW_COMMON_OBJS): Add sim-syscall.o. + * sim-syscall.c: New file. + * sim-syscall.h: New file. + +2015-06-17 Mike Frysinger + + * callback.c (cb_target_map_entry, cb_host_map_entry): Define. + (cb_target_to_host_syscall): Rewrite to use cb_target_map_entry. + (cb_host_to_target_errno): Rewrite to use cb_host_map_entry. + (cb_host_str_syscall, cb_host_str_errno, cb_host_str_signal, + cb_target_str_syscall, cb_target_str_errno, cb_target_str_signal): + Define. + * gentmap.c (gen_targ_map_c): Output name field. + +2015-06-12 Mike Frysinger + + * acinclude.m4: Change configure.in to configure.ac. + * sim-config.h: Likewise. + +2015-06-12 Mike Frysinger + + * acinclude.m4 (sim-trace): Delete -DTRACE flags. + * configure: Regenerate. + +2015-06-12 Mike Frysinger + + * sim-trace.h (TRACE, TRACE_INSN, TRACE_DECODE, TRACE_EXTRACT, + TRACE_LINENUM, TRACE_MEMORY, TRACE_MODEL, TRACE_ALU, TRACE_CORE, + TRACE_EVENTS, TRACE_FPU, TRACE_VPU, TRACE_BRANCH, TRACE_SYSCALL, + TRACE_DEBUG): Define. + +2015-06-12 Mike Frysinger + + * sim-module.c (modules): Change WITH_TRACE to WITH_TRACE_ANY_P. + * sim-trace.c (trace_option_handler): Likewise. + * sim-trace.h (WITH_TRACE_ANY_P): Define. + (STRACE_ANY_P): Use WITH_TRACE_ANY_P. + (TRACE_ANY_P): Likewise. + +2015-06-12 Mike Frysinger + + * cgen-run.c (sim_resume): Rename TRACE_INSN_FINI to + CGEN_TRACE_INSN_FINI. + * cgen-trace.c: Rename trace_insn to cgen_trace_insn, + trace_result to cgen_trace_result, trace_insn_fini to + cgen_trace_insn_fini, trace_insn_init to cgen_trace_insn_init, + and trace_extract to cgen_trace_extract. + * cgen-trace.h (trace_insn_init): Rename to ... + (cgen_trace_insn_init): ... this. + (trace_insn_fini): Rename to ... + (cgen_trace_insn_fini): ... this. + (trace_insn): Rename to ... + (cgen_trace_insn): ... this. + (trace_extract): Rename to ... + (cgen_trace_extract): ... this. + (trace_result): Rename to ... + (cgen_trace_result): ... this. + (TRACE_RESULT_P): Rename to ... + (CGEN_TRACE_RESULT_P): ... this. + (TRACE_INSN_INIT): Rename to ... + (CGEN_TRACE_INSN_INIT): ... this. Change trace_insn_init to + cgen_trace_insn_init. + (TRACE_INSN_FINI): Rename to ... + (CGEN_TRACE_INSN_FINI): ... this. Change trace_insn_fini to + cgen_trace_insn_fini. + (TRACE_PRINTF): Rename to ... + (CGEN_TRACE_PRINTF): ... this. + (TRACE_INSN): Rename to ... + (CGEN_TRACE_INSN): ... this. Change trace_insn to cgen_trace_insn. + (TRACE_EXTRACT): Rename to ... + (CGEN_TRACE_EXTRACT): ... this. Change trace_extract to + cgen_trace_extract. + (TRACE_RESULT): Rename to ... + (CGEN_TRACE_RESULT): ... this. Change TRACE_RESULT_P to + CGEN_TRACE_RESULT_P and trace_result to cgen_trace_result. + * genmloop.sh (@prefix@_pbb_before): Change TRACE_INSN_FINI to + CGEN_TRACE_INSN_FINI, TRACE_INSN_INIT to CGEN_TRACE_INSN_INIT, and + TRACE_INSN to CGEN_TRACE_INSN. + (@prefix@_pbb_after): Change TRACE_INSN_FINI to CGEN_TRACE_INSN_FINI. + +2015-06-11 Mike Frysinger + + * sim-events.c (ETRACE_P): Delete. + (ETRACE): Change ETRACE_P to STRACE_EVENTS_P(sd). + (update_time_from_event, sim_events_schedule_vtracef): Likewise. + * sim-events.h (struct _sim_events): Delete trace member. + * sim-trace.c (set_trace_option_mask): Delete trace_nr check and + always set STATE_TRACE_FLAGS(sd)[trace_nr] element. + +2015-06-11 Mike Frysinger + + * sim-trace.h (STRACE_ANY_P, STRACE_INSN_P, STRACE_DECODE_P, + STRACE_EXTRACT_P, STRACE_LINENUM_P, STRACE_MEMORY_P, STRACE_MODEL_P, + STRACE_ALU_P, STRACE_CORE_P, STRACE_EVENTS_P, STRACE_FPU_P, + STRACE_VPU_P, STRACE_BRANCH_P, STRACE_SYSCALL_P): Define. + +2015-06-11 Mike Frysinger + + * sim-trace.h (TRACE_USEFUL_MASK): Change to TRACE_xxx defines. + +2015-06-11 Mike Frysinger + + * sim-trace.h (WITH_TRACE_P): New define. + (WITH_TRACE_INSN_P, WITH_TRACE_DECODE_P, WITH_TRACE_EXTRACT_P, + WITH_TRACE_LINENUM_P, WITH_TRACE_MEMORY_P, WITH_TRACE_MODEL_P, + WITH_TRACE_ALU_P, WITH_TRACE_CORE_P, WITH_TRACE_EVENTS_P, + WITH_TRACE_FPU_P, WITH_TRACE_VPU_P, WITH_TRACE_BRANCH_P, + WITH_TRACE_SYSCALL_P, WITH_TRACE_DEBUG_P, STRACE_P, TRACE_P): + Redefine to use WITH_TRACE_P. + +2015-06-09 Mike Stump + + * sim-events.c (sim_events_schedule_after_signal): Fix spelling + mistake in call to sim_engine_abort. + +2015-04-29 Nick Clifton + + PR 18273 + * sim-fpu.c (INLINE_SIM_FPU): Fix static analysis warning by + increasing parenthesis around casts to signed values. + +2015-04-21 Mike Frysinger + + * gennltvals.sh: Add mcore support. + * nltvals.def: Regenerate. + +2015-04-21 Mike Frysinger + + * cgen.sh: Add +x permissions. + * genmloop.sh: Likewise. + * gentvals.sh: Likewise. + * gennltvals.sh (newlibroot): New variable to hold the path to newlib. + Change all uses of srcroot for newlib to newlibroot. + +2015-04-18 Mike Frysinger + + * sim-base.h (SIM_CPU): New typedef. + +2015-04-18 Mike Frysinger + + * cgen-engine.h (CIA_ADDR): Delete. + * sim-base.h: Update sim_cia example. + [!CIA_ADDR] (sim_cia): New typedef. + +2015-04-17 Mike Frysinger + + * cgen-utils.c (cgen_rtx_error): Change CIA_GET to CPU_PC_GET. + * sim-core.c (sim_core_read_buffer, sim_core_write_buffer): Likewise. + * sim-engine.h (SIM_ENGINE_HALT_HOOK): Change CIA_SET to CPU_PC_SET. + * sim-run.c (sim_engine_run): Change CIA_GET to CPU_PC_GET and + CIA_SET to CPU_PC_SET. + +2015-04-15 Mike Frysinger + + * Makefile.in (SIM_NEW_COMMON_OBJS): Add sim-cpu.o. + * sim-main.h (STATE_CPU): Remove from comment and define. + +2015-04-13 Mike Frysinger + + * acinclude.m4 (ACX_PKGVERSION): Change GDB to SIM. + * configure: Regenerate. + +2015-04-13 Mike Frysinger + + * sim-options.c: Include version.h. + (OPTIONS_VERSION): New enum. + (standard_options): Add "version". + (standard_option_handler): Handle OPTIONS_VERSION. + +2015-04-13 Mike Frysinger + + * Makefile.in (version.o): Change to using create-version.sh from gdb. + (create-version.sh): Delete. + +2015-04-06 Mike Frysinger + + * Make-common.in (SIM_NEW_COMMON_OBJS): Add sim-engine.o and sim-hrw.o. + +2015-04-01 Mike Frysinger + + * run-sim.h, run.c: Delete. + * tconfig.h (SIM_HAVE_PROFILE, SIM_HAVE_BIENDIAN): Delete. + +2015-03-31 Mike Frysinger + + * config.in, configure: Regenerate. + * Make-common.in (CSEARCH): Add $(ZLIBINC). + (ZLIB, ZLIBINC): Define. + (BFD_LIB): Add $(ZLIB). + +2015-03-31 Mike Frysinger + + * cgen-mem.h (MEMOPS_INLINE): Change to EXTERN_INLINE. + * cgen-ops.h (SEMOPS_INLINE): Likewise. + +2015-03-29 Mike Frysinger + + * sim-arange.h (SIM_ARANGE_INLINE): Move above sim_addr_range_hit_p. + (sim_addr_range_hit_p): Change INLINE to SIM_ARANGE_INLINE. + * sim-inline.h (INLINE2): Define to gnu_inline when available. + +2015-03-24 Mike Frysinger + + * sim-profile.c (profile_pc_event): Get pc via sim_pc_get. Delete + usage of STATE_WATCHPOINTS. + (profile_pc_init): Delete STATE_WATCHPOINTS (sd)->pc check. Change + STATE_WATCHPOINTS (sd)->sizeof_pc to sizeof (sim_cia). + +2015-03-24 Mike Frysinger + + * tconfig.h: Note SIM_HAVE_PROFILE is deprecated. + +2015-03-24 Mike Frysinger + + * tconfig.h: Note SIM_HAVE_BIENDIAN is deprecated. + +2015-03-24 Mike Frysinger + + * acinclude.m4 (SIM_AC_OPTION_HARDWARE): Move default option setting + of enable_sim_hardware to AC_ARG_ENABLE. + +2015-03-23 Mike Frysinger + + * acinclude.m4 (SIM_AC_OPTION_HARDWARE): Delete SIM_DV_SOCKSER_O. + Add dv-sockser.o to sim_hw_objs. + +2015-03-23 Mike Frysinger + + * dv-sockser.c: Include config.h. + * dv-sockser.h: Include sim-inline.h. + [HAVE_DV_SOCKSER]: Move all prototypes here. + [!HAVE_DV_SOCKSER] (dv_sockser_status, dv_sockser_write, + dv_sockser_write_buffer, dv_sockser_read): New stub functions. + +2015-03-16 Mike Frysinger + + * gentmap.c, run.c: Convert old style prototypes. + +2015-03-16 Mike Frysinger + + * acinclude.m4 (SIM_AC_COMMON): Call AH_BOTTOM. Delete logic for + symlinking tconfig.h to tconfig.in. + * config.in, configure: Regenerate. + * nrun.c, run.c, sim-basics.h: Delete tconfig.h include. + * tconfig.in: Rename file ... + * tconfig.h: ... here. + +2015-03-15 Mike Frysinger + + * dv-socker.h (dv_sockser_install): Declare. + * sim-module.c: Include config.h. + [HAVE_DV_SOCKSER]: Include dv-sockser.h. + (modules) [HAVE_DV_SOCKSER]: Add dv_sockser_install. + * sim-module.h: Include gdb/remote-sim.h. + +2015-03-14 Mike Frysinger + + * Make-common.in (BUILT_SRC_FROM_COMMON): Delete. + (sim-inline.c): Delete rule. + +2015-03-14 Mike Frysinger + + * Make-common.in (SIM_RUN_OBJS): Change to nrun.o. + * run.c [SIM_USE_DEPRECATED_RUN_FRONTEND]: Issue a warning. + [!SIM_USE_DEPRECATED_RUN_FRONTEND]: Throw an error. + +2015-03-14 Mike Frysinger + + * sim-assert.h [!SIM_ASSERT, WITH_ASSERT]: Include sim-io.h. + [!ASSERT, WITH_ASSERT]: Likewise. + * sim-endian.c: Delete sim-io.h include. + +2015-02-19 Mike Frysinger + + * run-sim.h (sim_kill): Delete unused prototype. + +2015-02-13 Chen Gang + + * gentmap.c: Include "string.h". + +2015-02-02 Chen Gang + + * sim-options.c (sim_args_command): Call freeargv() when failure + occurs. + +2015-01-07 Joel Brobecker + + * aclocal.m4, configure: Regenerate using automake 1.11.1. + 2014-12-03 Joel Brobecker * sim-io.c (sim_io_stat, sim_io_fstat): Adjust calls to "stat" @@ -182,7 +618,7 @@ PR gdb/7205 - Replace TARGET_SIGNAL_ with GDB_SIGNAL_ throughout. + Replace TARGET_SIGNAL_ with GDB_SIGNAL_ throughout. 2012-05-24 Pedro Alves @@ -833,8 +1269,8 @@ 2009-05-18 Jon Beniston - * gennltvals.sh: Add lm32 target. - * nltvals.def: Add lm32 syscall definitions. + * gennltvals.sh: Add lm32 target. + * nltvals.def: Add lm32 syscall definitions. 2009-03-19 J"orn Rennecke (tiny change) @@ -867,15 +1303,15 @@ * config.in: Ditto. 2008-06-06 Vladimir Prus - Daniel Jacobowitz - Joseph Myers + Daniel Jacobowitz + Joseph Myers * aclocal.m4: Include ../../config/acx.m4. * common.m4: Use ACX_PKGVERSION and ACX_BUGURL. * configure, config.in: Regenerate. * Make-common.in (LIB_OBJS): Add version.o. (version.c, version.o): New rules. - * run.c: Include version.h. + * run.c: Include version.h. (usage): Add help parameter. Print output either to stdout or stderr depending on that parameter. (print_version): New. @@ -901,10 +1337,10 @@ * sim-memopt.c (memory_options): Mention that the --memory-size switch accepts suffixes. - (parse_size): Handle a suffix on the size value. - * sim-options.c (standard_options): Mention that the mem-size + (parse_size): Handle a suffix on the size value. + * sim-options.c (standard_options): Mention that the mem-size switch accepts suffixes. - (standard_option_handler): Handle a suffix on the size value. + (standard_option_handler): Handle a suffix on the size value. 2006-12-21 Hans-Peter Nilsson @@ -921,7 +1357,7 @@ for bfd text addresses. 2006-08-29 Thiemo Seufer - Nigel Stephens + Nigel Stephens * sim-fpu.c (pack_fpu): Handle QUIET_NAN correctly for SIM_QUIET_NAN_NEGATED. @@ -1014,7 +1450,7 @@ set, and doesn't include -O. (Using -Wuninitialized without optimization produces a warning, which interferes with compilation with -Werror.) - + 2005-02-21 Jim Blandy * callback.c (os_fstat): Don't declare 't' unless it's used. @@ -1177,7 +1613,7 @@ [ include/gdb: * callback.h (host_callback_struct): Replace members fdopen and alwaysopen with fd_buddy. ] - * callback.c: Changed all users. + * callback.c: Changed all users. 2004-06-15 Alan Modra @@ -1250,9 +1686,9 @@ "int". 2003-08-20 Michael Snyder - Dave Brolley + Dave Brolley - * cgen-par.h (flags, word1): New target-specific + * cgen-par.h (flags, word1): New target-specific fields of CGEN_WRITE_QUEUE_ELEMENT. (CGEN_WRITE_QUEUE_ELEMENT_FLAGS): New accessor macro. (CGEN_WRITE_QUEUE_ELEMENT_WORD1): New accessor macro. @@ -1267,9 +1703,9 @@ 2003-06-22 Andrew Cagney From matthew green : - * sim-fpu.h: Update copyright. + * sim-fpu.h: Update copyright. (sim_fpu_fraction, sim_fpu_guard): New prototypes. - * sim-fpu.c: Update copyright. + * sim-fpu.c: Update copyright. (sim_fpu_fraction, sim_fpu_guard): New inline functions. 2003-06-17 Frank Ch. Eigler @@ -1398,10 +1834,10 @@ 2002-06-09 Aldy Hernandez - * sim-fpu.c (unpack_fpu): Initialize exponent for - sim_fpu_class_zero. - (i2fpu): Same. - (sim_fpu_sqrt): Same. + * sim-fpu.c (unpack_fpu): Initialize exponent for + sim_fpu_class_zero. + (i2fpu): Same. + (sim_fpu_sqrt): Same. 2002-06-08 Andrew Cagney @@ -1416,7 +1852,7 @@ (run.o): Update. (callback.o): Update. (syscall.o): Update. - (sim-load.o): + (sim-load.o): (nrun.o): Update. (sim-hload.o): Update. (sim-io.o): Update. @@ -1433,17 +1869,17 @@ * run-sim.h: New header. Provide prototypes for functions used between run() and libsim.a which are not used by GDB. * run.c: Include run-sim.h. - (main): If SIM_TARGET_SWITCHES is defined call - sim_target_parse_command_line. - (usage): If SIM_TARGET_SWITCHES is defined call - sim_target_display_usage. + (main): If SIM_TARGET_SWITCHES is defined call + sim_target_parse_command_line. + (usage): If SIM_TARGET_SWITCHES is defined call + sim_target_display_usage. 2002-05-17 Andrey Volkov * run.c: Made h8300s as new target, not h8300h alias. Added new option -S (h8300s target) * sim-options.c: Ditto. - + 2002-05-01 Chris Demetriou * callback.c: Use 'deprecated' rather than 'depreciated.' @@ -1645,7 +2081,7 @@ * hw-base.h (set_hw_delete): Declare as external function. * hw-alloc.c (delete_hw_alloc_data): Allow to free the memory allocated using hw_malloc. - + 2000-11-24 Stephane Carrez * sim-options.c (sim_parse_args): Free the memory used for @@ -1668,10 +2104,10 @@ 2000-10-26 Ben Elliston - * cgen.sh: Handle an isa argument between cpu and mach. Default to - `all'. Pass `-i' options to cgen applications. - * Make-common.in (cgen-arch, cgen-cpu, cgen-decode, cgen-cpu-decode, - cgen-desc): Pass $(isa) to cgen.sh. + * cgen.sh: Handle an isa argument between cpu and mach. Default to + `all'. Pass `-i' options to cgen applications. + * Make-common.in (cgen-arch, cgen-cpu, cgen-decode, cgen-cpu-decode, + cgen-desc): Pass $(isa) to cgen.sh. 2000-10-08 Ben Elliston @@ -1820,7 +2256,7 @@ Tue Feb 22 16:45:09 2000 Andrew Cagney * callback.c: Fix compile time warning messages. * run.c: Fix compile time warning messages. - + 1999-12-17 Dave Brolley * sim-profile.h: (set_profile_option_mask): Add prototype. @@ -1938,7 +2374,7 @@ Wed Dec 8 21:47:13 1999 Andrew Cagney 1999-10-07 Dave Brolley - * cgen-par.h (CGEN_FN_HI_WRITE): New enumerator. + * cgen-par.h (CGEN_FN_HI_WRITE): New enumerator. (fn_hi_write): New union member. (sim_queue_fn_hi_write): New function. * cgen-par.c (sim_queue_fn_hi_write): New function. @@ -1966,8 +2402,8 @@ Tue Sep 21 17:14:16 1999 Dave Brolley Mon Sep 20 21:44:06 1999 Geoffrey Keating - * sim-fpu.c (i2fpu): Keep the guard bits sticky when converting - large values. + * sim-fpu.c (i2fpu): Keep the guard bits sticky when converting + large values. Tue Feb 8 16:33:48 2000 Andrew Cagney @@ -2071,7 +2507,7 @@ Sun Jul 11 23:47:20 1999 Andrew Cagney * sim-resume.c (sim_resume): Ensure that the siggnal [sic] is only passed in when sim_resume is first entered - don't re-pass it after a restart. - + Sun Jul 11 23:34:44 1999 Andrew Cagney * sim-options.c (standard_option_handler): Add OPTION_LOAD_VMA and @@ -2124,10 +2560,10 @@ Wed Jul 7 19:56:03 1999 Andrew Cagney 1999-05-08 Felix Lee - * aclocal.m4: Use AC_EXEEXT instead of AM_EXEEXT. Delete defn of - AM_CYGWIN32 and AM_EXEEXT. + * aclocal.m4: Use AC_EXEEXT instead of AM_EXEEXT. Delete defn of + AM_CYGWIN32 and AM_EXEEXT. * configure: Regenerate. - + Fri Apr 16 16:43:22 1999 Doug Evans * sim-core.c (device_error,device_io_read_buffer, @@ -2255,7 +2691,7 @@ Wed Jan 27 17:19:09 1999 Doug Evans va_list, not an integer. * sim-events.c (sim_events_schedule): Likewise. - * sim-types.h (UNSIGNED32, UNSIGNED64): Properly cast to + * sim-types.h (UNSIGNED32, UNSIGNED64): Properly cast to the appropriate type. 1999-01-14 Doug Evans @@ -2315,7 +2751,7 @@ Wed Jan 27 17:19:09 1999 Doug Evans 1998-12-24 Frank Ch. Eigler * dv-sockser.c (DEFAULT_TIMEOUT): Increase to 1 ms. - + * nrun.c (main): Remain in simulation loop for traps and exceptions when in operating environment mode. (ui_loop_hook): New stub hook for standalone use. @@ -2332,7 +2768,7 @@ Wed Jan 27 17:19:09 1999 Doug Evans * sim-n-core.h (sim_core_trace_M): Allay const warning. * sim-trace.h (trace_generic): Ditto. * sim-trace.c (trace_generic): Ditto. - + 1998-12-14 Doug Evans * Make-common.in (SIM_MAIN_DEPS): New var. @@ -2482,10 +2918,10 @@ Wed Nov 18 10:22:22 1998 Andrew Cagney are used to specify types. Handle case of ALPHA. 1998-11-13 Frank Ch. Eigler - + * aclocal.m4: Add tests for dlopen family. * config.in: Regenerated. - + Wed Nov 11 14:02:25 1998 Doug Evans * sim-hload.c (sim_load): Pass `prog_name' to sim_load_file, not NULL. @@ -2736,7 +3172,7 @@ Mon May 25 21:11:26 1998 Andrew Cagney * hw-main.h: Include hw-handles.h, hw-instances.h. * hw-base.h ({create,delete}_hw_{handles,instances}_data): Declare * hw-base.c (hw_create, hw_delete): Call same. - + Mon May 25 18:55:35 1998 Andrew Cagney * dv-core.c: Include hw-main.h and sim-main.h. @@ -2754,7 +3190,7 @@ Mon May 25 18:55:35 1998 Andrew Cagney * hw-base.h (do_hw_attach_regs, do_hw_poll_read_method, do_hw_poll_read): Move declarations from here. * hw-main.h: To here. - + * hw-base.h (struct hw_device_descriptor, hw_finish_callback): Move from here. * hw-main.h (struct hw_descriptor, hw_finish_method): To here, @@ -2778,7 +3214,7 @@ Mon May 25 18:21:38 1998 Andrew Cagney * hw-base.c (hw_create, hw_delete): Call * hw-properties.c (create_hw_property_data, delete_hw_property_data): Define. - + Mon May 25 17:40:46 1998 Andrew Cagney * hw-device.c, hw-properties.c: Include hw-base.h @@ -2793,7 +3229,7 @@ Mon May 25 17:40:46 1998 Andrew Cagney * Make-common.in (SIM_NEW_COMMON_OBJS): Add hw-alloc.o. (hw-alloc.o): New target. - + Mon May 25 17:14:27 1998 Andrew Cagney * hw-events.h, hw-events.c: New files. Move event code to here. @@ -2804,7 +3240,7 @@ Mon May 25 17:14:27 1998 Andrew Cagney * hw-device.h (struct hw): Add struct hw_event_data events_of_hw. * hw-events.h (struct hw_event): Replace typedef hw_event. - + * hw-base.h (create_hw_event_data, delete_hw_event_data): Declare. * hw-base.c (hw_create, hw_delete): Call. * hw-events.c (create_hw_event_data, delete_hw_event_data): Define. @@ -2815,11 +3251,11 @@ Mon May 25 16:55:16 1998 Andrew Cagney * hw-base.c (panic_hw_port_event, empty_hw_ports): Move from here. * hw-ports.c: To here. - + * hw-base.h, hw-ports.c (create_hw_port_data, delete_hw_port_data): New functions. * hw-base.c (hw_delete, hw_create): Call same. - + * hw-base.h (set_hw_ports, set_hw_port_event): Move set functions from here. * hw-ports.h: To here. @@ -2834,7 +3270,7 @@ Fri May 22 12:16:27 1998 Andrew Cagney * aclocal.m4 (SIM_AC_OPTION_HW): Add enable / disable argument. Move common object files from here. * Make-common.in (SIM_COMMON_HW_OBJS): To here. - + Thu May 21 17:57:16 1998 Andrew Cagney * sim-hw.c: Include ctype.h. @@ -2873,7 +3309,7 @@ Sat May 16 12:44:52 1998 Doug Evans Fri May 15 16:06:05 1998 Doug Evans - * cgen-trace.c (trace_insn_init): New arg first_p. + * cgen-trace.c (trace_insn_init): New arg first_p. All callers updated. (trace_insn_fini): New arg last_p. All callers updated. * cgen-trace.h (trace_insn_init,trace_insn_fini): Update. @@ -2953,7 +3389,7 @@ Fri May 1 12:11:02 1998 Andrew Cagney * hw-tree.h (hw_tree_print): Paramaterize with print and file arguments. * hw-tree.c: Update. - + * hw-base.h (hw_port_event_callback): Delete CPU/CIA args. * hw-device.h (hw_io_read_buffer, hw_io_write_buffer): Delete CPU/CIA args. @@ -2971,7 +3407,7 @@ Fri May 1 12:11:02 1998 Andrew Cagney * hw-device.h (SIM_DESC): Replace with struct sim_state. * hw-base.h (hw_create): Ditto. * hw-base.c (hw_create): Ditto. - + * hw-device.c (hw_abort, hw_trace, hw_hw_event_queue_schedule, hw_event_queue_deschedule, hw_event_queue_time): Delete, moved from here to. @@ -3013,11 +3449,11 @@ Wed Apr 29 23:58:52 1998 Andrew Cagney Tue Apr 28 18:28:58 1998 Geoffrey Noer - * common/aclocal.m4: call AM_EXEEXT in SIM_AC_COMMON, define - AM_CYGWIN32 and AM_EXEEXT. - * common/Make-common.in: set EXEEXT, add missing EXEEXTs - to run and install-common rules. - * common/configure: regenerate + * common/aclocal.m4: call AM_EXEEXT in SIM_AC_COMMON, define + AM_CYGWIN32 and AM_EXEEXT. + * common/Make-common.in: set EXEEXT, add missing EXEEXTs + to run and install-common rules. + * common/configure: regenerate Sat Apr 25 17:45:01 1998 Andrew Cagney @@ -3090,7 +3526,7 @@ Tue Apr 14 18:49:31 1998 Andrew Cagney * sim-bits.h (EXTEND4): Define. (EXTEND4, EXTEND15, EXTEND11): Ditto. - + Tue Apr 14 16:31:35 1998 John Metzler * sim-memopt.c (parse_addr): Sunos 4.5 does not have strtol @@ -3123,10 +3559,10 @@ Sat Apr 4 20:36:25 1998 Andrew Cagney * sim-bits.h (sim-bits.c): Include when H_REVEALS_MODULE_P. selected. * sim-endian.h (sim-endian.c): Ditto. - + * sim-events.h (_SIM_EVENTS_H_): Replace with SIM_EVENTS_H. (sim_events_set_trace): Delete unused prototype. - + * sim-core.h (_SIM_CORE_H_): Replace with SIM_CORE_H. * sim-core.c (_SIM_CORE_C_): Ditto for SIM_CORE_C. @@ -3135,14 +3571,14 @@ Sat Apr 4 20:36:25 1998 Andrew Cagney Comment out, not yet implemented in sim-fpu.c. (sim_fpu_zero, sim_fpu_one, sim_fpu_two, sim_fpu_qnan, sim_fpu_max32, sim_fpu_max64): Mark as EXTERN_SIM_FPU. - + * sim-inline.h: Rewrite description. (H_REVEALS_MODULE_P, C_REVEALS_MODULE_P): Define. (SIM_MAIN_INLINE): Add inline option. - + * sim-inline.c (semantics.c, idecode.c, engine.c, ...): Do not include generated files. Handled by generator directly. - + Sat Apr 4 01:07:06 1998 Andrew Cagney * sim-trace.c (set_trace_option_mask): Keep TRACE_ANY_P @@ -3165,13 +3601,13 @@ Fri Mar 27 16:15:52 1998 Andrew Cagney * sim-hw.c: New file. * sim-hw.h (sim_hw_parse): Declare function. (hw-tree.h): Do not include. - + * sim-base.h (STATE_HW): Define. (struct sim_state_base): Add member struct *hw. * sim-module.c (sim-hw.h): Include. (modules): Add sim_hw_install. - + * aclocal.m4 (sim_hw_obj): Add sim-hw.o Fri Mar 27 14:55:06 1998 Andrew Cagney @@ -3203,7 +3639,7 @@ Thu Mar 26 09:10:56 1998 Andrew Cagney Wed Mar 25 16:17:38 1998 Ian Carmichael - * aclocal.m4 (AC_CHECK_HEADERS): Add check for fpu_control.h. + * aclocal.m4 (AC_CHECK_HEADERS): Add check for fpu_control.h. (AC_CHECK_FUNCS): Add check for __setfpucw. * configure: Regenerated. @@ -3233,7 +3669,7 @@ Mon Mar 23 10:25:08 1998 Andrew Cagney appends extra devices. (SIM_AC_OPTION_HARDWARE): Substute sim_hw, a non-duplicate list of the device names. - + * Make-common.in (hw-config.h): New target, create hw-config.h file. (SIM_HW): Definition from @sim_hw@. @@ -3248,7 +3684,7 @@ Tue Mar 24 17:41:35 1998 Stu Grossman move-if-change. Fixes NT native build problem. * configure: Regenerate with autoconf 2.12.1 to fix shell issues for NT native builds. - + Sun Mar 22 16:54:40 1998 Andrew Cagney * hw-device.h, hw-device.c (hw_strdup): New function. @@ -3259,7 +3695,7 @@ Sun Mar 22 16:54:40 1998 Andrew Cagney * hw-properties.c: Clean up property not found / wrong type error messages. - + * hw-tree.c (hw_tree_parse): Finish a devices initialization before attaching any ports. @@ -3300,11 +3736,11 @@ Sun Mar 22 15:23:35 1998 Andrew Cagney * hw-device.h (HW_ZALLOC, HW_MALLOC): New macros. (hw_alloc_data): Delcare. (struct hw): Add member alloc_of_hw. - + * hw-device.c (hw_zalloc, hw_malloc, hw_free, hw_free_all): New functions. Assocate memory with a device. (stdlib.h): Include. - + * hw-base.h (set_hw_delete): Define. (hw_delete_callback): Declare. (hw_delete): Declare. @@ -3317,9 +3753,9 @@ Sun Mar 22 15:23:35 1998 Andrew Cagney any methods. * hw-tree.h, hw-tree.c (hw_tree_delete): New function. - + * hw-properties.c: Replace zalloc/zfree with hw_zalloc/hw_free. - + * hw-ports.c: Replace zalloc/zfree with hw_zalloc/hw_free. (attach_hw_port_edge): Add struct hw argument @@ -3356,7 +3792,7 @@ Wed Mar 18 14:13:02 1998 Andrew Cagney * hw-device.h, hw-device.c, hw-properties.h, hw-properties.c, hw-ports.h, hw-ports.c: New files. Copied from ../ppc/device.[ch]. - + * hw-tree.h, hw-tree.c: New files. Copied from ../ppc/tree.[hc]. * hw-base.h, hw-base.c: new files. Copied from @@ -3364,7 +3800,7 @@ Wed Mar 18 14:13:02 1998 Andrew Cagney * dv-core.c, dv-pal.c: New files. Copied from ../ppc/hw_{core,pal}.c - + * sim-basics.h (struct hw): Declare. (enum port_direction, enum object_disposition): Declare. @@ -3428,7 +3864,7 @@ Wed Mar 11 14:02:47 1998 Andrew Cagney * sim-core.c, sim-core.h (sim_core_attach): Replace argument attach with more generic mapmask. (sim_core_{read,write}_*): Change map argument to unsigned. - + * sim-core.c (sim_core_uninstall, sim_core_attach, sim_core_detach): Iterate over nr_maps instead of sim_core_nr_maps. @@ -3486,7 +3922,7 @@ Sat Feb 28 13:54:10 1998 Andrew Cagney * sim-module.c (sim_pre_argv_init): String passed to asprintf can't be constant. - + * sim-options.c (sim_parse_args): Ditto. (sim_args_command): Return OK, instead of nothing, for an empty command. @@ -3508,7 +3944,7 @@ Fri Feb 27 13:29:13 1998 Andrew Cagney * sim-module.h (MODULE_INFO_FN, MODULE_INFO_LIST): Declare. (struct module_list): Declare. - + * sim-module.h, sim-module.c (sim_module_add_info_fn, sim_module_info): New functions. (sim_module_install): Clean up module data structures. @@ -3571,7 +4007,7 @@ Wed Feb 25 14:40:24 1998 Andrew Cagney (sim_fpu_max, sim_fpu_min): new functions. (EXPMAX32, EXPMAX64, NR_PAD32, NR_PAD64, NR_GUARDS32, NR_GUARDS64, NORMAL_EXPMAX32, NORMAL_EXPMAX64): Define. - + Tue Feb 24 22:45:39 1998 Doug Evans * sim-profile.c (profile_print): Delete duplicate test of @@ -3594,7 +4030,7 @@ Mon Feb 23 20:45:57 1998 Mark Alexander Tue Feb 24 13:18:42 1998 Andrew Cagney * sim-trace.h (TRACE_ALU_RESULT2): Define. - + * sim-trace.h, sim-trace.c (trace_result_word2, trace_input_word4, trace_result_word4): New function. @@ -3655,13 +4091,13 @@ Tue Feb 17 16:27:46 1998 Andrew Cagney (trace_generic): Like trace_one_insn. (TRACE_ALU_IDX, TRACE_*_IDX): Change #define's to enum. (TRACE_alu, TRACE_[a-z]*): Update. - + * sim-trace.c (trace_prefix, trace_input*, trace_result*, trace_insn, save_data, trace_idx_to_str, print_data): New functions. (trace_one_insn): Rewrite. (trace_generic): New function. - + Tue Feb 17 17:27:30 1998 Doug Evans * aclocal.m4 (USE_MAINTAINER_MODE): New variable. @@ -3730,7 +4166,7 @@ Sat Jan 31 18:03:55 1998 Andrew Cagney WITH_TARGET_ADDRESS_BITSIZE. (signed_cell, unsigned_cell, natural_cell): Ditto using WITH_TARGET_CELL_BITSIZE. - + * sim-config.h (WITH_TARGET_ADDRESS_BITSIZE): Define. (WITH_TARGET_CELL_BITSIZE): Define. (WITH_HOST_WORD_BITSIZE): Delete. @@ -3744,7 +4180,7 @@ Fri Jan 30 09:36:33 1998 Andrew Cagney * sim-engine.h (sim_engine_run): Add argument nr_cpus. * sim-run.c (sim_engine_run): Update. - + * sim-engine.h (SIM_ENGINE_HALT_HOOK): Use SET_CPU_CIA instead of CPU_CIA. * sim-run.c (sim_engine_run): Ditto. @@ -3753,11 +4189,11 @@ Fri Jan 30 09:36:33 1998 Andrew Cagney (sim_resume): Pass nr_cpus to sim_engine_run. * sim-engine.h (struct _sim_engine): Add member nr_cpus. - + * sim-engine.c (sim_engine_init): Hardwire nr_cpus to MAX_NR_PROCESSORS. (sim_engine_nr_cpus) sim-engine.c, sim-engine.h: New function - + Fri Jan 23 14:20:54 1998 Doug Evans * Make-common.in (stamp-tvals): New rule. @@ -4102,7 +4538,7 @@ Fri Nov 14 11:33:34 1997 Andrew Cagney * sim-n-core.h (sim_core_read_unaligned_N): Return static sim_core_dummy_M. (sim_core_dummy_M): Declare. - + Wed Nov 12 18:16:15 1997 Andrew Cagney * sim-core.c (sim_core_signal): Print the address of the @@ -4174,7 +4610,7 @@ Thu Nov 6 12:06:46 1997 Andrew Cagney * sim-options.h: Clarify documentation. (OPTION_LONG_ONLY_P): Delete definition. (OPTION_VALID_P): Define. - + * sim-options.c (sim_print_help): Allow short only options. (sim_parse_args): Ditto. (sim_args_command): Skip short only options. @@ -4191,7 +4627,7 @@ Wed Nov 5 13:40:31 1997 Andrew Cagney Declare, ditto for 5, 6 & 7 byte transfers. (sim_core_write_unaligned_1, sim_core_write_unaligned_1): Define as aligned variant. - + * sim-n-core.h (sim_core_trace_M): Rename from sim_core_trace_N. Add nr_bytes argument. Replace transfer argument with transfer type. Print transfer direction. Handle 1 and 2 byte @@ -4389,7 +4825,7 @@ Fri Oct 3 09:49:18 1997 Andrew Cagney * sim-fpu.h, sim-fpu.c: Rewrite. Change sim_fpu object to an unpacked floating point struct. Pass sim_fpu object by reference. Add preliminary support for rounding modes. - + Fri Oct 3 09:28:00 1997 Andrew Cagney * configure: Regenerated to track ../common/aclocal.m4 changes. @@ -4401,7 +4837,7 @@ Thu Oct 2 19:43:52 1997 Andrew Cagney Thu Sep 25 23:20:20 1997 Felix Lee - * sim-profile.c (profile_print_core): label needs empty statement. + * sim-profile.c (profile_print_core): label needs empty statement. Thu Sep 25 11:20:47 1997 Stu Grossman @@ -4427,7 +4863,7 @@ Wed Sep 24 17:41:40 1997 Stu Grossman * sim-break.c sim-break.h: New modules that implement intrinsic breakpoint support. * sim-module.c: Add breakpoint module. - + Tue Sep 23 00:26:39 1997 Felix Lee * sim-events.c (SIM_EVENTS_POLL_RATE): poll more often than once @@ -4445,7 +4881,7 @@ Tue Sep 23 11:04:38 1997 Andrew Cagney * Make-common.in (SIM_SCACHE, SIM_DEFAULT_MODEL): Assign configured values. (CONFIG_CFLAGS): Add same. - + Mon Sep 22 17:20:27 1997 Felix Lee * sim-types.h (SIGNED64): ##i64 when _MSC_VER, not _WIN32. @@ -4511,7 +4947,7 @@ Fri Sep 19 17:26:14 1997 Andrew Cagney * aclocal.m4 (sim_alignment): Allow configuration of hardwired and default alignment requirements on memory accesses. - + Fri Sep 19 11:51:35 1997 Jeffrey A Law (law@cygnus.com) * sim-load.c (sim_load_file): Return failure if the executable @@ -4525,7 +4961,7 @@ Wed Sep 17 13:33:28 1997 Andrew Cagney * sim-core.c (sim_core_signal): When bad access halt simulator SIGSEGV / SIGBUS instead of aborting. (signal.h): Include. - + * sim-watch.c (sim_watchpoint_install): Handler for watchpoint options was missing. @@ -4546,13 +4982,13 @@ Tue Sep 16 16:15:16 1997 Andrew Cagney * sim-bits.c (LSSEXT, MSSEXT): Replace SEXT. (LSINSERTED, MSINSERTED): Ditto for INSERTED. - + * sim-n-bits.h (MSSEXTn, LSSEXTn): Replace SEXTn. (LSINSERTDn, MSINSERTEDN): Ditto for INSERTEDn. - + * sim-bits.h (SEXT*): Define as MSEXT/LSEXT. (INSERTED*): Ditto for LSINSERTED/MSINSERTED. - + Mon Sep 15 17:36:15 1997 Andrew Cagney * aclocal.m4 (SIM_AC_COMMON): Add optional config.h file argument. @@ -4631,7 +5067,7 @@ Wed Sep 10 16:15:22 1997 Andrew Cagney meanginful usage messages. * sim-options.h (struct OPTION): Clarify use of doc_name field - + Wed Sep 10 13:23:24 1997 Andrew Cagney * sim-options.c (OPTION_ARCHITECTURE_INFO): New option. @@ -4660,7 +5096,7 @@ Mon Sep 8 12:22:20 1997 Andrew Cagney * sim-n-bits.h (MASKEDn): Delete, define as MSMASKED or LSMASKED. (MSMASKEDn, LSMASKEDn): Add last argument. (MSMASK*): Ditto. - + * sim-bits.h (EXTEND8, EXTEND16): Define. (EXTRACTED64): Define as 64 bit extract, not 32 bit. @@ -4691,8 +5127,8 @@ Fri Sep 5 08:39:02 1997 Andrew Cagney * sim-utils.c (sim_do_commandf): New function, printf version of sim_do_command. - * sim-basics.h (asprintf, vasprintf): Hack, define for CYGWIN32. - + * sim-basics.h (asprintf, vasprintf): Hack, define for CYGWIN32. + * sim-alu.h (ALU64_ADD): Use explicit MSEXTRACTED64, do not assume bit endianness. (SIGNED64, UNSIGNED64): Delete. @@ -4752,7 +5188,7 @@ Thu Sep 4 09:27:54 1997 Andrew Cagney * sim-core.h (struct _sim_core_mapping): Change nr_bytes to type address_word, add mask member. - + * sim-core.h, sim-core.c (sim_core_attach): Make nr_bytes of type address_word, allow for 64bit targets in 32bit host. Add modulo argument. @@ -4790,7 +5226,7 @@ Wed Sep 3 10:08:21 1997 Andrew Cagney (sim_events_init, sim_events_uninstall): Delete prototypes. * sim-module.h (MODULE_SUSPEND_FN, MODULE_RESUME_FN): Define types. - + * sim-module.c(sim_module_resume, sim_module_suspend): New functions. @@ -4811,9 +5247,9 @@ Mon Sep 1 10:50:11 1997 Andrew Cagney * sim-utils.c (sim_state_alloc): Set CPU backlinks, callback and kind. - + * sim-base.h (sim_state_alloc): Add callback and kind arguments. - + * sim-base.h (INVALID_INSTRUCTION_ADDRESS): Add default definition. @@ -4855,7 +5291,7 @@ Thu Aug 28 12:09:15 1997 Andrew Cagney (OPTION_ARCHITECTURE, OPTION_TARGET): Define. (standard_option_handler): Handle architecture and target options. (bfd.h): Include. - + * sim-utils.c (sim_analyze_program): Pass STATE_TARGET to bfd_openr. (sim_analyze_program): Set prog_bfd architecture from @@ -4885,7 +5321,7 @@ Wed Aug 27 15:13:04 1997 Andrew Cagney (V2_H1, V2_L1, V4_H2, V4_L2, V8_L4, V8_H4): Given N byte argument, return N*2 byte value with argument in Hi/Lo word. Renamed from V1_H2, V1_L2, V2_H4, V2_L4, V4_H8, V4_L8. - + * sim-alu.h (ALU32_HAD_OVERFLOW): Use 64 bit mask not 32bit. (ALU16_HAD_CARRY, ALU32_HAD_CARRY, ALU16_HAD_OVERFLOW): Use MSBIT so that bit offset is explicit. @@ -4902,11 +5338,11 @@ Wed Aug 27 11:55:35 1997 Andrew Cagney Tue Aug 26 12:55:26 1997 Andrew Cagney * run.c (main): Pass the open ABFD to sim_create_inferior. - + * nrun.c (main): Determine prog_bfd. Pass to sim_create_inferior and sim_load. (bfd.h): Include. - + * sim-hload.c (sim_load): New file. Implement generic sim_load for hardware only simulator targets. @@ -4939,7 +5375,7 @@ Mon Aug 25 12:11:06 1997 Andrew Cagney from same. (sim_config): Return SIM_RC, don't abort. (bfd.h): Include. - + * run.c (main): Update call to sim_open - add ABFD argument. * nrun.c (main): Add NULL ABFD argument. @@ -4987,7 +5423,7 @@ Wed Jun 4 11:44:06 1997 Andrew Cagney * sim-engine.c (sim_engine_install): New function. Install the engine init functions. (sim_engine_init): [Re]initialize the simulator engine. - + * sim-module.c: Add sim_engine to list of modules that always install. @@ -5003,14 +5439,14 @@ Wed May 28 14:47:41 1997 Andrew Cagney * sim-n-core.h (sim_core_write_aligned_N): For 8byte reads, output both low and high word. (sim_core_write_aligned_N): Ditto. - + * sim-trace.c (set_trace_options): Delete code explicitly setting core->trace. * sim-options.c (sim_print_help): Call the list commands if not a standalone simulator. (sim_print_help): Advise that some options may not be applicable. - + * sim-trace.c (set_trace_options): Assume core present. * sim-events.c (sim_events_schedule_after_signal): Overflow signal @@ -5063,7 +5499,7 @@ Tue May 27 12:48:03 1997 Andrew Cagney * sim-n-core.h (sim_core_read_unaligned_N): When mis-aligned transfer use xor version of read buffer. (sim_core_write_unaligned_N): Ditto for write. - + * sim-core.c (sim_core_xor_read_buffer): New function implement xor-endian data read breaking transfer up into xor-endian sized blocks. @@ -5074,19 +5510,19 @@ Tue May 27 12:48:03 1997 Andrew Cagney Fri May 23 14:24:31 1997 Andrew Cagney * sim-inline.h: Review description. - + * sim-core.h, sim-core.c: Reduce number of functions being inlined to just those involved in data transfers and configuration. - + * sim-xcat.h (XSTRING): New macro, map macro definition onto string. * sim-n-core.h (sim_core_read_aligned_N): Use. (sim_core_read_unaligned_N): Ditto. (sim_core_read_unaligned_N): Ditto.. (sim_core_write_unaligned_N): Ditto. - + * sim-core.h: Add xor endian bitmap to main structure. * - + sim-n-core.h (sim_core_write_aligned_N): Add suport for xor endian. (sim_core_read_aligned_N): Ditto. @@ -5102,8 +5538,8 @@ Fri May 23 10:53:13 1997 Andrew Cagney Thu May 22 09:12:16 1997 Gavin Koch - * sim-engine.c (sim_engine_restart): - * sim-resume.c (sim_resume): Change longjmp param/setjmp + * sim-engine.c (sim_engine_restart): + * sim-resume.c (sim_resume): Change longjmp param/setjmp return value used for simulator restart from 0 to 2. Wed May 21 08:47:30 1997 Andrew Cagney @@ -5128,7 +5564,7 @@ Wed May 21 08:47:30 1997 Andrew Cagney * Make-common.in (sim-watch.o): Add rule. (sim_main_headers): Assume sim-assert.h included. (sim-*.o): Simplify make rule. - + * sim-module.c: Add sim_watch_install to module list. Tue May 20 14:15:23 1997 Andrew Cagney @@ -5155,7 +5591,7 @@ Tue May 20 14:15:23 1997 Andrew Cagney * sim-events.c (sim_events_process): Allow multi tick processing. (sim_events_tickn): New function - multi cycle tick. - + * sim-events.h (sim_events_tickn, sim_events_timewarp): Add prototypes. Under development. (sim_events): Replace processing with nr_ticks_to_process. @@ -5211,7 +5647,7 @@ Fri May 16 15:13:21 1997 Andrew Cagney Tue May 13 13:50:06 1997 Andrew Cagney * sim-module.c: Add sim_events_install to list. - + * sim-events.c (sim_events_install, sim_events_uninstall): Clonse from sim_core_*. (sim_events_init): Now returns SIG_RC. @@ -5220,10 +5656,10 @@ Tue May 13 13:50:06 1997 Andrew Cagney * sim-reason.c: New file. Generic sim_stop_reason. * sim-stop.c: New file. Generic sim_stop. * sim-resume.c: New file. Generic sim_resume. - + * Make-common.in (sim-engine.o): Add rule. (sim-run.o, sim-reason.o, sim-stop.o, sim-resume.o): Ditto. - + * sim-engine.h, sim-engine.c: New file. Provide generic implementation of sim_engine_halt, sim_engine_error. et.al. @@ -5279,11 +5715,11 @@ Thu May 15 10:58:52 1997 Andrew Cagney * sim-fpu.h, sim-fpu.c (sim_fpu_[iu]{32,64}to): New int2fp conversion functions. (sim_fpu_to{32,64}[iu]): New fp2int functions. - + * sim-fpu.h, sim-fpu.c (sim_fpu_is_{lt,le,eq,ne,ge,gt}): New fp compare functions. Replacing. (sim_fpu_cmp): This. Delete. - + Mon May 12 14:49:05 1997 Andrew Cagney * sim-core.c (sim_core_find_mapping): Call engine_error not @@ -5393,7 +5829,7 @@ Fri May 2 17:59:42 1997 Andrew Cagney * sim-core.c (sim_core_map_to_str): New function ascii equivalent to map type. - + * sim-n-core.h (sim_core_read_N, sim_core_write_N): Use in trace statement. @@ -5416,14 +5852,14 @@ Fri May 2 11:40:23 1997 Andrew Cagney (print_bar): Only define when used by instruction or memory profiler. * sim-options.c (standard_option_handler): Make ul more local. - + * sim-load.c (sim_load_file): Make the name constant. (sim_load_file): Passify gcc. * sim-utils.h: New file, pre-declare utilites in corresponding .c file. * sim-utils.c, sim-load.c: Include sim-utils.h. - + * sim-base.h (sim_cpu): Pre define here so available to all. * sim-core.h (DECLARE_SIM_CORE_WRITE_N, DECLARE_SIM_CORE_READ_N): @@ -5437,7 +5873,7 @@ Fri May 2 11:40:23 1997 Andrew Cagney (trace_option_handler): Convert #if to if where possible so always compiled/checked by C compiler. * sim-n-core.h (sim_core_write_N, sim_core_read_N): Update. - + * sim-base.h: Adjust comment documenting how to define the cpu structure. (sim_state_base): Add sim_core and sim_events to simulator base @@ -5450,12 +5886,12 @@ Fri May 2 11:40:23 1997 Andrew Cagney update_time_from_event, insert_sim_event, sim_events_schedule_after_signal, sim_events_deschedule, sim_events_tick): Ditto. - + * sim-basics.h (sim-module.h, sim-trace.h, sim-profile.h, sim-model.h): Move #includes from here. * sim-base.h: To here. (sim-core.h, sim-events.h, sim-io.h): Include also - + Wed Apr 30 15:37:54 1997 Andrew Cagney * callback.c (default_callback): Missing initialisers. @@ -5692,7 +6128,7 @@ Mon Apr 7 11:39:45 1997 Andrew Cagney * sim-bits.h: Allow MSB to be other than zero. * sim-bits.c: Ditto. * sim-n-bits.h: Ditto. - + * sim-bits.h (MSMASK*): New macros - converce to LSMASK*. * sim-n-bits.h (MSMASKEDn): Ditto. @@ -5755,10 +6191,10 @@ Wed Apr 2 11:08:11 1997 Andrew Cagney are defined by the configure. * aclocal.m4 (sim-stdio): Add option stdio from ../ppc configure. - + * aclocal.m4 (floating-point, xor-endian, alignment, smp, reserved-bits): Always define. - + * sim-config.h, sim-config.c (sim_config): New function - and new file - co-ordinate the setting/checking of the common simulator configuration options. @@ -5818,7 +6254,7 @@ Wed Mar 19 01:12:06 1997 Andrew Cagney Tue Mar 18 20:48:12 1997 Andrew Cagney * sim-alu.h: Include sim-xcat.h. - + Tue Mar 18 13:58:18 1997 Andrew Cagney * Make-common.in (sim-bits.c, sim-core.c, sim-endian.c, @@ -5831,23 +6267,23 @@ Tue Mar 18 13:58:18 1997 Andrew Cagney (sim_events_tick, sim_events_process): Move async handing to sim_events_process. Move timer decrement so that it occures after events have been processed. - + * sim-basics.h (struct _engine): Remove declaration. * sim-events.h, sim-events.c: Rename type to sim_events. Prefix everything with same. Rename global struct to SIM_DESC. * sim-core.h, sim-core.c, sim-n-core.c: Ditto for sim_core. * sim-io.h, sim-io.c: Ditto. - + * sim-assert.h: New file. Optional assertion checking macros. * sim-io.c (sim_io_error): Make just this function tolerant to null pointers. - + * sim-xcat.h: New file. Define concatenate macros. * sim-basics.h (XCONCAT*): Move to sim-xcat.h. * sim-n-core.h, sim-n-bits.h, sim-n-endian.h: Explicitly include concat macros. - + Tue Mar 18 12:44:55 1997 Andrew Cagney @@ -5860,7 +6296,7 @@ Mon Mar 17 18:10:05 1997 Andrew Cagney module. Mon Mar 17 15:38:27 1997 Andrew Cagney - + * sim-events.h: Remove defunct reference to callback struct. Mon Mar 17 15:10:07 1997 Andrew Cagney @@ -5899,7 +6335,7 @@ Mon Mar 17 13:16:26 1997 Andrew Cagney function call convention. (--enable-sim-xor-endian): New option. Configure xor-endian support used by some targets to implement bi-endian support. - + Fri Mar 14 19:51:21 1997 Andrew Cagney * aclocal.m4 (--enable-sim-hostendian): New option. Allow the @@ -5911,11 +6347,11 @@ Fri Mar 14 19:51:21 1997 Andrew Cagney (--enable-sim-warnings): Enable additional GCC compiler checks. * Make-common.in (SIM_ENDIAN, SIM_HOSTENDIAN, SIM_INLINE, SIM_WARNINGS): Add. - + * sim-n-core.h, sim-n-bits.h, sim-n-endian.h: Rename from sim-*-n.h so that the names are uniq on dos machines * sim-core.c, sim-bits.c, sim-endian.c: Update. - + Thu Mar 13 12:32:42 1997 Doug Evans * run.c: #include "libiberty.h". @@ -5937,7 +6373,7 @@ Thu Mar 6 15:50:28 1997 Andrew Cagney * callback.c: Add os_flush_stderr, os_write_stderr, os_evprintf_filtered functions to route error output through stderr. - + * sim-io.h, sim-io.c (sim_io_flush_stderr, sim_io_flush_stdout): Correct return type - should be void. @@ -5954,24 +6390,24 @@ Thu Mar 6 15:50:28 1997 Andrew Cagney directory. * sim-events.h, sim-events.c: Ditto. * sim-io.h, sim-io.c: Ditto. - + Tue Mar 4 09:35:56 1997 Andrew Cagney - + * sim-alu.h (ALU_SUB_CA, ALU*_SUB_CA): New alu operation. * sim-bits.h, sim-bits-n.h, sim-bits.c (LSMASKED*): New macro's extract the tail or least signifiant bits from an integer of the specified size. - + * sim-bits.h, sim-bits.c: Clean up conditionally compiled #if WITH_TARGET_BITSIZE so that the compilation will fail when an unsupported bitsize value is defined. (INSERTED*): Convert to functions. (EXTRACTED*): Ditto. - + (SIGN_EXTEND, SEXT): Change to more terse name. - + Tue Mar 4 09:35:56 1997 Andrew Cagney * sim-inline.h: Allow explicit control over which .c files will be @@ -5979,11 +6415,11 @@ Tue Mar 4 09:35:56 1997 Andrew Cagney * sim-inline.h: Allow explicit control over which .c files use the alternative - REGPARM - parameter passing mechanism. - + * sim-inline.h, sim-inline.c: Don't attempt to include any of icache.c, idecode.c, semantics.c or support.c. Those names are not generally applicable. - + Thu Feb 27 10:17:23 1997 Andrew Cagney * sim-bits.c, sim-bits-n.h (new): Split sim-bits.c into two parts @@ -6016,7 +6452,7 @@ Wed Feb 19 12:40:50 1997 Andrew Cagney * sim-alu.h (ALU_SET16, ALU_SET32, ALU_SET64, etc): Make available all the ALU size alternatives and then auto-configure a default. - + * sim-alu.h: Copy ppc/idecode_expression.h. Mon Feb 17 10:44:18 1997 Andrew Cagney @@ -6027,7 +6463,7 @@ Mon Feb 17 10:44:18 1997 Andrew Cagney * sim-endian.h, sim-endian-n.h (offset_N): New functions - return a pointer into the middle of a host word. * sim-endian.h (MS2W_4, LS2W_4): Use this function. - + Tue Feb 11 13:46:49 1997 Michael Meissner * callback.c: If HAVE_CONFIG_H is defined, include config.h from @@ -6109,7 +6545,7 @@ Wed Nov 20 01:11:04 1996 Doug Evans * Makefile.in,Make-common.in,callback.c: New files. * nltvals.def,gentmap.c,gentvals.sh: New files. -Tue Nov 12 13:34:00 1996 Dawn Perchik +Tue Nov 12 13:34:00 1996 Dawn Perchik * run.c: Include stdarg.h if __STDC__.