From mboxrd@z Thu Jan 1 00:00:00 1970 From: Robert Schwebel Date: Tue, 1 Jun 2004 11:35:01 +0200 Subject: [U-Boot-Users] GDB support for ARM In-Reply-To: <40BC2ED8.50306@de.bosch.com> References: <40BC2ED8.50306@de.bosch.com> Message-ID: <20040601093500.GL3369@pengutronix.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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