summaryrefslogtreecommitdiff
path: root/tracers.inc
diff options
context:
space:
mode:
authorhpa <hpa>2002-04-26 05:56:24 +0000
committerhpa <hpa>2002-04-26 05:56:24 +0000
commitf1601649adfdf27d184ee2de7503bf5f3ab26ea5 (patch)
tree163f479cdfe29619d14f190919609c0fbd9e729f /tracers.inc
parentf20a11ca60c46dc03e23284015220363e3221e73 (diff)
downloadsyslinux-f1601649adfdf27d184ee2de7503bf5f3ab26ea5.tar.gz
Move some of the common header crap into header files.
Diffstat (limited to 'tracers.inc')
-rw-r--r--tracers.inc41
1 files changed, 41 insertions, 0 deletions
diff --git a/tracers.inc b/tracers.inc
new file mode 100644
index 00000000..e0dbe86a
--- /dev/null
+++ b/tracers.inc
@@ -0,0 +1,41 @@
+;; $Id$
+;; -----------------------------------------------------------------------
+;;
+;; Copyright 1994-2002 H. Peter Anvin - All Rights Reserved
+;;
+;; This program is free software; you can redistribute it and/or modify
+;; it under the terms of the GNU General Public License as published by
+;; the Free Software Foundation, Inc., 53 Temple Place Ste 330,
+;; Bostom MA 02111-1307, USA; either version 2 of the License, or
+;; (at your option) any later version; incorporated herein by reference.
+;;
+;; -----------------------------------------------------------------------
+
+;;
+;; tracers.inc
+;;
+;; Debugging tracers
+;;
+
+%ifndef _TRACERS_INC
+%define _TRACERS_INC
+
+; Note: The Makefile builds one version with DEBUG_MESSAGES automatically.
+; %define DEBUG_TRACERS ; Uncomment to get debugging tracers
+; %define DEBUG_MESSAGES ; Uncomment to get debugging messages
+
+%ifdef DEBUG_TRACERS
+
+%macro TRACER 1
+ call debug_tracer
+ db %1
+%endmacro
+
+%else ; DEBUG_TRACERS
+
+%macro TRACER 1
+%endmacro
+
+%endif ; DEBUG_TRACERS
+
+%endif ; _TRACERS_INC