aboutsummaryrefslogtreecommitdiff
path: root/sim/common
AgeCommit message (Collapse)AuthorFilesLines
2000-03-08* extensionFrank Ch. Eigler3-3/+41
2000-03-08 Dave Brolley <brolley@redhat.com> * cgen-par.h (cgen_write_queue_kind): Add CGEN_FN_SF_WRITE. (CGEN_WRITE_QUEUE_ELEMENT): Add fn_sf_write. (sim_queue_fn_si_write): Last argument is has type USI. (sim_queue_fn_sf_write): New function. * cgen-par.c (sim_queue_fn_si_write): Declare 'value' as USI. (sim_queue_fn_sf_write): New function. (cgen_write_queue_element_execute): Handle CGEN_FN_SF_WRITE.
2000-02-22When SIM_HAVE_ENVIRONMENT: use sim_set_trace() to enable tracingAndrew Cagney2-15/+45
instead of sim_trace() to run the program; include support for ``-o'' option (operating environment); when a signal occurs, only continue execution when operating environment mode. Update d10v.
2000-02-09Report SIGBUS and halt simulation when ld/st detect a misaligned address.Andrew Cagney2-6/+15
2000-02-08Fix compile time warning messages.Nick Clifton3-9/+15
2000-01-26import gdb-2000-01-26 snapshotJason Molenda1-0/+1
2000-01-25import gdb-2000-01-24 snapshotJason Molenda1-0/+60
1999-12-22import gdb-1999-12-21 snapshotJason Molenda3-1/+10
1999-12-14import gdb-1999-12-13 snapshotJason Molenda3-1/+10
1999-12-08import gdb-1999-12-07 snapshotJason Molenda3-1/+206
1999-12-07import gdb-1999-12-06 snapshotJason Molenda5-23/+105
1999-11-09import gdb-1999-11-08 snapshotJason Molenda3-2/+74
1999-10-26import gdb-1999-10-25 snapshotJason Molenda3-5/+59
1999-10-19import gdb-1999-10-18 snapshotJason Molenda5-19/+63
1999-10-12import gdb-1999-10-11 snapshotJason Molenda3-1/+35
1999-10-05import gdb-1999-10-04 snapshotJason Molenda2-3/+12
1999-09-28import gdb-1999-09-28 snapshotJason Molenda3-54/+49
1999-09-22import gdb-1999-09-21Jason Molenda9-4/+39
1999-09-09import gdb-1999-09-08 snapshotStan Shebs8-161/+519
1999-08-31import gdb-1999-08-30 snapshotJason Molenda3-2/+7
1999-08-23import gdb-1999-08-23 snapshotJason Molenda4-32/+75
1999-08-09import gdb-1999-08-09 snapshotJason Molenda7-155/+340
1999-07-19import gdb-1999-07-19 snapshotJason Molenda4-54/+99
1999-07-12import gdb-1999-07-12 snapshotJason Molenda7-55/+91
1999-07-07import gdb-1999-07-07 pre reformatJason Molenda4-0/+45
1999-07-06import gdb-1999-07-05 snapshotJason Molenda3-0/+846
1999-07-05import gdb-1999-07-05 snapshotJason Molenda7-641/+171
1999-06-28import gdb-1999-06-28 snapshotJason Molenda3-7/+11
1999-05-11import gdb-1999-05-10Stan Shebs4-223/+298
1999-05-05import gdb-19990504 snapshotStan Shebs2-27/+1
1999-04-26import gdb-19990422 snapshotStan Shebs15-90/+240
1999-04-16Initial creation of sourceware repositorygdb-4_18-branchpointStan Shebs119-0/+46267
1999-04-16Initial creation of sourceware repositoryStan Shebs120-44263/+0
1999-01-28 * cgen-engine.h (EXTRACT_LSB0_{INT,UINT}): Fix.Doug Evans1-0/+2
1999-01-28 * sim-profile.h: Make like sim-trace.h.Doug Evans1-0/+15
(PROFILE_USEFUL_MASK): New macro. * sim-profile.c (profile_options): Make like trace_options, allow optional on|off arg where applicable. (set_profile_option_mask): New function. (sim_profile_set_option): New function. (profile_option_handler): Simplify. Have -p only enable selected things, not everything. Add missing break to OPTION_PROFILE_PC_RANGE. * cgen-scache.c (scache_options): Allow optional on|off arg to --profile-scache. (scache_option_handler): Use sim_profile_set_option.
1999-01-26* Update copyright year.Frank Ch. Eigler1-1/+1
1999-01-26* Implement --memory-fill and fix --memory-clear options,Frank Ch. Eigler2-26/+115
for internal PR 18869 and 18870. 1999-01-26 Frank Ch. Eigler <fche@cygnus.com> * sim-memopt.c (memory_options): Add MEMORY_FILL option. (memory_option_handler): Implement MEMORY_FILL option. Make MEMORY_CLEAR an alias for MEMORY_FILL=0. (parse_ulong_value): New function. (do_memopt_add): Allocate all buffers. Optionally fill them.
1999-01-15 * cgen-defs.h (PCADDR,CIA): Define in terms of IADDR.Doug Evans1-0/+20
(sim_disassemble_insn): Update prototype. (sim_engine_invalid_insn): Ditto. * cgen-engine.h (SEMANTIC_FN): Add !WITH_SCACHE version. (SEM_BRANCH_INIT): PCADDR->IADDR. (SEM_NBRANCH_FINI): New macro for !WITH_SCACHE case. * cgen-scache.c (scache_lookup,scache_lookup_or_alloc): PCADDR->IADDR. * cgen-scache.h (*): Ditto. * cgen-trace.c (*): Ditto. * cgen-trace.h (*): Ditto. * cgen-utils.c (*): Ditto. * cgen-types.h (integer modes): Use signedNN/unsignedNN types. (insn_t): Delete. * genmloop.sh (@cpu@_fill_argbuf): Add !WITH_SCACHE support. (simple engine framework): Rewrite. * sim-module.c (modules): Install model module sooner (and in particular before the profile module).
1999-01-12 * cgen-trace.c (trace_insn): Pass pc to trace_prefix for virtual insns.Doug Evans2-1/+3
1999-01-12 * sim-model.h (sim_mach_lookup_bfd_name): Add prototype.Doug Evans1-0/+6
* sim-model.c (sim_mach_lookup_bfd_name): New function. (sim_model_init): Call it.
1999-01-11* gx sim prototype tweaksFrank Ch. Eigler4-43/+86
start-sanitize-gxsim 1999-01-11 Frank Ch. Eigler <fche@cygnus.com> * sim-gx-run.c (sim_engine_run): Allay warnings. Write out updated gx block list after each successful compilation job. * sim-gx.c (sim_gx_compiled_block_f): dlopen the main executable image, to allow gx block DLLs to resolve symbols there. (sim_gx_{read,write}_block_list): Allay warnings. (sim_gx_block_translate): Allay warnings. Add $GX_FLAGS to gx compilation/link jobs. * sim-gx.h: Allay warnings. end-sanitize-gxsim
1999-01-06 * Make-common.in (CGEN_INCLUDE_DEPS): Add cgen-defs.h, cgen-engine.h.Doug Evans8-224/+810
(CGEN_MAIN_SCM): Add rtx-funcs.scm. (cgen-arch): Pass $(mach) to cgen.sh. * cgen-engine.h (SEM_BRANCH_FINI): New arg pcvar, all uses updated. (SEM_BRANCH_INIT_EXTRACT): New macro. (SEM_BRANCH_INIT): Add taken_p. (TARGET_SEM_BRANCH_FINI): Provide default definition. (SEM_BRANCH_FINI): Use it. (SEM_INSN): Update. * cgen-run.c (sim_resume): Handle tracing of last insn. * cgen-scache.h (WITH_SCACHE): Define as 0 if not defined. * cgen-trace.c (current_abuf): New static global. (trace_insn_init): Initialize it. (trace_insn_fini): Use it. (trace_insn): Set it. * cgen.sh (arch case): Pass -m ${mach} to cgen. * genmloop.sh (@cpu@_emit_before): Only define if WITH_SCACHE_PBB. (@cpu@_emit_after): Ditto. (simple @cpu@_engine_run_full): New local `pc'. Initialize semantic labels if WITH_SEM_SWITCH_FULL. * sim-model.c: Include bfd.h. (sim_model_init): New function. (sim_model_install): Record init fn. * sim-model.h (MACH): New member bfd_name. * sim-module.c (modules): Initialize model before scache.
1998-12-30* ChangeLog tweakFrank Ch. Eigler1-3/+3
1998-12-30* eCos->devo mergeFrank Ch. Eigler2-52/+179
1998-12-24 Frank Ch. Eigler <fche@cygnus.com> * 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. * sim-events.c (sim_events_process): Call ui_loop_hook periodically on CYGWIN host. * sim-reason.c (sim_stop_reason): Return host signal numbers to gdb on sim_stopped and sim_signalled cases. * sim-engine.c (sim_engine_halt): Call SIM_CPU_EXCEPTION_SUSPEND hook just before longjmp. * sim-resume.c (sim_resume): Call SIM_CPU_EXCEPTION_RESUME hook just before sim_engine_run. * 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-11Compare with ZERO not NULL.Andrew Cagney1-0/+5
1998-12-10Include "sim-assert.h".Andrew Cagney1-0/+5
1998-12-09 * cgen-scache.c (scache_flush): Delete unused locals i,sc.Doug Evans1-0/+1
1998-12-09* sim-trace.c: Include stdlib.h if present.Doug Evans1-1/+1
1998-12-09* sim-arange.c: Include libiberty.h, and stdlib.h if present.Doug Evans2-0/+7
1998-12-09 * dv-sockser.c: Include unistd.h if present.Doug Evans1-1/+6
(dv_sockser_init): Add missing arg to call to sim_io_eprintf.
1998-12-09Add i960 support to sim/common.Jim Wilson1-0/+5
* gennltvals.sh: Add i960. * nltvals.def: Rebuild.