syslinux-3.08-2 sources from FC4
[bootcd.git] / syslinux / tracers.inc
1 ;; $Id: tracers.inc,v 1.6 2005/01/12 00:35:13 hpa Exp $
2 ;; -----------------------------------------------------------------------
3 ;;   
4 ;;   Copyright 1994-2002 H. Peter Anvin - All Rights Reserved
5 ;;
6 ;;   This program is free software; you can redistribute it and/or modify
7 ;;   it under the terms of the GNU General Public License as published by
8 ;;   the Free Software Foundation, Inc., 53 Temple Place Ste 330,
9 ;;   Boston MA 02111-1307, USA; either version 2 of the License, or
10 ;;   (at your option) any later version; incorporated herein by reference.
11 ;;
12 ;; -----------------------------------------------------------------------
13
14 ;;
15 ;; tracers.inc
16 ;; 
17 ;; Debugging tracers
18 ;;
19
20 %ifndef _TRACERS_INC
21 %define _TRACERS_INC
22
23 ; Note: The Makefile builds one version with DEBUG_MESSAGES automatically.
24 ; %define DEBUG_TRACERS 1               ; Uncomment to get debugging tracers
25 ; %define DEBUG_MESSAGES                ; Uncomment to get debugging messages
26
27 %ifdef DEBUG_TRACERS
28
29 %macro TRACER   1
30         call debug_tracer
31         db %1
32 %endmacro
33
34 %else   ; DEBUG_TRACERS
35
36 %macro  TRACER  1
37 %endmacro
38
39 %endif  ; DEBUG_TRACERS
40
41 %endif ; _TRACERS_INC