From 9c2b0736a031b436515cdb0a81460470b9dc73da Mon Sep 17 00:00:00 2001 From: Srikanth Thokala Date: Fri, 27 Jun 2014 19:07:08 +0530 Subject: [PATCH] bsp: Remove '#undef DEBUG' in xdebug.h This patch removes this line and doing so it allows to output the xdbg_printf() debug logs when -DDEBUG flag is enabled for BSP. Signed-off-by: Srikanth Thokala Acked-by: Anirudha Sarangi --- lib/bsp/standalone/src/changelog.txt | 2 ++ lib/bsp/standalone/src/common/xdebug.h | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/bsp/standalone/src/changelog.txt b/lib/bsp/standalone/src/changelog.txt index adbe12c3..c266237f 100755 --- a/lib/bsp/standalone/src/changelog.txt +++ b/lib/bsp/standalone/src/changelog.txt @@ -171,6 +171,8 @@ * 4.1 asa 05/09/14 Fix for CR#798230. Made changes in cortexa9/xil_cache.c and * common/xil_testcache.c * Fix for CR#764881. + * 4.1 srt 06/27/14 Remove '#undef DEBUG' from src/common/xdebug.h, which allows to + * output the DEBUG logs when -DDEBUG flag is enabled in BSP. * 4.2 pkp 06/27/14 Added support for IAR compiler in src/cortexa9/iccarm. * Also added explanatory notes in cortexa9/xil_cache.c for CR#785243. *****************************************************************************************/ diff --git a/lib/bsp/standalone/src/common/xdebug.h b/lib/bsp/standalone/src/common/xdebug.h index 8ab5e212..899173cf 100755 --- a/lib/bsp/standalone/src/common/xdebug.h +++ b/lib/bsp/standalone/src/common/xdebug.h @@ -1,8 +1,6 @@ #ifndef XDEBUG #define XDEBUG -#undef DEBUG - #if defined(DEBUG) && !defined(NDEBUG) #ifndef XDEBUG_WARNING