[llvm-bugs] [Bug 51458] New: 'process launch -s' uses gdb-remote connection only if target was created before connecting
via llvm-bugs
llvm-bugs at lists.llvm.org
Thu Aug 12 09:03:22 PDT 2021
https://bugs.llvm.org/show_bug.cgi?id=51458
Bug ID: 51458
Summary: 'process launch -s' uses gdb-remote connection only if
target was created before connecting
Product: lldb
Version: unspecified
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: All Bugs
Assignee: lldb-dev at lists.llvm.org
Reporter: mgorny at gentoo.org
CC: jdevlieghere at apple.com, llvm-bugs at lists.llvm.org
Basically:
$ ./bin/lldb
(lldb) target create a.out
Current executable set to '/home/mgorny/git/llvm-project/build/a.out' (x86_64).
(lldb) gdb-remote 1234
(lldb) process launch
Process 2070224 launched: '/home/mgorny/git/llvm-project/build/a.out' (x86_64)
Process 2070224 exited with status = 0 (0x00000000)
-> uses remote lldb-server to start the process
but:
$ ./bin/lldb
(lldb) gdb-remote 1234
(lldb) target create a.out
Current executable set to '/home/mgorny/git/llvm-project/build/a.out' (x86_64).
(lldb) process launch
Process 2075735 launched: '/home/mgorny/git/llvm-project/build/a.out' (x86_64)
Process 2075735 exited with status = 0 (0x00000000)
-> starts a new lldb-server
--
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/20210812/c99ca89b/attachment.html>
More information about the llvm-bugs
mailing list