From f093db8c9ca5f6220cbf13b1f1c72b8d112e2852 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Thu, 22 Apr 2010 00:40:14 +0000 Subject: [PATCH] sim: profile: implement --profile-file backend The common/ code uses sim_cpu rather than SIM_CPU to avoid inter-header dependency issues, so follow convention to fix building some targets. Signed-off-by: Mike Frysinger --- sim/common/ChangeLog | 4 ++++ sim/common/sim-profile.h | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog index ae25963..1b0ac76 100644 --- a/sim/common/ChangeLog +++ b/sim/common/ChangeLog @@ -1,5 +1,9 @@ 2010-04-21 Mike Frysinger + * sim-profile.h (sim_profile_print_bar): Use sim_cpu, not SIM_CPU. + +2010-04-21 Mike Frysinger + * sim-profile.c (profile_vprintf, profile_printf): New functions. (profile_print_pc): Convert sim_io_printf to profile_printf. (profile_print_insn): Likewise. diff --git a/sim/common/sim-profile.h b/sim/common/sim-profile.h index 04aea52..c97aa36 100644 --- a/sim/common/sim-profile.h +++ b/sim/common/sim-profile.h @@ -308,6 +308,6 @@ do { \ /* Misc. utilities. */ -extern void sim_profile_print_bar (SIM_DESC, SIM_CPU *, unsigned int, unsigned int, unsigned int); +extern void sim_profile_print_bar (SIM_DESC, sim_cpu *, unsigned int, unsigned int, unsigned int); #endif /* SIM_PROFILE_H */ -- 2.7.4