Added gdb remote tests to verify $Hg{thread-id}.
authorTodd Fiala <todd.fiala@gmail.com>
Fri, 23 May 2014 22:25:29 +0000 (22:25 +0000)
committerTodd Fiala <todd.fiala@gmail.com>
Fri, 23 May 2014 22:25:29 +0000 (22:25 +0000)
commitdee6d286de9202fe01d55f470a33602c7f9345ea
treefd48510a83bda66c768d69c8279b65bf5239d12a
parentc0303355e911354121612597f2474c0dabac03aa
Added gdb remote tests to verify $Hg{thread-id}.

Added test to check that each thread reported by $q{f,s}ThreadInfo
can be switched to by $Hg, verified by a follow-up $qC.

Modified test exe to accept "thread:new" to create a new thread
that runs and sleeps for 5 seconds.

@llgs_test/@debugserver_test now buffer output.

llgs and debugserver gdbremote protocol tests now collect $O notification
output into the context returned from expect_lldb_gdbserver_replay.
context["O_count"] is an integer indicating the number of $O packets
collected during the replay, and context["O_content"] contains the
accumulated hex-decoded text output by the inferior (stdout and stderr).

Modified the $O check test to check the accumulated output rather than
a direct $O packet.

llvm-svn: 209560
lldb/test/tools/lldb-gdbserver/Makefile
lldb/test/tools/lldb-gdbserver/TestLldbGdbServer.py
lldb/test/tools/lldb-gdbserver/lldbgdbserverutils.py
lldb/test/tools/lldb-gdbserver/main.cpp