aboutsummaryrefslogtreecommitdiff
path: root/sim/common/cgen-trace.c
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>1999-01-12 21:46:47 +0000
committerDoug Evans <dje@google.com>1999-01-12 21:46:47 +0000
commit9e507b690e6cb92ae1afb64bc1d0c18862af40f4 (patch)
tree65742a2b8d34b5fe455c7c3f372ab6f48f6f5ec6 /sim/common/cgen-trace.c
parentcee25b7cb8c1b79e9fe84e80c80fdcbeb7ac42f8 (diff)
downloadfsf-binutils-gdb-9e507b690e6cb92ae1afb64bc1d0c18862af40f4.zip
fsf-binutils-gdb-9e507b690e6cb92ae1afb64bc1d0c18862af40f4.tar.gz
fsf-binutils-gdb-9e507b690e6cb92ae1afb64bc1d0c18862af40f4.tar.bz2
* cgen-trace.c (trace_insn): Pass pc to trace_prefix for virtual insns.
Diffstat (limited to 'sim/common/cgen-trace.c')
-rw-r--r--sim/common/cgen-trace.c2
1 files changed, 1 insertions, 1 deletions
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;
}