Annotation of /tags/mkinitrd-6_4_0/isolinux/tracers.inc
Parent Directory
|
Revision Log
Revision 1313 -
(hide annotations)
(download)
Fri May 27 18:20:23 2011 UTC (13 years, 4 months ago) by niro
File size: 1043 byte(s)
Fri May 27 18:20:23 2011 UTC (13 years, 4 months ago) by niro
File size: 1043 byte(s)
tagged 'mkinitrd-6_4_0'
1 | niro | 532 | ;; ----------------------------------------------------------------------- |
2 | ;; | ||
3 | niro | 1133 | ;; Copyright 1994-2008 H. Peter Anvin - All Rights Reserved |
4 | ;; | ||
5 | niro | 532 | ;; 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. | ||
10 | ;; | ||
11 | ;; ----------------------------------------------------------------------- | ||
12 | |||
13 | ;; | ||
14 | ;; tracers.inc | ||
15 | niro | 1133 | ;; |
16 | niro | 532 | ;; Debugging tracers |
17 | ;; | ||
18 | |||
19 | %ifndef _TRACERS_INC | ||
20 | %define _TRACERS_INC | ||
21 | |||
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 | ||
25 | |||
26 | %ifdef DEBUG_TRACERS | ||
27 | |||
28 | %macro TRACER 1 | ||
29 | call debug_tracer | ||
30 | db %1 | ||
31 | %endmacro | ||
32 | |||
33 | %else ; DEBUG_TRACERS | ||
34 | |||
35 | %macro TRACER 1 | ||
36 | %endmacro | ||
37 | |||
38 | %endif ; DEBUG_TRACERS | ||
39 | |||
40 | %endif ; _TRACERS_INC |