[email protected] wrote:
> This patch add kgdb to ARM920T cpus (full support to s3c2440).
> The patch lets debugging remote ARM targets using the serial
> line and GDB.
> 
> Signed-off-by: Antonio Barbalace <antonio.barbalace at igi.cnr.it>
> 
> diff -r -u u-boot/common/kgdb.c u-boot-UniPd-denx.de/common/kgdb.c
> --- u-boot/common/kgdb.c      2007-11-06 18:07:07.000000000 +0100
> +++ u-boot-UniPd-denx.de/common/kgdb.c        2009-05-05 18:44:25.000000000 
> +0200
> @@ -458,6 +458,7 @@
> 
>                       goto doexit;
> 
> +#ifdef _PPC

CONFIG_PPC -- and explain in a comment why this is powerpc-specific (and 
keep in mind that ARM and PowerPC are not the only possibilities), and 
what happens on other architectures if those commands are used.

> @@ -496,8 +497,13 @@
>                       } else {
>                               kgdb_error(KGDBERR_BADPARAMS);
>                       }
> +
> +             case 'q':
> +                     if (!(strcmp(ptr, "Supported"))) {
> +                             sprintf(remcomOutBuffer, "PacketSize=%d", 
> BUFMAX);
> +                     }
>                       break;

Explain what this change does -- what does it have to do with arm920t?

-Scott
_______________________________________________
U-Boot mailing list
[email protected]
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to