https://bugs.llvm.org/show_bug.cgi?id=51459

            Bug ID: 51459
           Summary: 'process launch -s' does not work correctly over
                    remote lldb-server
           Product: lldb
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: All Bugs
          Assignee: lldb-dev@lists.llvm.org
          Reporter: mgo...@gentoo.org
                CC: jdevliegh...@apple.com, llvm-b...@lists.llvm.org

If I let LLDB start a new instance of lldb-server, I can launch the process
stopped:

$ ./bin/lldb
(lldb) target create a.out 
Current executable set to '/home/mgorny/git/llvm-project/build/a.out' (x86_64).
(lldb) process launch -s
Process 2093834 launched: '/home/mgorny/git/llvm-project/build/a.out' (x86_64)
(lldb) cont
Process 2093834 resuming
Process 2093834 exited with status = 0 (0x00000000) 


but if I use a remote lldb-server, LLDB seems to end up in some weird state
that's simultaneously stopped and running:

$ ./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 -s
Process 2106325 launched: '/home/mgorny/git/llvm-project/build/a.out' (x86_64)
(lldb) cont
error: Failed to resume process: Resume request failed - process still
running..
(lldb) process interrupt
error: Failed to halt process: Process is not running.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
lldb-dev mailing list
lldb-dev@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev

Reply via email to