diff options
author | Andrew Cagney <cagney@redhat.com> | 1997-05-05 13:21:04 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 1997-05-05 13:21:04 +0000 |
commit | 7a418800c16e72cc1f902ad19e0e81d1a6d66576 (patch) | |
tree | 06e7375d21160e5d650d31e99c42f5b6bca2b3e6 /sim/m32r/sim-if.c | |
parent | 3971886ac1616c4125531e42a884f031e27f7e21 (diff) | |
download | gdb-7a418800c16e72cc1f902ad19e0e81d1a6d66576.zip gdb-7a418800c16e72cc1f902ad19e0e81d1a6d66576.tar.gz gdb-7a418800c16e72cc1f902ad19e0e81d1a6d66576.tar.bz2 |
Start of implementation of a distributed (between processors)
simulator core object.
Diffstat (limited to 'sim/m32r/sim-if.c')
-rw-r--r-- | sim/m32r/sim-if.c | 7 |
1 files changed, 5 insertions, 2 deletions
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)); } } |