* cgen-trace.c (trace_insn): Pass pc to trace_prefix for virtual insns.
This commit is contained in:
parent
cee25b7cb8
commit
9e507b690e
@ -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 <fche@cygnus.com>
|
||||
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user