[llvm-bugs] [Bug 44104] New: LLDB looking for wrong version of lldb-server
via llvm-bugs
llvm-bugs at lists.llvm.org
Thu Nov 21 08:16:33 PST 2019
https://bugs.llvm.org/show_bug.cgi?id=44104
Bug ID: 44104
Summary: LLDB looking for wrong version of lldb-server
Product: Packaging
Version: unspecified
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: deb packages
Assignee: unassignedbugs at nondot.org
Reporter: peterhull90 at gmail.com
CC: llvm-bugs at lists.llvm.org
Using the LLVM 9 packages from https://apt.llvm.org/ for Debian 10 Buster.
Attempting to debug an executable fails:
$ lldb --version
lldb version 9.0.1
$ lldb myprog
(lldb) target create "myprog"
Current executable set to 'myprog' (x86_64).
(lldb) run
error: process launch failed: unable to locate lldb-server-9.0.1
I would expect this to run "myprog" under the debugger.
I have these (2nd & 3rd are symlinks to lldb-server)
$ ls /usr/lib/llvm-9/bin/lldb-server*
/usr/lib/llvm-9/bin/lldb-server /usr/lib/llvm-9/bin/lldb-server-9.0.0
/usr/lib/llvm-9/bin/lldb-server-9
The exact version is
$ apt list lldb-9
Listing... Done
lldb-9/unknown,now 1:9~+20191120043105+0f34f1b9318-1~exp1~20191120153646.83
amd64 [installed]
Work-around (untested) is to create the missing symlink "lldb-server-9.0.1"
manually.
Related to bug #35292 but that is quite old and applies to a different version.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20191121/8be404a4/attachment.html>
More information about the llvm-bugs
mailing list