aboutsummaryrefslogtreecommitdiff
path: root/common/kgdb.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/kgdb.c')
-rw-r--r--common/kgdb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/kgdb.c b/common/kgdb.c
index 6de6ec99a..7a3e6d6ed 100644
--- a/common/kgdb.c
+++ b/common/kgdb.c
@@ -92,7 +92,7 @@
#include <kgdb.h>
#include <command.h>
-#if (CONFIG_COMMANDS & CFG_CMD_KGDB)
+#if (CONFIG_COMMANDS & CFG_CMD_KGDB) || defined(CONFIG_CMD_KGDB)
#undef KGDB_DEBUG