diff options
author | Mike Frysinger <vapier@gentoo.org> | 2010-04-22 00:40:14 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2010-04-22 00:40:14 +0000 |
commit | f093db8c9ca5f6220cbf13b1f1c72b8d112e2852 (patch) | |
tree | 5780b553a9ce1c9fb2ac1a3f9c1a737017bf7fc5 /sim/common | |
parent | 0d3d2c7158407776fb4de1f03554dc3df098e932 (diff) | |
download | gdb-f093db8c9ca5f6220cbf13b1f1c72b8d112e2852.zip gdb-f093db8c9ca5f6220cbf13b1f1c72b8d112e2852.tar.gz gdb-f093db8c9ca5f6220cbf13b1f1c72b8d112e2852.tar.bz2 |
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/common')
-rw-r--r-- | sim/common/ChangeLog | 4 | ||||
-rw-r--r-- | sim/common/sim-profile.h | 2 |
2 files changed, 5 insertions, 1 deletions
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 <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 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 */ |