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

Sun Apr 17 08:06:00 GMT 2011

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

Thanks very much

Best Regards.

More information about the Gdb mailing list