From 7a418800c16e72cc1f902ad19e0e81d1a6d66576 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Mon, 5 May 1997 13:21:04 +0000 Subject: Start of implementation of a distributed (between processors) simulator core object. --- sim/m32r/sim-if.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'sim/m32r/sim-if.c') diff --git a/sim/m32r/sim-if.c b/sim/m32r/sim-if.c index 620a44a..7e97528 100644 --- a/sim/m32r/sim-if.c +++ b/sim/m32r/sim-if.c @@ -81,6 +81,7 @@ sim_open (kind, argv) /* FIXME:wip */ sim_core_attach (sd, + NULL, attach_raw_memory, access_read_write_exec, 0, 0, 0x100000, NULL, NULL); @@ -191,13 +192,15 @@ static void print_m32r_misc_cpu (SIM_CPU *cpu, int verbose) { SIM_DESC sd = CPU_STATE (cpu); + char buf[20]; if (CPU_PROFILE_FLAGS (cpu) [PROFILE_INSN_IDX]) { sim_io_printf (sd, "Miscellaneous Statistics\n\n"); - sim_io_printf (sd, " %-*s %ld\n\n", + sim_io_printf (sd, " %-*s %s\n\n", PROFILE_LABEL_WIDTH, "Fill nops:", - CPU_M32R_PROFILE (cpu).fillnop_count); + sim_add_commas (buf, sizeof (buf), + CPU_M32R_PROFILE (cpu).fillnop_count)); } } -- cgit v1.1