[FREELDR] FreeLdr debug.h does not care about NDEBUG. (#201)

- Remove all "#define NDEBUG".
This commit is contained in:
Serge Gautherie 2018-01-27 00:34:21 +01:00 committed by Ged Murphy
parent a30d12dde7
commit 50afbd48d4
23 changed files with 3 additions and 23 deletions

View file

@ -9,7 +9,7 @@
/* INCLUDES *******************************************************************/ /* INCLUDES *******************************************************************/
#include <freeldr.h> #include <freeldr.h>
#define NDEBUG
#include <debug.h> #include <debug.h>
/* GLOBALS ********************************************************************/ /* GLOBALS ********************************************************************/

View file

@ -9,7 +9,7 @@
/* INCLUDES ******************************************************************/ /* INCLUDES ******************************************************************/
#include <ntoskrnl.h> #include <ntoskrnl.h>
#define NDEBUG
#include <debug.h> #include <debug.h>
/* FUNCTIONS *****************************************************************/ /* FUNCTIONS *****************************************************************/

View file

@ -21,7 +21,6 @@
#include <freeldr.h> #include <freeldr.h>
#define NDEBUG
#include <debug.h> #include <debug.h>
DBG_DEFAULT_CHANNEL(HWDETECT); DBG_DEFAULT_CHANNEL(HWDETECT);

View file

@ -20,7 +20,6 @@
#include <freeldr.h> #include <freeldr.h>
#define NDEBUG
#include <debug.h> #include <debug.h>
DBG_DEFAULT_CHANNEL(HWDETECT); DBG_DEFAULT_CHANNEL(HWDETECT);

View file

@ -21,7 +21,6 @@
#include <freeldr.h> #include <freeldr.h>
#define NDEBUG
#include <debug.h> #include <debug.h>
DBG_DEFAULT_CHANNEL(HWDETECT); DBG_DEFAULT_CHANNEL(HWDETECT);

View file

@ -20,7 +20,6 @@
#include <freeldr.h> #include <freeldr.h>
#define NDEBUG
#include <debug.h> #include <debug.h>
DBG_DEFAULT_CHANNEL(HWDETECT); DBG_DEFAULT_CHANNEL(HWDETECT);

View file

@ -1,7 +1,6 @@
#include <freeldr.h> #include <freeldr.h>
#define NDEBUG
#include <debug.h> #include <debug.h>
typedef struct _FRAME typedef struct _FRAME

View file

@ -19,7 +19,6 @@
#include <freeldr.h> #include <freeldr.h>
#define NDEBUG
#include <debug.h> #include <debug.h>
DBG_DEFAULT_CHANNEL(HWDETECT); DBG_DEFAULT_CHANNEL(HWDETECT);

View file

@ -19,7 +19,6 @@
#include <freeldr.h> #include <freeldr.h>
#include <cportlib/cportlib.h> #include <cportlib/cportlib.h>
#define NDEBUG
#include <debug.h> #include <debug.h>
DBG_DEFAULT_CHANNEL(HWDETECT); DBG_DEFAULT_CHANNEL(HWDETECT);

View file

@ -18,7 +18,6 @@
#include <freeldr.h> #include <freeldr.h>
#define NDEBUG
#include <debug.h> #include <debug.h>
DBG_DEFAULT_CHANNEL(HWDETECT); DBG_DEFAULT_CHANNEL(HWDETECT);

View file

@ -21,7 +21,6 @@
#include <freeldr.h> #include <freeldr.h>
#define NDEBUG
#include <debug.h> #include <debug.h>
DBG_DEFAULT_CHANNEL(DISK); DBG_DEFAULT_CHANNEL(DISK);

View file

@ -25,7 +25,6 @@
#include <freeldr.h> #include <freeldr.h>
#include <arch/pc/x86common.h> #include <arch/pc/x86common.h>
#define NDEBUG
#include <debug.h> #include <debug.h>
DBG_DEFAULT_CHANNEL(MEMORY); DBG_DEFAULT_CHANNEL(MEMORY);

View file

@ -19,7 +19,6 @@
#include <freeldr.h> #include <freeldr.h>
#include <suppress.h> #include <suppress.h>
#define NDEBUG
#include <debug.h> #include <debug.h>
#define VIDEOPORT_PALETTE_READ 0x03C7 #define VIDEOPORT_PALETTE_READ 0x03C7

View file

@ -23,7 +23,6 @@
#include <freeldr.h> #include <freeldr.h>
#define NDEBUG
#include <debug.h> #include <debug.h>
DBG_DEFAULT_CHANNEL(DISK); DBG_DEFAULT_CHANNEL(DISK);

View file

@ -20,7 +20,6 @@
#define _NTSYSTEM_ #define _NTSYSTEM_
#include <freeldr.h> #include <freeldr.h>
#define NDEBUG
#include <debug.h> #include <debug.h>
#define DbgPrint printf #define DbgPrint printf

View file

@ -25,7 +25,6 @@
#include "ppcmmu/mmu.h" #include "ppcmmu/mmu.h"
#include "compat.h" #include "compat.h"
#define NDEBUG
#include <debug.h> #include <debug.h>
/* We'll check this to see if we're in OFW land */ /* We'll check this to see if we're in OFW land */

View file

@ -20,7 +20,6 @@
#ifndef _M_ARM #ifndef _M_ARM
#include <freeldr.h> #include <freeldr.h>
#define NDEBUG
#include <debug.h> #include <debug.h>
DBG_DEFAULT_CHANNEL(DISK); DBG_DEFAULT_CHANNEL(DISK);

View file

@ -25,7 +25,6 @@
#ifndef _M_ARM #ifndef _M_ARM
#include <freeldr.h> #include <freeldr.h>
#define NDEBUG
#include <debug.h> #include <debug.h>
DBG_DEFAULT_CHANNEL(DISK); DBG_DEFAULT_CHANNEL(DISK);

View file

@ -10,7 +10,7 @@
/* INCLUDES *******************************************************************/ /* INCLUDES *******************************************************************/
#include <freeldr.h> #include <freeldr.h>
#define NDEBUG
#include <debug.h> #include <debug.h>
/* GLOBALS ********************************************************************/ /* GLOBALS ********************************************************************/

View file

@ -48,7 +48,6 @@
#undef ScsiPortReadRegisterUlong #undef ScsiPortReadRegisterUlong
#undef ScsiPortReadRegisterUshort #undef ScsiPortReadRegisterUshort
#define NDEBUG
#include <debug.h> #include <debug.h>
#define SCSI_PORT_NEXT_REQUEST_READY 0x0008 #define SCSI_PORT_NEXT_REQUEST_READY 0x0008

View file

@ -20,7 +20,6 @@
#include <freeldr.h> #include <freeldr.h>
#define NDEBUG
#include <debug.h> #include <debug.h>
DBG_DEFAULT_CHANNEL(FILESYSTEM); DBG_DEFAULT_CHANNEL(FILESYSTEM);

View file

@ -22,7 +22,6 @@
#include <freeldr.h> #include <freeldr.h>
#define NDEBUG
#include <debug.h> #include <debug.h>
DBG_DEFAULT_CHANNEL(FILESYSTEM); DBG_DEFAULT_CHANNEL(FILESYSTEM);

View file

@ -19,7 +19,6 @@
#include <freeldr.h> #include <freeldr.h>
#define NDEBUG
#include <debug.h> #include <debug.h>
#define TAG_PXE_FILE 'FexP' #define TAG_PXE_FILE 'FexP'