[lldb-dev] host setting?

Jared Carlson jared.carlson23 at gmail.com
Mon Aug 18 12:58:25 PDT 2014


I’m running on OS X, but I’m confused, I can give it a script right?  So in this case if I do:

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: 

# So that ~/binutils.py takes precedence.
script sys.path[:0] = [os.path.expanduser('~')]
script import binutils
command script add -f binutils.itob itob
command script add -f binutils.utob utob


But I thought I could feed LLDB a script as the arg as well, no??

- Jared



On Aug 18, 2014, at 3:54 PM, Todd Fiala <tfiala at google.com> wrote:

> 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.
> 
> 
> On Mon, Aug 18, 2014 at 12:51 PM, Jared Carlson <jared.carlson23 at gmail.com> wrote:
> Afternoon,
> 
> 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”
> 
> I’m wondering what this means and where I can find more information about it?  Thanks!
> 
> - Jared
> 
> 
> _______________________________________________
> lldb-dev mailing list
> lldb-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev
> 
> 
> 
> 
> -- 
> Todd Fiala |	 Software Engineer |	 tfiala at google.com |	 650-943-3180
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20140818/3c1ac2cb/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 495 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20140818/3c1ac2cb/attachment.sig>


More information about the lldb-dev mailing list