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: unassignedb...@nondot.org
          Reporter: peterhul...@gmail.com
                CC: llvm-bugs@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to