From 2990a9f484ce9ff796d68d6fbfdad7e8a2ea61b8 Mon Sep 17 00:00:00 2001 From: Stephane Carrez Date: Sat, 9 Sep 2000 21:00:39 +0000 Subject: * sim-main.h: Define cycle_to_string. * dv-m68hc11tim.c (cycle_to_string): New function to translate the cpu cycle into some formatted time string. (m68hc11tim_print_timer): Use it. * dv-m68hc11sio.c (m68hc11sio_info): Use cycle_to_string. * dv-m68hc11spi.c (m68hc11spi_info): Likewise. * interrupts.c (interrupts_info): Likewise. * m68hc11_sim.c (cpu_info): Likewise. --- sim/m68hc11/sim-main.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sim/m68hc11/sim-main.h') diff --git a/sim/m68hc11/sim-main.h b/sim/m68hc11/sim-main.h index c5c42e4..6ea3fab 100644 --- a/sim/m68hc11/sim-main.h +++ b/sim/m68hc11/sim-main.h @@ -497,6 +497,8 @@ extern void sim_set_profile (int n); extern void sim_set_profile_size (int n); extern void sim_board_reset (SIM_DESC sd); +extern const char *cycle_to_string (sim_cpu *cpu, signed64 t); + #endif -- cgit v1.1