[U-Boot-Users] GDB support for ARM

Robert Schwebel robert at schwebel.de
Tue Jun 1 11:35:01 CEST 2004


On Tue, Jun 01, 2004 at 09:23:04AM +0200, Dirk Behme wrote:
> using U-Boot at an ARM9 board, at the moment I download a image by tftp 
> into board's SDRAM and then start the image by 'g 0x1000000' (0x10000000 
> is the SDRAM base address).
> 
> Now, I wonder if it is possible to start the image under control of gdb. 
>  As I understand it, there can run a small 'gdb-stub' on the target 
> which talks by serial line or by ethernet with the gdb on the 
> development host.
> 
> In common/kgdb.c there seems to be something like this small 'gdb-stub'? 
> Does it work for ARM? How can it be used?

The code you are quoting suggests that it is for ppc. I personally would
not wast the time to try to make the serial kgdb stuff working - the
BDI2000 works fine with ARM9 cpus and you can use gdb with it as well. 

Robert
-- 
 Dipl.-Ing. Robert Schwebel | http://www.pengutronix.de
 Pengutronix - Linux Solutions for Science and Industry
   Handelsregister:  Amtsgericht Hildesheim, HRA 2686
     Hornemannstraße 12,  31137 Hildesheim, Germany
    Phone: +49-5121-28619-0 |  Fax: +49-5121-28619-4




More information about the U-Boot mailing list