+Fri Jan 16 12:33:09 1998 Nick Clifton <nickc@cygnus.com>
+
+ * cgen-trace.c (trace_insn): Call CGEN_INSN_MNEMONIC() rather than
+ CGEN_INSN_SYNTAX().
+
+Mon Dec 15 23:17:11 1997 Andrew Cagney <cagney@b1.cygnus.com>
+
+ * configure: Regenerated to track ../common/aclocal.m4 changes.
+ * config.in: Ditto.
+
+Mon Dec 15 23:16:03 1997 Andrew Cagney <cagney@b1.cygnus.com>
+
+ * aclocal.m4 (AR): Check for sigaction.
+
Thu Dec 4 09:21:05 1997 Doug Evans <devans@canuck.cygnus.com>
* Make-common.in (sim-core.o): Depend on $(sim_main_headers).
Fri Nov 28 11:15:05 1997 Doug Evans <devans@canuck.cygnus.com>
- * gennltvals.sh: Redo syscall support to allow sanitization.
+ * gennltvals.sh: Redo syscall support.
* nltvals.def: Regenerated.
Wed Nov 26 16:49:38 1997 Michael Meissner <meissner@cygnus.com>
if (CPU_PROFILE_FLAGS (cpu) [PROFILE_MODEL_IDX])
{
unsigned long total = PROFILE_TOTAL_CYCLE_COUNT (CPU_PROFILE_DATA (cpu));
- trace_printf (cpu, "%-*ld %-*ld ",
+ trace_printf (CPU_STATE (cpu), cpu, "%-*ld %-*ld ",
SIZE_CYCLE_COUNT, total - last_cycle_count,
SIZE_TOTAL_CYCLE_COUNT, total);
last_cycle_count = total;
}
- trace_printf (cpu, "%s\n", trace_buf);
+ trace_printf (CPU_STATE (cpu), cpu, "%s\n", trace_buf);
}
/* For communication between trace_insn and trace_result. */
cgen_trace_printf (cpu, "0x%.*x %-*s ",
SIZE_PC, (unsigned) pc,
SIZE_INSTRUCTION,
- CGEN_INSN_SYNTAX (opcode)->mnemonic);
+ CGEN_INSN_MNEMONIC (opcode));
return;
}
}
}
- sim_disassemble_insn (opcode, abuf, pc, disasm_buf);
+ sim_disassemble_insn (cpu, opcode, abuf, pc, disasm_buf);
cgen_trace_printf (cpu, "0x%.*x %-*.*s %-*s ",
SIZE_PC, (unsigned) pc,
va_start (args, name);
- trace_printf (cpu, "Extract: 0x%.*x: %s ", SIZE_PC, pc, name);
+ trace_printf (CPU_STATE (cpu), cpu, "Extract: 0x%.*x: %s ", SIZE_PC, pc, name);
do {
int type,ival;
if (fmt)
{
if (printed_one_p)
- trace_printf (cpu, ", ");
+ trace_printf (CPU_STATE (cpu), cpu, ", ");
printed_one_p = 1;
type = va_arg (args, int);
switch (type)
{
case 'x' :
ival = va_arg (args, int);
- trace_printf (cpu, fmt, ival);
+ trace_printf (CPU_STATE (cpu), cpu, fmt, ival);
break;
default :
abort ();
} while (fmt);
va_end (args);
- trace_printf (cpu, "\n");
+ trace_printf (CPU_STATE (cpu), cpu, "\n");
}
void