llvm-project/lldb/tools
Todd Fiala 9f72b3a1ce Modify debugserver to follow gdb remote $qC protocol definition.
$qC from debugserver now returns the current thread's thread-id (and, like $?, will set a current thread if one is not already selected).  Previously it was returning the current process id.

lldb will now query $qProcessInfo to retrieve the process id.  The process id is now cached lazily and reset like other cached values.  Retrieval of the process id will fall back to the old $qC method for vendor==Apple and os==iOS if the qProcessInfo retrieval fails.

Added a gdb remote protocol-level test to verify that $qProcessInfo reports a valid process id after launching a process, while the process is in the initial stopped state.  Verifies the given process id is a currently valid process on host OSes for which we know how to check (MacOSX, Linux, {Free/Net}BSD).  Ignores the live process check for OSes where we don't know how to do this.  (I saw no portable way to do this in stock Python without pulling in other libs).

llvm-svn: 208241
2014-05-07 19:28:21 +00:00
..
darwin-debug Make sure the getopt variables are correctly initialized for any option parsing. 2013-11-22 18:55:04 +00:00
darwin-threads Move the code which translates a dispatch_qaddr into a 2013-10-18 05:55:24 +00:00
debugserver Modify debugserver to follow gdb remote $qC protocol definition. 2014-05-07 19:28:21 +00:00
driver Use correct readline header on NetBSD. 2014-05-02 18:59:49 +00:00
install-headers Updated Apple LLDB version to lldb-300.99.0. Also 2013-03-07 22:29:06 +00:00
lldb-gdbserver Fixed up lldb-gdbserver to match slightly different debugserver listener host:port message. 2014-04-28 06:04:46 +00:00
lldb-perf Fixed the lldb_perf_clang.cpp test case to be able to run correctly. 2014-02-27 21:35:49 +00:00
lldb-platform Fixing the Windows build for the changes brought in from the iohandler merge. 2014-01-31 18:48:46 +00:00
CMakeLists.txt Enable lldb-gdbserver on Linux as well in the cmake build 2014-02-05 19:03:18 +00:00
Makefile Make lldb-gdbserver configure/(g)make build parity with cmake. 2014-04-29 16:57:45 +00:00