llvm-project/lldb/test/tools/lldb-gdbserver
Todd Fiala 30846cd941 Fix 4 failing llgs-related tests on a stock Ubuntu 14.04 x86_64 system./
This fix addresses a requirement on some Linux kernels that limits
a PTRACER to be an ancestor of the ptraced process.  The fix in this
case is to have the inferior test exe explicitly allow any ptracer
to attach.

This fixes several ptrace-related issues that I did not see on a modified
kernel we used internally on my team.

See http://reviews.llvm.org/D5846 for details.

This fixes these previously failing tests on stock Ubuntu systems:

FAIL: LLDB (suite) :: TestGdbRemoteProcessInfo.py (Linux vagrant 3.13.0-32-generic #57-Ubuntu SMP Tue Jul 15 03:51:08 UTC 2014 x86_64 x86_64)

FAIL: LLDB (suite) :: TestGdbRemoteAttach.py (Linux vagrant 3.13.0-32-generic #57-Ubuntu SMP Tue Jul 15 03:51:08 UTC 2014 x86_64 x86_64)

FAIL: LLDB (suite) :: TestLldbGdbServer.py (Linux vagrant 3.13.0-32-generic #57-Ubuntu SMP Tue Jul 15 03:51:08 UTC 2014 x86_64 x86_64)

FAIL: LLDB (suite) :: TestGdbRemoteKill.py (Linux vagrant 3.13.0-32-generic #57-Ubuntu SMP Tue Jul 15 03:51:08 UTC 2014 x86_64 x86_64)
llvm-svn: 220181
2014-10-20 03:56:46 +00:00
..
commandline llgs: add --reverse-connect support. 2014-07-26 20:39:17 +00:00
inferior-crash llgs: fix Ctrl-C inferior interrupt handling to do the right thing. 2014-09-11 23:29:14 +00:00
test gdbremote testing: added regex support to match packets and propagate/test against previously stored matches. 2014-05-06 06:15:23 +00:00
Makefile Get test executables compiling on Windows. 2014-08-13 17:44:53 +00:00
TestGdbRemoteAttach.py Add $vAttach support to llgs. 2014-07-29 22:30:01 +00:00
TestGdbRemoteAuxvSupport.py Add lldb-gdbserver support for Linux x86_64. 2014-06-30 21:05:18 +00:00
TestGdbRemoteExpeditedRegisters.py Add lldb-gdbserver support for Linux x86_64. 2014-06-30 21:05:18 +00:00
TestGdbRemoteKill.py gdb-remote test noise suppression on MacOSX. 2014-07-16 16:15:42 +00:00
TestGdbRemoteProcessInfo.py Added a couple more gdb-remote tests to ensure qProcessInfo on darwin is not defining triple. 2014-08-26 18:40:56 +00:00
TestGdbRemoteRegisterState.py Add lldb-gdbserver support for Linux x86_64. 2014-06-30 21:05:18 +00:00
TestGdbRemoteSingleStep.py Add lldb-gdbserver support for Linux x86_64. 2014-06-30 21:05:18 +00:00
TestGdbRemoteThreadsInStopReply.py Add lldb-gdbserver support for Linux x86_64. 2014-06-30 21:05:18 +00:00
TestGdbRemote_qThreadStopInfo.py llgs: fix thread names broken by recent native thread changes. 2014-09-12 22:51:49 +00:00
TestGdbRemote_vCont.py Add lldb-gdbserver support for Linux x86_64. 2014-06-30 21:05:18 +00:00
TestLldbGdbServer.py Fix a test broken by r216564. 2014-08-29 20:32:18 +00:00
gdbremote_testcase.py Fix llgs to send triple for non-Apple platforms and lldb to interpret correctly. 2014-08-26 18:21:02 +00:00
lldbgdbserverutils.py llgs: add --reverse-connect support. 2014-07-26 20:39:17 +00:00
main.cpp Fix 4 failing llgs-related tests on a stock Ubuntu 14.04 x86_64 system./ 2014-10-20 03:56:46 +00:00
socket_packet_pump.py gdb-remote signal delivery test cleanup. 2014-05-30 17:59:47 +00:00