Hi all,

I'm trying to get the test suite running against a Linux x86_64->Linux
x86_64 remote target.  I'm getting a failure when process launch is called
with stdout redirected to a file.

The host is sending QSetSTDOUT to the remote host with a path that is only
valid on the host.

For stdout/stderr there are a couple of ways to approach this problem.

1) Let the inferior write to a temporary file on the remote host and then
retrieve after the process exits?  I don't like this because I think it's
really useful to see the debug output from the file during debugging.

2) Hand the inferior a pipe for each redirected stdout/stderr, transfer the
bytes written to the host and then write them on the host to the specified
file.  What messages do I use for this?  It should be independent of $O.  I
don't want to use the $F messages because they're slightly different (and a
lot of work).

3) ???

For stdin, I think I will just copy to file over to the target and open it
on the inferior.

Thoughts?

Vince






-- 

Vince Harron | Technical Lead Manager | vhar...@google.com | 858-442-0868
_______________________________________________
lldb-dev mailing list
lldb-dev@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev

Reply via email to