X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=common%2Fkgdb.c;h=4493a1591986c3380df2c86d40a8996b1688b96a;hb=0d172d2a0f1c0fdf5513bb8e7f0a1930424594c3;hp=d357463695f3c0cc85dd2b88ce2504a7312dd97a;hpb=64f41212d880f3d00c6994d973aadeec5bda1b65;p=oweals%2Fu-boot.git diff --git a/common/kgdb.c b/common/kgdb.c index d357463695..4493a15919 100644 --- a/common/kgdb.c +++ b/common/kgdb.c @@ -88,6 +88,7 @@ ****************************************************************************/ #include +#include #include #include @@ -326,7 +327,7 @@ handle_exception (struct pt_regs *regs) return (0); } - /* probably should check which exception occured as well */ + /* probably should check which exception occurred as well */ if (longjmp_on_fault) { longjmp_on_fault = 0; kgdb_longjmp(error_jmp_buf, KGDBERR_MEMFAULT); @@ -574,7 +575,7 @@ breakpoint(void) } int -do_kgdb(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) +do_kgdb(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[]) { printf("Entering KGDB mode via exception handler...\n\n"); kgdb_breakpoint(argc - 1, argv + 1);