* sim-profile.h: Make like sim-trace.h.
authorDoug Evans <dje@google.com>
Thu, 28 Jan 1999 01:28:03 +0000 (01:28 +0000)
committerDoug Evans <dje@google.com>
Thu, 28 Jan 1999 01:28:03 +0000 (01:28 +0000)
(PROFILE_USEFUL_MASK): New macro.
* sim-profile.c (profile_options): Make like trace_options, allow
optional on|off arg where applicable.
(set_profile_option_mask): New function.
(sim_profile_set_option): New function.
(profile_option_handler): Simplify.
Have -p only enable selected things, not everything.
Add missing break to OPTION_PROFILE_PC_RANGE.
* cgen-scache.c (scache_options): Allow optional on|off arg to
--profile-scache.
(scache_option_handler): Use sim_profile_set_option.

sim/common/ChangeLog

index 8ee90799171af945d14d794ada74c3abbd6064eb..c2dc27261c406f900778529e2a2c2457d5a0e131 100644 (file)
@@ -1,3 +1,18 @@
+Wed Jan 27 17:19:09 1999  Doug Evans  <devans@canuck.cygnus.com>
+
+       * sim-profile.h: Make like sim-trace.h.
+       (PROFILE_USEFUL_MASK): New macro.
+       * sim-profile.c (profile_options): Make like trace_options, allow
+       optional on|off arg where applicable.
+       (set_profile_option_mask): New function.
+       (sim_profile_set_option): New function.
+       (profile_option_handler): Simplify.
+       Have -p only enable selected things, not everything.
+       Add missing break to OPTION_PROFILE_PC_RANGE.
+       * cgen-scache.c (scache_options): Allow optional on|off arg to
+       --profile-scache.
+       (scache_option_handler): Use sim_profile_set_option.
+
 1999-01-26  Frank Ch. Eigler  <fche@cygnus.com>
 
        * sim-memopt.c (memory_options): Add MEMORY_FILL option.