diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-10-08 12:48:47 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-10-08 12:48:47 -0600 |
commit | ce145c005c24d2e785601208dfd2322e47454a5b (patch) | |
tree | 4cfe2e74efa83e9cacbb8a99ea7a48c11beb2a4d /nuttx/arch/sh/src/sh1/sh1_dumpstate.c | |
parent | 26710412ad35431bf2c992c2add76314962f401a (diff) | |
download | nuttx-ce145c005c24d2e785601208dfd2322e47454a5b.tar.gz nuttx-ce145c005c24d2e785601208dfd2322e47454a5b.tar.bz2 nuttx-ce145c005c24d2e785601208dfd2322e47454a5b.zip |
Update everything under nuttx/arch to use the corrected syslog interfaces
Diffstat (limited to 'nuttx/arch/sh/src/sh1/sh1_dumpstate.c')
-rw-r--r-- | nuttx/arch/sh/src/sh1/sh1_dumpstate.c | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/nuttx/arch/sh/src/sh1/sh1_dumpstate.c b/nuttx/arch/sh/src/sh1/sh1_dumpstate.c index 5472261b3..a6e714d8c 100644 --- a/nuttx/arch/sh/src/sh1/sh1_dumpstate.c +++ b/nuttx/arch/sh/src/sh1/sh1_dumpstate.c @@ -39,6 +39,13 @@ #include <nuttx/config.h> +/* Output debug info -- even if debug is not selected. */ + +#undef CONFIG_DEBUG +#undef CONFIG_DEBUG_VERBOSE +#define CONFIG_DEBUG 1 +#define CONFIG_DEBUG_VERBOSE 1 + #include <stdint.h> #include <debug.h> @@ -52,18 +59,9 @@ #ifdef CONFIG_ARCH_STACKDUMP /**************************************************************************** - * Definitions + * Pre-processor Definitions ****************************************************************************/ -/* Output debug info if stack dump is selected -- even if - * debug is not selected. - */ - -#ifdef CONFIG_ARCH_STACKDUMP -# undef lldbg -# define lldbg lowsyslog -#endif - /**************************************************************************** * Private Data ****************************************************************************/ |