teak-llvm/lldb/packages/Python/lldbsuite/test/functionalities/gdb_remote_client
Jason Molenda c0e793d654 Work with a gdb-remote target that doesn't handle the
qWatchpointSupportInfo packet correctly.  

In GDBRemoteCommunicationClient::GetWatchpointSupportInfo,
if the response to qWatchpointSupportInfo does not
include the 'num' field, then we did not get an answer
we understood, mark this target as not supporting that
packet.

In Target.cpp, rename the very confusingly named
CheckIfWatchpointsExhausted to CheckIfWatchpointsSupported,
and check the error status returned by 
Process::GetWatchpointSupportInfo.  If we cannot determine
what the number of supported watchpoints are, assume that
they will work.  We'll handle the failure
later when we try to create/enable the watchpoint if the
Z2 packet isn't supported.

Add a gdb_remote_client test case.

<rdar://problem/42621432> 

llvm-svn: 346561
2018-11-09 22:33:26 +00:00
..
a.yaml
gdbclientutils.py Support nwere versions of the Segger J-Link jtag board software. 2018-10-23 23:45:56 +00:00
operating_system.py Re-land "Don't assume backing thread shares protocol ID." 2018-04-13 11:31:34 +00:00
TestArmRegisterDefinition.py Support nwere versions of the Segger J-Link jtag board software. 2018-10-23 23:45:56 +00:00
TestGDBRemoteClient.py [lit] Fix several tests that fail when using Python 3 or on Windows 2018-05-14 21:04:24 +00:00
TestGDBRemoteLoad.py Add a test for setting the load address of a module with differing physical/virtual addresses 2018-03-26 11:45:32 +00:00
TestNoWatchpointSupportInfo.py Work with a gdb-remote target that doesn't handle the 2018-11-09 22:33:26 +00:00
TestRestartBug.py Rewrite the flaky test_restart_bug test in a more deterministic way 2018-02-08 10:37:23 +00:00
TestStopPCs.py [lldbsuite] Make the names of test classes unique 2018-10-15 19:51:21 +00:00
TestTargetXMLArch.py Update TestTargetXMLArch.py test for llvm triple change with unspecified 2018-08-13 21:20:29 +00:00
TestThreadSelectionBug.py Re-land "Don't assume backing thread shares protocol ID." 2018-04-13 11:31:34 +00:00