From 0689815716ca7dbc1955b48390f502556ebb181a Mon Sep 17 00:00:00 2001 From: oharboe Date: Sat, 11 Oct 2008 06:13:21 +0000 Subject: Duane Ellis: addresses protocol problems with GDB. https://lists.berlios.de/pipermail/openocd-development/2008-October/003326.html git-svn-id: svn://svn.berlios.de/openocd/trunk@1039 b42882b7-edfa-0310-969c-e2dbd0fdcd60 --- src/helper/log.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/helper/log.h') diff --git a/src/helper/log.h b/src/helper/log.h index 93318f94..aeb47dbb 100644 --- a/src/helper/log.h +++ b/src/helper/log.h @@ -88,6 +88,7 @@ extern int debug_level; /* Avoid fn call and building parameter list if we're not outputting the information. * Matters on feeble CPUs for DEBUG/INFO statements that are involved frequently */ +#define LOG_LEVEL_IS( FOO ) ((debug_level) >= (FOO)) #define LOG_DEBUG(expr ...) \ ((debug_level >= LOG_LVL_DEBUG) ? log_printf_lf (LOG_LVL_DEBUG, __FILE__, __LINE__, __FUNCTION__, expr) , 0 : 0) -- cgit v1.2.3