From: "Amker.Cheng" <amker.cheng@gmail.com>
To: gdb@sourceware.org
Subject: how to redirect output of sub program in target extended-remote
Date: Sun, 17 Apr 2011 08:06:00 -0000 [thread overview]
Message-ID: <BANLkTinhSQsNYgOPtpjo1sZ=XEPPZ=V9EQ@mail.gmail.com> (raw)
Hi,
I'm debugging through a remote stub like:
> target extended-remote | stub_program
everything goes ok, but the only problem is that the outputs of
stub_program go into the same terminal of gdb.
Is there any method to redirect the output of stub_program in this case?
BTW, I could not execute stub_program in another console due to the
stub_program itself, so it has to be issued in gdb command line
interface.
Thanks very much
--
Best Regards.
next reply other threads:[~2011-04-17 8:06 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-17 8:06 Amker.Cheng [this message]
2011-04-17 13:35 ` Jan Kratochvil
2011-04-17 14:09 ` Amker.Cheng
2011-04-17 15:39 ` Jan Kratochvil
2011-04-18 10:21 ` Amker.Cheng
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='BANLkTinhSQsNYgOPtpjo1sZ=XEPPZ=V9EQ@mail.gmail.com' \
--to=amker.cheng@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