This is the mail archive of the gdb@sourceware.org mailing list for the GDB 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]

clone process output


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.


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