This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
how to redirect output of sub program in target extended-remote
- From: "Amker.Cheng" <amker dot cheng at gmail dot com>
- To: gdb at sourceware dot org
- Date: Sun, 17 Apr 2011 16:06:38 +0800
- Subject: how to redirect output of sub program in target extended-remote
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.