llvm-project/lldb/tools/lldb-server
Tamas Berghammer ccd6cffba3 Modify "platform connect" to connect to processes as well
The standard remote debugging workflow with gdb is to start the
application on the remote host under gdbserver (e.g.: gdbserver :5039
a.out) and then connect to it with gdb.

The same workflow is supported by debugserver/lldb-gdbserver with a very
similar syntax but to access all features of lldb we need to be
connected also to an lldb-platform instance running on the target.

Before this change this had to be done manually with starting a separate
lldb-platform on the target machine and then connecting to it with lldb
before connecting to the process.

This change modifies the behavior of "platform connect" with
automatically connecting to the process instance if it was started by
the remote platform. With this command replacing gdbserver in a gdb
based worflow is usually as simple as replacing the command to execute
gdbserver with executing lldb-platform.

Differential revision: http://reviews.llvm.org/D14952

llvm-svn: 255016
2015-12-08 14:08:19 +00:00
..
Acceptor.cpp Make lldb-gdbserver to take explicit socket scheme as command line argument. 2015-10-28 19:49:50 +00:00
Acceptor.h Make lldb-gdbserver to take explicit socket scheme as command line argument. 2015-10-28 19:49:50 +00:00
CMakeLists.txt Add initial CMake glue for the NetBSD platform 2015-10-24 00:27:04 +00:00
LLDBServerUtilities.cpp Fix crash in lldb-server caused by an API change in LLVM 2015-09-10 11:08:41 +00:00
LLDBServerUtilities.h Make log options uniform betwwen lldb-platform and lldb-gdbserver 2015-05-27 13:34:04 +00:00
Makefile Add more autotools/gmake NetBSD glue 2015-11-15 02:00:09 +00:00
lldb-gdbserver.cpp Fix lldb-server - write null terminating symbol along with port number. 2015-10-21 21:58:22 +00:00
lldb-platform.cpp Modify "platform connect" to connect to processes as well 2015-12-08 14:08:19 +00:00
lldb-server.cpp Make log options uniform betwwen lldb-platform and lldb-gdbserver 2015-05-27 13:34:04 +00:00
lldb-server.exports Only export public symbols with the cmake build. 2015-09-04 00:00:41 +00:00