public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
From: shawn wilson <ag4ve.us@gmail.com>
To: gdb@sourceware.org
Subject: clone process output
Date: Mon, 03 Dec 2012 12:11:00 -0000	[thread overview]
Message-ID: <CAH_OBifJ0jh5yeo6ZTtVigm0uMmsNiB=DKAj3eTO8gv1mSbmfg@mail.gmail.com> (raw)

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.

                 reply	other threads:[~2012-12-03 12:11 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAH_OBifJ0jh5yeo6ZTtVigm0uMmsNiB=DKAj3eTO8gv1mSbmfg@mail.gmail.com' \
    --to=ag4ve.us@gmail.com \
    --cc=gdb@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).