public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* USB in GDB/Insight
@ 2003-06-11 12:34 David Mc Kenna
  2003-06-15  2:32 ` Andrew Cagney
  0 siblings, 1 reply; 2+ messages in thread
From: David Mc Kenna @ 2003-06-11 12:34 UTC (permalink / raw)
  To: gdb, insight

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 ).

Thanks,
Dave


--
http://www.iol.ie

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: USB in GDB/Insight
  2003-06-11 12:34 USB in GDB/Insight David Mc Kenna
@ 2003-06-15  2:32 ` Andrew Cagney
  0 siblings, 0 replies; 2+ messages in thread
From: Andrew Cagney @ 2003-06-15  2:32 UTC (permalink / raw)
  To: mckennad; +Cc: gdb, insight

> 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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-06-15  2:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-06-11 12:34 USB in GDB/Insight David Mc Kenna
2003-06-15  2:32 ` Andrew Cagney

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).