summaryrefslogtreecommitdiffstats
path: root/lldb/test/tools
Commit message (Collapse)AuthorAgeFilesLines
...
* Prevent TestLldbGdbServer shutdown cleanup failures from failing the test.Todd Fiala2014-04-251-4/+17
| | | | | | | | | | Adds try/except blocks around clean-up code. Prevents a race between gdb remote kill command reception by llgs (which leads llgs to shut down) and the pexpect server kill (which can fail if the kill command handling completes first). Warnings are emitted on the logger for any clean-up code that fails. llvm-svn: 207273
* Added a packet-playback test facility for lldb-gdbserver and a few starter ↵Todd Fiala2014-04-222-10/+272
| | | | | | | | | | | | | | | | | | | | | | | tests. lldbgdbserverutils.py has a new expect_lldb_gdbserver_replay() method that plays back gdb remote send/receive packets. These packets are the log lines that come from running the 'log enable gdb-remote packets', either from the lldb-gdbserver side or the lldb side. There's a flag to flip which side is the send (lldb-gdbserver input or lldb-gdbserver output). This first checkin tests the initial gdbremote handshake, the ability to turn on the no-ack mode communication style, thread suffix support, and list threads in stop reply support. The last two are marked xfail as top of tree does not yet support these. --This line, and those below, will be ignored-- M test/tools/lldb-gdbserver/TestLldbGdbServer.py M test/tools/lldb-gdbserver/lldbgdbserverutils.py llvm-svn: 206930
* Added a basic connection test for lldb-gdbserver.Todd Fiala2014-04-212-0/+65
The lldb-gdbserver tests are skipped if the lldb-gdbserver exe cannot be found (currently only built for Linux and FreeBSD). The lldb-gdbserver exe is found by the LLDB_EXEC environment variable, using the same dir as the lldb exe, and then replacing lldb with lldb-gdbserver. llvm-svn: 206731
OpenPOWER on IntegriCloud