[U-Boot-Users] GDB support for ARM

Hello,
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?
Thanks in advance and sorry if this is a FAQ.
Regards
Dirk

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
participants (2)
-
Dirk Behme
-
Robert Schwebel