aboutsummaryrefslogtreecommitdiff
path: root/sim/common/cgen-trace.c
AgeCommit message (Collapse)AuthorFilesLines
2003-06-202003-06-17 Doug Evans <dje@sebabeach.org>Frank Ch. Eigler1-2/+2
* cgen-trace.h (sim_disasm_read_memory): Update args to be compatible with disassemble_info:read_memory_func. * cgen-trace.c (sim_disasm_read_memory): Ditto.
2000-12-232000-12-23 Ben Elliston <bje@redhat.com>Ben Elliston1-0/+14
* cgen-trace.c (trace_result): Handle 'f' type operands; output them to the trace stream using sim_fpu_printn_fpu. Include "sim-fpu.h".
2000-12-042000-12-04 Ben Elliston <bje@redhat.com>Ben Elliston1-4/+0
* cgen-trace.c (disassemble_insn): Remove unused declaration. * cgen-scache.c (scache_option_handler): Remove unused local var.
2000-10-08* usability improvementsBen Elliston1-0/+5
2000-10-08 Ben Elliston <bje@redhat.com> * cgen-utils.c (cgen_rtx_error): New function. 2000-10-07 Ben Elliston <bje@redhat.com> * cgen-trace.c (sim_cgen_disassemble_insn): Handle failure conditions for sim_core_read_buffer().
2000-08-282000-08-28 Dave Brolley <brolley@redhat.com>Dave Brolley1-1/+8
* cgen-trace.c (sim_cgen_disassemble_insn): Make sure entire insn is in insn_value if it will fit.
1999-12-07import gdb-1999-12-06 snapshotJason Molenda1-1/+1
1999-04-26import gdb-19990422 snapshotStan Shebs1-4/+4
1999-04-16Initial creation of sourceware repositorygdb-4_18-branchpointStan Shebs1-0/+414
1999-04-16Initial creation of sourceware repositoryStan Shebs1-278/+0
1999-01-12 * cgen-trace.c (trace_insn): Pass pc to trace_prefix for virtual insns.Doug Evans1-1/+1
1999-01-06 * Make-common.in (CGEN_INCLUDE_DEPS): Add cgen-defs.h, cgen-engine.h.Doug Evans1-86/+110
(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-05-15 * cgen-trace.c (trace_insn_init): New arg first_p.Doug Evans1-3/+4
All callers updated. (trace_insn_fini): New arg last_p. All callers updated. * cgen-trace.h (trace_insn_init,trace_insn_fini): Update. (TRACE_INSN_INIT,TRACE_INSN_FINI): Update. * genmloop.sh (engine_resume): Update.
1998-01-16replaced call to CGEN_INSN_SYNTAX()->mnemonic with CGEN_INSN_MNEMONIC()Nick Clifton1-8/+8
1997-05-01 * Makefile.in (sim-options_h): Define.David Edelsohn1-10/+12
(sim-{module,options,trace,profile,utils}.o): Clean up dependencies. (sim-model.o): Add new rule. (cgen-{scache,trace,utils}.o): Add new rules. * aclocal.m4 (SIM_AC_OPTION_{SCACHE,DEFAULT_MODEL}): Add. * cgen-scache.c (scache_print_profile): Change `sd' arg to `cpu'. Indent output by 2 spaces. * cgen-scache.h (scache_print_profile): Update. * cgen-trace.c (trace_insn_fini): Indent output by 2 spaces. Use trace_printf, not fprintf. (trace_extract): Use trace_printf, not cgen_trace_printf. * genmloop.sh (!FAST case): Increment `insn_count'. * sim-base.h (sim_state_base): Only include scache_size if WITH_SCACHE. (sim_cpu_base): Rename member `sd' to `state' to be consistent with access macro's name. * sim-core.c (sim_core_init): Use EXTERN_SIM_CORE to define it. Change return type to SIM_RC. (sim_core_{install,uninstall}): New functions. * sim-core.h (sim_core_{install,uninstall}): Declare. (sim_core_init): Use EXTERN_SIM_CORE to define it. Change return type to SIM_RC. * sim-model.h (models,machs,model_install): Declare. * sim-module.c (modules): Add scache_install, model_install. (sim_post_argv_init): Set cpu->state backlinks. * sim-options.c (standard_options): Delete --simcache-size,--max-insns. (standard_option_handler): Likewise. * sim-profile.c (PROFILE_{HISTOGRAM,LABEL}_WIDTH): Move to sim-profile.h. (*): Assume ANSI C. (profile_options): Delete --profile-simcache. (profile_option_handler): Likewise. (profile_print_insn): Change `sd' arg to `cpu'. Indent output 2 spaces. (profile_print_{memory,model}): Likewise. (profile_print_simcache): Delete. (profile_print_speed): New function. (profile_print): Rewrite. * sim-profile.h (PROFILE_scache): Renamed from PROFILE_simcache. (WITH_PROFILE_SCACHE_P): Renamed from WITH_PROFILE_SIMCACHE_P. (PROFILE_DATA): Delete members simcache_{hits,misses}. (PROFILE_COUNT_SIMCACHE_{HIT,MISS}): Delete. (PROFILE_{CALLBACK,CPU_CALLBACK}): New types. (profile_print): Update prototype.
1997-05-01 * cgen-mem.h, cgen-scache.[ch], cgen-sem.h, cgen-sim.h: New files.David Edelsohn1-0/+251
* cgen-trace.[ch], cgen-types.h, cgen-utils.c, genmloop.sh: New files. * sim-model.c: New file.