https://llvm.org/bugs/show_bug.cgi?id=24959
Bug ID: 24959 Summary: Mismatch between binary and host architectures unless absolute path is given Product: lldb Version: 3.7 Hardware: PC OS: Linux Status: NEW Severity: normal Priority: P Component: All Bugs Assignee: lldb-dev@lists.llvm.org Reporter: evange...@foutrelis.com CC: llvm-b...@lists.llvm.org Classification: Unclassified The following behavior in LLDB 3.7.0 seems quite weird; unless I specify an absolute path, lldb will refuse to create a target for an executable that exists in $PATH. If I specify an absolute path then it works fine. (Perhaps related to bug 20400.) `llvm-config --host-target` prints "i686-pc-linux-gnu". Bellow is an lldb session that showcases the issue: (lldb) target create ls error: '/usr/bin/ls' doesn't contain any 'host' platform architectures: i686 (lldb) target create /usr/bin/ls Current executable set to '/usr/bin/ls' (i386). (lldb) target list Current targets: * target #0: /usr/bin/ls ( arch=i386-unknown-linux, platform=remote-linux ) -- You are receiving this mail because: You are the assignee for the bug.
_______________________________________________ lldb-dev mailing list lldb-dev@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev