<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">I’m running on OS X, but I’m confused, I can give it a script right?  So in this case if I do:<div><br></div><div>lldb <scriptname> it should load LLDB without a target but by adding any environment or other scripting variables right?  So I know I can use an .lldbinit such as: </div><div><br></div><div><div style="margin: 0px; font-family: 'Andale Mono'; color: rgb(41, 249, 20); background-color: rgb(0, 0, 0);"># So that ~/binutils.py takes precedence.</div><div style="margin: 0px; font-family: 'Andale Mono'; color: rgb(41, 249, 20); background-color: rgb(0, 0, 0);">script sys.path[:0] = [os.path.expanduser('~')]</div><div style="margin: 0px; font-family: 'Andale Mono'; color: rgb(41, 249, 20); background-color: rgb(0, 0, 0);">script import binutils</div><div style="margin: 0px; font-family: 'Andale Mono'; color: rgb(41, 249, 20); background-color: rgb(0, 0, 0);">command script add -f binutils.itob itob</div><div style="margin: 0px; font-family: 'Andale Mono'; color: rgb(41, 249, 20); background-color: rgb(0, 0, 0);">command script add -f binutils.utob utob</div></div><div style="margin: 0px; font-family: 'Andale Mono'; color: rgb(41, 249, 20); background-color: rgb(0, 0, 0);"><br></div><div><div><div><br></div><div>But I thought I could feed LLDB a script as the arg as well, no??</div><div><br></div><div>- Jared</div><div><br></div><div><br></div><div><br></div><div>On Aug 18, 2014, at 3:54 PM, Todd Fiala <<a href="mailto:tfiala@google.com">tfiala@google.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr">What kind of OS are you running on?  On several of our platforms, if you specify a directory rather than an exe (and it doesn't happen to be a MacOSX .app or some kind of special bundle), it will give you that message.</div>
<div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Aug 18, 2014 at 12:51 PM, Jared Carlson <span dir="ltr"><<a href="mailto:jared.carlson23@gmail.com" target="_blank">jared.carlson23@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Afternoon,<br>
<br>
When I try to set up lldb to run via a script, I get an error: “doesn’t contain any ‘host’ platform architectures: x86_64, i386”<br>
<br>
I’m wondering what this means and where I can find more information about it?  Thanks!<br>
<span class="HOEnZb"><font color="#888888"><br>
- Jared<br>
<br>
</font></span><br>_______________________________________________<br>
lldb-dev mailing list<br>
<a href="mailto:lldb-dev@cs.uiuc.edu">lldb-dev@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr"><table cellspacing="0" cellpadding="0" style="color:rgb(136,136,136);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">Todd Fiala |</td><td nowrap="" style="border-top-style:solid;border-top-color:rgb(51,105,232);border-top-width:2px"> Software Engineer |</td>
<td nowrap="" style="border-top-style:solid;border-top-color:rgb(0,153,57);border-top-width:2px"> <a href="mailto:tfiala@google.com" style="color:rgb(17,85,204)" target="_blank"><span style="background-color:rgb(255,255,204);color:rgb(34,34,34);background-repeat:initial initial">tfiala@google.com</span></a> |</td>
<td nowrap="" style="border-top-style:solid;border-top-color:rgb(238,178,17);border-top-width:2px"><font color="#1155cc"> <a>650-943-3180</a></font></td></tr></tbody></table><br></div>
</div>
</blockquote></div><br></div></body></html>