* (gdb) target remote |foo-elf-sid --stdio
@ 2002-04-18 5:30 Andrew Cagney
2002-04-18 9:51 ` Ben Elliston
0 siblings, 1 reply; 2+ messages in thread
From: Andrew Cagney @ 2002-04-18 5:30 UTC (permalink / raw)
To: sid
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)
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: (gdb) target remote |foo-elf-sid --stdio
2002-04-18 5:30 (gdb) target remote |foo-elf-sid --stdio Andrew Cagney
@ 2002-04-18 9:51 ` Ben Elliston
0 siblings, 0 replies; 2+ messages in thread
From: Ben Elliston @ 2002-04-18 9:51 UTC (permalink / raw)
To: Andrew Cagney; +Cc: sid
>>>>> "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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-04-18 16:51 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-04-18 5:30 (gdb) target remote |foo-elf-sid --stdio Andrew Cagney
2002-04-18 9:51 ` Ben Elliston
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).