This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]