<div dir="ltr">Hi all,<div><br></div><div>settings set target.error-path stderr.txt automatically resolves stderr.txt to the local file system.<br></div><div><br></div><div><div>(lldb) settings set target.error-path stderr.txt</div><div>(lldb) settings show target.error-path</div><div>target.error-path (file) = "/usr/local/google/home/vharron/ll/tot/lldb/test/stderr.txt"</div></div><div><br></div><div>This doesn't make any sense for remote targets</div><div><br></div><div><div>(lldb) platform select remote-linux</div><div>(lldb) platform connect connect://<a href="http://192.168.100.132:5432" target="_blank">192.168.100.132:5432</a><br></div><div>(lldb) platform settings --working-dir /tmp<br></div><div>(lldb) settings set target.error-path stderr.txt<br></div><div>(lldb) settings show target.error-path</div><div>target.error-path (file) = "/usr/local/google/home/vharron/ll/tot/lldb/test/stderr.txt"</div></div><div><br></div><div>I propose that we don't resolve target.error-path or target.output-path but leave it as-is and let the platform interpret it. This probably means the file will be created relative to the working directory of the remote process.</div><div><br></div><div>When you call "settings show target.error-path" it will just return the original error string passed to "settings set target.error-path" (e.g. I'll change it from OptionValueFileSpec to OptionValueString.)</div><div><br></div><div>Thoughts?</div><div><br></div><div><div>Vince</div><div><br></div><div><div dir="ltr"><table cellspacing="0" cellpadding="0" style="font-family:'Times New Roman'"><tbody><tr style="color:rgb(85,85,85);font-family:sans-serif;font-size:small"><td nowrap style="border-top-style:solid;border-top-color:rgb(213,15,37);border-top-width:2px">Vince Harron |</td><td nowrap style="border-top-style:solid;border-top-color:rgb(51,105,232);border-top-width:2px"> Technical Lead Manager |</td><td nowrap style="border-top-style:solid;border-top-color:rgb(0,153,57);border-top-width:2px"> <a href="mailto:vharron@google.com" target="_blank">vharron@google.com</a> |</td><td nowrap style="border-top-style:solid;border-top-color:rgb(238,178,17);border-top-width:2px"> <a href="tel:858-442-0868" value="+18584420868" target="_blank">858-442-0868</a></td></tr></tbody></table><br></div></div>
</div></div>