From 9e507b690e6cb92ae1afb64bc1d0c18862af40f4 Mon Sep 17 00:00:00 2001 From: Doug Evans Date: Tue, 12 Jan 1999 21:46:47 +0000 Subject: [PATCH] * cgen-trace.c (trace_insn): Pass pc to trace_prefix for virtual insns. --- sim/common/ChangeLog | 2 ++ sim/common/cgen-trace.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog index 5e5b8af..c708c8f 100644 --- a/sim/common/ChangeLog +++ b/sim/common/ChangeLog @@ -4,6 +4,8 @@ * sim-model.c (sim_mach_lookup_bfd_name): New function. (sim_model_init): Call it. + * cgen-trace.c (trace_insn): Pass pc to trace_prefix for virtual insns. + start-sanitize-gxsim 1999-01-11 Frank Ch. Eigler diff --git a/sim/common/cgen-trace.c b/sim/common/cgen-trace.c index f95f837..82a20a5 100644 --- a/sim/common/cgen-trace.c +++ b/sim/common/cgen-trace.c @@ -165,7 +165,7 @@ trace_insn (SIM_CPU *cpu, const struct cgen_insn *opcode, if (CGEN_INSN_VIRTUAL_P (opcode)) { - trace_prefix (CPU_STATE (cpu), cpu, NULL_CIA, (address_word) 0, 0, + trace_prefix (CPU_STATE (cpu), cpu, NULL_CIA, pc, 0, NULL, 0, CGEN_INSN_NAME (opcode)); return; } -- 2.7.4