This is the mail archive of the sid@sources.redhat.com mailing list for the SID 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: (gdb) target remote |foo-elf-sid --stdio


>>>>> "Andrew" == Andrew Cagney <ac131313@cygnus.com> writes:

  Andrew> GDB's remote command supports a pipe mode (it's supported it for some 
  Andrew> years now).  It lets GDB communicate with a sub-process using the remote 
  Andrew> protocol via that processes stdin/stdout.  The command syntax is:

  Andrew> 	(gdb) target remote |command to run with arguments

  Andrew> Can SID be modified to support this mode? It is easier to script then 
  Andrew> the current: start sid; start gdb; connect.

Yes.  In fact, I believe it was done once as a proof of concept.
Naturally, the standard input/output from a process emulation
component would need to be diverted to a Tk terminal window or some
other location so that it doesn't get interleaved with GDB protocol
chatter.

  Andrew> (PS: As always, there could be teething problems in GDB)

Agreed.

Ben


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