USB in GDB/Insight

Andrew Cagney ac131313@redhat.com
Sun Jun 15 02:32:00 GMT 2003


> Hi all,
> 
> What is involved in adding a new target to gdb? Also is there any documentation
> re this subject?
> 
> At present gdb's RSP supports only Serial and Ethernet communication, and I
> am thinking of implementing USB support ( for a PC anyway ).

It depends on how the USB's device driver represents the device to the 
userland.  If, for instance, it appears to be a serial device then GDB 
can talk to it already.  If not, things get interesting.

You may want to look at the ser* code and implement a serial like usb 
driver.

Andrew




More information about the Gdb mailing list