Gdb Over Serial

James Yates j.yates at quartzuk.com
Tue Nov 11 09:50:53 UTC 2003


Has Anyone run rtems with GDB over a serial connection.
I am currently porting RTEMS to a new SH2 platform and at the moment do not have networking running.
I have my own bootloader which runs from on-chip rom, provided that the checksum matches, it then copies the contents of an external flash chip to ram, modifies the VBR and jumps to the address contained in the first location of the vector table. This bootloader also has a mode where it runs a gdb_stub allowing software to be downloaded directly to ram via gdb and run from there.

  I remember that when I first set up the gdb_stub, any application that ran from ram via the debugger would have to copy some of the vector table entries from rom into ram, basically so that the stub vectors weren't replaced. Will I have to do a similar thing here? Is there anything special about the vector table or can I copy the vector table entries as is?

I am close to getting rtems fully working on this platform and will then be able to contribute back an SH2 7145 cpu port back into the tree.

	Many Thanks in advance.

		James Yates



More information about the users mailing list