how to redirect output of sub program in target extended-remote
Jan Kratochvil
jan.kratochvil@redhat.com
Sun Apr 17 13:35:00 GMT 2011
On Sun, 17 Apr 2011 10:06:38 +0200, Amker.Cheng wrote:
> > 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?
(gdb) target extended-remote | stub_program 2>/tmp/file
Or I do not understand the question.
Regards,
Jan
More information about the Gdb
mailing list