summaryrefslogtreecommitdiff
path: root/sim
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2010-04-22 00:40:14 +0000
committerMike Frysinger <vapier@gentoo.org>2010-04-22 00:40:14 +0000
commit39d64664a19cc9c4faeeb291e9443b7ac9aeedc7 (patch)
tree21dfaa46f57234bbb5f3382f18e21ae3d1b2fb61 /sim
parent6961c1c42a291aa5c17dbc851b50a9483040f1db (diff)
downloadgdb-39d64664a19cc9c4faeeb291e9443b7ac9aeedc7.tar.gz
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 <vapier@gentoo.org>
Diffstat (limited to 'sim')
-rw-r--r--sim/common/ChangeLog4
-rw-r--r--sim/common/sim-profile.h2
2 files changed, 5 insertions, 1 deletions
diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog
index ae259638ea5..1b0ac7640a4 100644
--- a/sim/common/ChangeLog
+++ b/sim/common/ChangeLog
@@ -1,5 +1,9 @@
2010-04-21 Mike Frysinger <vapier@gentoo.org>
+ * sim-profile.h (sim_profile_print_bar): Use sim_cpu, not SIM_CPU.
+
+2010-04-21 Mike Frysinger <vapier@gentoo.org>
+
* 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 04aea527d40..c97aa36dfa5 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 */