llvm-project/lldb
Todd Fiala 0428c97837 gdb-remote testing: new test, cleaned up socket reading.
Added new SocketPacketPump class to decouple gdb remote packet
reading from packet expectations code.  This allowed for cleaner
implementation of the separate $O output streams (non-deterministic
packaging of inferior stdout/stderr) from all the rest of the packets.

Added a packet expectation matcher that can match expected accumulated
output with a timeout.  Use a dictionary with "type":"output_match".
See lldbgdbserverutils.MatchRemoteOutputEntry for details.

Added a gdb remote test to verify that $Hc (continue thread selection)
plus signal delivery ($C{signo}) works.  Having trouble getting this
to pass with debugserver on MacOSX 10.9.  Tried different variants,
including $vCont;C{signo}:{thread-id};c.  In some cases, I get the
test exe's signal handler to run ($vCont variant first time), in others I don't
($vCont second and further times).  $C{signo} doesn't hit the signal
handler code at all in the test exe but delivers a stop.  Further
$Hc and $C{signo} deliver the stop marking the wrong thread.  For now I'm
marking the test as XFAIL on dsym/debugserver.  Will revisit this on
lldb-dev.

Updated the text exe for these tests to support thread:print-ids (each
thread announces its thread id) and provide a SIGUSR1 thread handler
that prints out the thread id on which it was signaled.

llvm-svn: 209845
2014-05-29 20:44:45 +00:00
..
docs Fix the quoting in my x packet documentation so it's 2014-05-13 22:21:34 +00:00
examples Allow classes to be intialized using current lldb::SB objects. This can help to import/export the current process state. 2014-05-28 00:21:15 +00:00
include Add a lock ivar to the Platform so that multiple Targets 2014-05-23 23:11:27 +00:00
lib Attempt to fix the build 2014-04-25 09:49:32 +00:00
lldb.xcodeproj Revert r209142. 2014-05-19 18:30:48 +00:00
lldb.xcworkspace Move the performance test cases into their own project. 2013-03-18 23:05:00 +00:00
resources Update the lldb version number in the xcode project files from 310.99.0 to 320.99.0. 2014-01-10 06:12:10 +00:00
scripts Introduce the concept of a "display name" for types 2014-05-17 19:14:17 +00:00
source Fixed the Module::Module(ModuleSpec) constructor to properly copy the file offset and object file mod time from the actual module specifications so we will always be able to directly load the image we care about when calling Module::GetObjectFile(). 2014-05-29 17:52:46 +00:00
test gdb-remote testing: new test, cleaned up socket reading. 2014-05-29 20:44:45 +00:00
tools Add stdlib.h for malloc and friends 2014-05-26 14:07:26 +00:00
utils LUI: Fix some issues causing crashes in the source view 2013-10-23 01:18:21 +00:00
www Remove obsolete CXX11 buld instructions 2014-05-03 15:05:40 +00:00
.arcconfig Update .arcconfig to point to reviews.llvm.org 2014-05-20 21:24:59 +00:00
.gitignore spruce up .gitignore 2014-03-18 04:43:49 +00:00
CMakeLists.txt Disabled warning C4251 on MSVC builds. 2014-05-28 17:58:29 +00:00
INSTALL.txt Update INSTALL.txt to mention LLDB builds on Linux with GCC or Clang. 2013-02-21 22:37:18 +00:00
LICENSE.TXT
Makefile Add some missing defines that are already present in the cmake side. 2014-03-12 10:35:00 +00:00