teak-llvm/lldb/packages/Python/lldbsuite/test/functionalities/gdb_remote_client
Jason Molenda 02113918ed When reading Aux file in chunks, read consecutive byte ranges
qemu has a very small maximum packet size (4096) and it actually
only uses half of that buffer for some implementation reason,
so when lldb asks for the register target definitions, the x86_64
definition is larger than 4096/2 and we need to fetch it in two parts.

This patch and test is fixing a bug in
GDBRemoteCommunicationClient::ReadExtFeature when reading a target
file in multiple parts.  lldb was assuming that it would always
get back the maximum packet size response (4096) instead of
using the actual size received and asking for the next group of
bytes.

We now have two tests in gdb_remote_client for unique features
of qemu - TestNestedRegDefinitions.py would test the ability
of lldb to follow multiple levels of xml includes; I opted to
create a separate TestRegDefinitionInParts.py test to test this
wrinkle in qemu's gdb remote serial protocol stub implementation.
Instead of combining both tests into a single test file.

<rdar://problem/49537922>
2020-01-09 16:05:38 -08:00
..
a.yaml
basic_eh_frame.yaml [lldb] Move register info "augmentation" from gdb-remote into ABI 2019-12-03 11:39:20 +01:00
gdbclientutils.py Handle the case where the 'g' packet doesn't get all regs. 2019-11-20 14:15:08 -08:00
operating_system_2.py [lldb][NFC] Remove unused imports in python tests 2019-08-02 08:06:22 +00:00
operating_system.py [lldb][NFC] Remove unused imports in python tests 2019-08-02 08:06:22 +00:00
TestArmRegisterDefinition.py Change the disabling of packet logging to be in TearDownHook lambdas. 2019-05-10 23:22:15 +00:00
TestGDBRemoteClient.py Temporarily change the default for use-g-packet-for-reading to false, 2019-11-08 18:21:57 -08:00
TestGDBRemoteLoad.py
TestJLink6Armv7RegisterDefinition.py Handle the case where the 'g' packet doesn't get all regs. 2019-11-20 14:15:08 -08:00
TestNestedRegDefinitions.py Support nested target.xml register definition files, lack of reg group markers. 2019-06-26 21:59:39 +00:00
TestNoGPacketSupported.py Remove extraneous log enabling. 2019-11-22 14:13:35 -08:00
TestNoWatchpointSupportInfo.py [lldb] Increase testsuite packet-timeout 5secs -> 1min 2019-07-29 16:10:16 +00:00
TestPlatformClient.py [android/process list] support showing process arguments 2019-10-16 18:47:05 +00:00
TestRecognizeBreakpoint.py [lldb][NFC] Remove 'from __future__ import print_function' from all tests that don't actually call 'print()' 2019-12-13 12:23:04 +01:00
TestRegDefinitionInParts.py When reading Aux file in chunks, read consecutive byte ranges 2020-01-09 16:05:38 -08:00
TestRestartBug.py
TestStopPCs.py [lldb][NFC] Remove 'from __future__ import print_function' from all tests that don't actually call 'print()' 2019-12-13 12:23:04 +01:00
TestTargetXMLArch.py [lldb] Move register info "augmentation" from gdb-remote into ABI 2019-12-03 11:39:20 +01:00
TestThreadSelectionBug.py [lldb][NFC] Remove 'from __future__ import print_function' from all tests that don't actually call 'print()' 2019-12-13 12:23:04 +01:00
TestWriteMemory.py [lldb][NFC] Remove 'from __future__ import print_function' from all tests that don't actually call 'print()' 2019-12-13 12:23:04 +01:00