This commit was generated by cvs2svn to compensate for changes in r117392,
which included commits to RCS files with non-trunk default branches.
This commit is contained in:
commit
0eb870194c
@ -8,7 +8,7 @@
|
||||
AR = ar
|
||||
RANLIB = :
|
||||
|
||||
# OTHERCFLAGS = -DDISABLE_TRACE # Disables trace output
|
||||
# OTHERCFLAGS = -DUWX_TRACE_ENABLE # Enables trace output
|
||||
# OTHERCFLAGS = +DD64 # Builds 64-bit library
|
||||
OTHERCFLAGS =
|
||||
|
||||
|
@ -25,6 +25,8 @@
|
||||
#include "uwx_scoreboard.h"
|
||||
#include "uwx_trace.h"
|
||||
|
||||
#ifdef UWX_TRACE_ENABLE
|
||||
|
||||
void uwx_trace_init(struct uwx_env *env)
|
||||
{
|
||||
char *tstr;
|
||||
@ -136,3 +138,4 @@ void uwx_dump_scoreboard(
|
||||
uwx_dump_rstate(i, scoreboard->rstate[i]);
|
||||
}
|
||||
|
||||
#endif /* UWX_TRACE_ENABLE */
|
||||
|
@ -29,7 +29,7 @@
|
||||
#define UWX_TRACE_COPYIN 64 /* UWX_TRACE=C: copyin callback */
|
||||
#define UWX_TRACE_LOOKUPIP 128 /* UWX_TRACE=L: lookupip callback */
|
||||
|
||||
#ifdef DISABLE_TRACE
|
||||
#ifndef UWX_TRACE_ENABLE
|
||||
|
||||
#define TRACE_INIT
|
||||
#define TRACE_B_REUSE(id)
|
||||
@ -76,7 +76,7 @@
|
||||
#define TRACE_SELF_LOOKUP(ip)
|
||||
#define TRACE_SELF_LOOKUP_DESC(text_base, unwind_base)
|
||||
|
||||
#else /* not TRACE_DISABLED */
|
||||
#else /* !UWX_TRACE_ENABLE */
|
||||
|
||||
extern void uwx_trace_init(struct uwx_env *env);
|
||||
|
||||
@ -344,5 +344,5 @@ extern void uwx_dump_scoreboard(
|
||||
(unsigned int) ((text_base)+(unwind_base)[2])); \
|
||||
}
|
||||
|
||||
#endif /* TRACE_DISABLED */
|
||||
#endif /* !UWX_TRACE_ENABLE */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user