X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=common%2Fkgdb.c;h=862f3684e2afbbda0cde825d8aaaacfe97d8833a;hb=c35d7cf071f171bd6bba69f1563a6ac578a18ea6;hp=b14898be9214929dbe44b3bb7e100e4f98564f34;hpb=7e492d8258182e31c988bbf9917d4a3d41949d56;p=u-boot diff --git a/common/kgdb.c b/common/kgdb.c index b14898be92..862f3684e2 100644 --- a/common/kgdb.c +++ b/common/kgdb.c @@ -92,8 +92,6 @@ #include #include -#if defined(CONFIG_CMD_KGDB) - #undef KGDB_DEBUG /* @@ -574,8 +572,8 @@ do_kgdb(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]) } U_BOOT_CMD( - kgdb, CFG_MAXARGS, 1, do_kgdb, - "kgdb - enter gdb remote debug mode\n", + kgdb, CONFIG_SYS_MAXARGS, 1, do_kgdb, + "enter gdb remote debug mode", "[arg0 arg1 .. argN]\n" " - executes a breakpoint so that kgdb mode is\n" " entered via the exception handler. To return\n" @@ -587,8 +585,3 @@ U_BOOT_CMD( " program if it is executed (see the \"hello_world\"\n" " example program in the U-Boot examples directory)." ); -#else - -int kgdb_not_configured = 1; - -#endif