Merge commit 'origin/gpxe-support' into gpxe-added
[syslinux.git] / tracers.inc
bloba51209fae1fe06930b8d566ff8b85925f71aae84
1 ;; -----------------------------------------------------------------------
2 ;;
3 ;;   Copyright 1994-2008 H. Peter Anvin - All Rights Reserved
4 ;;
5 ;;   This program is free software; you can redistribute it and/or modify
6 ;;   it under the terms of the GNU General Public License as published by
7 ;;   the Free Software Foundation, Inc., 53 Temple Place Ste 330,
8 ;;   Boston MA 02111-1307, USA; either version 2 of the License, or
9 ;;   (at your option) any later version; incorporated herein by reference.
11 ;; -----------------------------------------------------------------------
14 ;; tracers.inc
16 ;; Debugging tracers
19 %ifndef _TRACERS_INC
20 %define _TRACERS_INC
22 ; Note: The Makefile builds one version with DEBUG_MESSAGES automatically.
23 ; %define DEBUG_TRACERS 1               ; Uncomment to get debugging tracers
24 ; %define DEBUG_MESSAGES                ; Uncomment to get debugging messages
26 %ifdef DEBUG_TRACERS
28 %macro TRACER   1
29         call debug_tracer
30         db %1
31 %endmacro
33 %else   ; DEBUG_TRACERS
35 %macro  TRACER  1
36 %endmacro
38 %endif  ; DEBUG_TRACERS
40 %endif ; _TRACERS_INC