I resubmitted this in r223695.  My original patch was actually ok, the issue happened when I removed the code for setting the Architecture in the ProcessLaunchInfo, I inadvertently removed the code that added -c to the command line of /bin/sh.  Since toward the end of the thread we determined that setting the architecture was actually ok (since it's checked inside of a will_debug block, I added this code back in.<div><br></div><div>I built and ran on both Linux and Mac, and did not see any failures.  On the off chance it does fail again though, let me know.<br><br><div class="gmail_quote">On Fri Dec 05 2014 at 5:43:03 PM Jim Ingham <<a href="mailto:jingham@apple.com">jingham@apple.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I did it (r223568.)<br>
<br>
Jim<br>
<br>
REPOSITORY<br>
  rL LLVM<br>
<br>
<a href="http://reviews.llvm.org/D6553" target="_blank">http://reviews.llvm.org/D6553</a><br>
<br>
<br>
<br>
______________________________<u></u>_________________<br>
lldb-commits mailing list<br>
<a href="mailto:lldb-commits@cs.uiuc.edu" target="_blank">lldb-commits@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/lldb-commits" target="_blank">http://lists.cs.uiuc.edu/<u></u>mailman/listinfo/lldb-commits</a><br>
</blockquote></div></div>