public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* clone process output
@ 2012-12-03 12:11 shawn wilson
  0 siblings, 0 replies; only message in thread
From: shawn wilson @ 2012-12-03 12:11 UTC (permalink / raw)
  To: gdb

i'm trying to copy output of an already running process. i can
redirect it with a p close(1); p create( ... ); but even if i omit
close, it seems the output is redirected (instead of copied) anyway.
i'm guessing this is because there is only one stdout. so, can i proxy
the output somehow. i'm trying to do this at a sub-tty level so that
if i do: ssh host command (ie, no tty) i can still log the output.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-12-03 12:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-12-03 12:11 clone process output shawn wilson

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