This is the mail archive of the
sid@sources.redhat.com
mailing list for the SID project.
(gdb) target remote |foo-elf-sid --stdio
- From: Andrew Cagney <ac131313 at cygnus dot com>
- To: sid at sources dot redhat dot com
- Date: Thu, 18 Apr 2002 08:30:47 -0400
- Subject: (gdb) target remote |foo-elf-sid --stdio
Hello,
GDB's remote command supports a pipe mode (it's supported it for some
years now). It lets GDB communicate with a sub-process using the remote
protocol via that processes stdin/stdout. The command syntax is:
(gdb) target remote |command to run with arguments
Can SID be modified to support this mode? It is easier to script then
the current: start sid; start gdb; connect.
enjoy,
Andrew
(PS: As always, there could be teething problems in GDB)