aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdbstub.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdbstub.h b/gdbstub.h
index 53cf50b..9c7b505 100644
--- a/gdbstub.h
+++ b/gdbstub.h
@@ -24,7 +24,9 @@
#define _GDBSTUB_H_
/* Enable debug statements (printf) */
+#ifndef DEBUG
#define DEBUG 0
+#endif
/* Include platform specific definitions */
#include "gdbstub_sys.h"