summaryrefslogtreecommitdiff
path: root/nuttx/arch/sh/src/sh1/sh1_dumpstate.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/arch/sh/src/sh1/sh1_dumpstate.c')
-rw-r--r--nuttx/arch/sh/src/sh1/sh1_dumpstate.c18
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
****************************************************************************/