how to redirect output of sub program in target extended-remote

Amker.Cheng amker.cheng@gmail.com
Sun Apr 17 08:06:00 GMT 2011


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.



More information about the Gdb mailing list