]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Rename DISABLE_TRACE to UWX_TRACE_ENABLE and change the conditional
authormarcel <marcel@FreeBSD.org>
Fri, 11 Jul 2003 01:03:55 +0000 (01:03 +0000)
committermarcel <marcel@FreeBSD.org>
Fri, 11 Jul 2003 01:03:55 +0000 (01:03 +0000)
commit3b3c37c7db7e37f6e95a35539a96dc6b2d5edd8f
tree40d905e598ca4a847254b273186a0db367822859
parent1edc7465a0eedb6ceb50376d0ef2bcd13a40e03d
Rename DISABLE_TRACE to UWX_TRACE_ENABLE and change the conditional
compilation accordingly. The net effect is that tracing is not by
default present and that it can easily be compiled-in.

The tracer uses getenv() and printf(), which cannot be used in all
cases (ie from the debugger) and with this change we improved the
applicability of the unwinder.

This change is made on the vendor branch and given back to the
vendor for possible inclusion in future versions.
sys/contrib/ia64/libuwx/src/Makefile
sys/contrib/ia64/libuwx/src/uwx_trace.c
sys/contrib/ia64/libuwx/src/uwx_trace.h