This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: gdb over smbus
On Fri, Jul 06, 2007 at 04:21:46PM +0800, Rick.Lee wrote:
> hi,all,
> I have a soc with smbus interface, through this smbus interface,
> all kinds of resources on chip can be accessed, such as sram,
> registers, to set/enable/disable breakpoint, restart soc.
> I want to know if it's possible to port GDB on this soc to supoort
> souce code level debug?
> BTW, gcc compiler has been ported to support this kind of soc.
> I know little about gdb porting, any information are appreciated!
Probably. You should write a convertor between your SMBus debug
interface and the GDB remote protocol, and then connect GDB to it over
TCP.
--
Daniel Jacobowitz
CodeSourcery