X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=common%2Fkgdb.c;h=06adb3ea5142542eca0dd52051cd66cd618c6406;hb=82f4c6ac84b3fe81359f863a476196def9fb35ab;hp=b563094d545e9efb77cf67c850395d38157134d1;hpb=4a9cbbe832e1c377d04cfb53e9679844595bc3cf;p=u-boot diff --git a/common/kgdb.c b/common/kgdb.c index b563094d54..06adb3ea51 100644 --- a/common/kgdb.c +++ b/common/kgdb.c @@ -573,6 +573,20 @@ do_kgdb(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]) return 0; } +U_BOOT_CMD( + 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;