* cgen-trace.c (first_insn_p): New static local.
authorDoug Evans <dje@google.com>
Wed, 20 May 1998 11:43:00 +0000 (11:43 +0000)
committerDoug Evans <dje@google.com>
Wed, 20 May 1998 11:43:00 +0000 (11:43 +0000)
commit6f7833f035fc4d135a7f5fdcf3fbaf5d99b5d5c3
tree4797426b8d8b7bbc0046c9a8b6b94ad2ce54de1a
parent6ebf4a955926365907f00b459402050ea7bfe5f9
* cgen-trace.c (first_insn_p): New static local.
(trace_insn_init): Set it.
(trace_insn_fini): Use TRACE_PREFIX.
(trace_insn): Rewrite to use trace_prefix.
* sim-trace.c (trace_prefix): Don't print filename arg if NULL.
Adjust width accordingly.

* sim-profile.h (PROFILE_DATA): New member profile_any_p.
(PROFILE_ANY_P,PROFILE_INSN_P,PROFILE_MEMORY): New macros.
(PROFILE_SCACHE_P,PROFILE_PC_P,PROFILE_CORE_P): New macros.
(PROFILE_COUNT_INSN,PROFILE_COUNT_READ,PROFILE_COUNT_WRITE): Simplify.
(PROFILE_COUNT_CORE): Simplify.
* sim-profile.c (profile_option_handler): Compute profile_any_p.
sim/common/ChangeLog