This is the mail archive of the insight@sources.redhat.com mailing list for the Insight project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: USB support for GDB


Sachin Bharadwaj <sachin@multitech.co.in> writes:
> How do I start modifying Insight/GDB for communicating through USB. I
> have a sample Linux USB driver, with which I want to interface the
> Insight/GDB 5.1.

I don't know anything about talking to USB devices, but I would guess
that you would need to create a new serial_ops structure (see
serial.h) pointing to functions that do the right thing, and call
serial_add_interface to register it.

Then you'll need to add a case to serial_open in serial.c to parse the
argument to 'target remote'.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]