* Code cleanup:
- remove trailing white space, trailing empty lines, C++ comments, etc.
- split cmd_boot.c (separate cmd_bdinfo.c and cmd_load.c)
* Patches by Kenneth Johansson, 25 Jun 2003:
- major rework of command structure
(work done mostly by Michal Cendrowski and Joakim Kristiansen)
diff --git a/common/kgdb.c b/common/kgdb.c
index b563094..73fd9a8 100644
--- a/common/kgdb.c
+++ b/common/kgdb.c
@@ -573,6 +573,20 @@
return 0;
}
+cmd_tbl_t U_BOOT_CMD(KGDB) = MK_CMD_ENTRY(
+ "kgdb", CFG_MAXARGS, 1, do_kgdb,
+ "kgdb - enter gdb remote debug mode\n",
+ "[arg0 arg1 .. argN]\n"
+ " - executes a breakpoint so that kgdb mode is\n"
+ " entered via the exception handler. To return\n"
+ " to the monitor, the remote gdb debugger must\n"
+ " execute a \"continue\" or \"quit\" command.\n"
+ "\n"
+ " if a program is loaded by the remote gdb, any args\n"
+ " passed to the kgdb command are given to the loaded\n"
+ " program if it is executed (see the \"hello_world\"\n"
+ " example program in the U-Boot examples directory)."
+);
#else
int kgdb_not_configured = 1;