diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog index 15fbf8ef42..7c5e1b7c73 100644 --- a/sim/common/ChangeLog +++ b/sim/common/ChangeLog @@ -1,3 +1,8 @@ +2010-03-30 Mike Frysinger + + * sim-profile.c (profile_print_addr_ranges): Wrap with the + SIM_HAVE_ADDR_RANGE define. + 2010-03-30 Mike Frysinger * dv-glue.c (hw_glue_ports): Swap static and const. diff --git a/sim/common/sim-profile.c b/sim/common/sim-profile.c index 408f20591c..dabf14a1d6 100644 --- a/sim/common/sim-profile.c +++ b/sim/common/sim-profile.c @@ -1051,6 +1051,7 @@ profile_print_speed (sim_cpu *cpu) } } +#ifdef SIM_HAVE_ADDR_RANGE /* Print selected address ranges. */ static void @@ -1071,6 +1072,7 @@ profile_print_addr_ranges (sim_cpu *cpu) sim_io_printf (sd, "\n"); } } +#endif /* Top level function to print all summary profile information. It is [currently] intended that all such data is printed by this function.