]> git.ipfire.org Git - people/ms/u-boot.git/commitdiff
Convert CONFIG_CMD_KGDB to Kconfig
authorSimon Glass <sjg@chromium.org>
Wed, 17 May 2017 09:25:40 +0000 (03:25 -0600)
committerTom Rini <trini@konsulko.com>
Mon, 22 May 2017 16:45:32 +0000 (12:45 -0400)
This converts the following to Kconfig:
   CONFIG_CMD_KGDB

Signed-off-by: Simon Glass <sjg@chromium.org>
README
cmd/Kconfig
include/config_cmd_all.h
scripts/config_whitelist.txt

diff --git a/README b/README
index 5d5600941415e6485ee1aef3225234d43d0e4fce..98a51dcb809580e4fb8120e73d910d73112e6d73 100644 (file)
--- a/README
+++ b/README
@@ -853,7 +853,6 @@ The following options need to be configured:
                CONFIG_CMD_IMPORTENV    * import an environment
                CONFIG_CMD_INI          * import data from an ini file into the env
                CONFIG_CMD_ITEST          Integer/string test of 2 values
-               CONFIG_CMD_KGDB         * kgdb
                CONFIG_CMD_LDRINFO      * ldrinfo (display Blackfin loader)
                CONFIG_CMD_LINK_LOCAL   * link-local IP address auto-configuration
                                          (169.254.*.*)
index 1dc8ba2d920eb3f558660362de372fa325cf5c50..dc81913767cc817b73cb4d55bd71a8817461fc2d 100644 (file)
@@ -1200,6 +1200,15 @@ config CMD_IRQ
 
             interrupts - enable or disable interrupts
             irqinfo - print device-specific interrupt information
+
+config CMD_KGDB
+       bool "kgdb - Allow debugging of U-Boot with gdb"
+       help
+         This enables a 'kgdb' command which allows gdb to connect to U-Boot
+         over a serial link for debugging purposes. This allows
+         single-stepping, inspecting variables, etc. This is supported only
+         on PowerPC at present.
+
 endmenu
 
 config CMD_UBI
index df21c1a483159879e52d7ff43477c1908a7d141a..b1f41abf4f2157456deee30b1876c5914ad5abc6 100644 (file)
@@ -13,7 +13,6 @@
  * Alphabetical list of all possible commands.
  */
 
-#define CONFIG_CMD_KGDB                /* kgdb                         */
 #define CONFIG_CMD_MFSL                /* FSL support for Microblaze   */
 #define CONFIG_CMD_MTDPARTS    /* mtd parts support            */
 #define CONFIG_CMD_NAND                /* NAND support                 */
index 32925ca039265716ad5dde67ac4df52ec053a644..1d789ed3c1897710c30a186b33304dff03284786 100644 (file)
@@ -383,7 +383,6 @@ CONFIG_CM922T_XA10
 CONFIG_CMDLINE_EDITING
 CONFIG_CMDLINE_PS_SUPPORT
 CONFIG_CMDLINE_TAG
-CONFIG_CMD_KGDB
 CONFIG_CMD_LOADY
 CONFIG_CMD_LZMADEC
 CONFIG_CMD_MAX6957