teak-llvm/lldb/packages/Python/lldbsuite/test/functionalities/gdb_remote_client
Pavel Labath 2b8db387f2 [lldb] Move register info "augmentation" from gdb-remote into ABI
Summary:
Previously the ABI plugin exposed some "register infos" and the
gdb-remote code used those to fill in the missing bits. Now, the
"filling in" code is in the ABI plugin itself, and the gdb-remote code
just invokes that.

The motivation for this is two-fold:
a) the "augmentation" logic is useful outside of process gdb-remote. For
  instance, it would allow us to avoid repeating the register number
  definitions in minidump code.
b) It gives more implementation freedom to the ABI classes. Now that
  these "register infos" are essentially implementation details, classes
  can use other methods to obtain dwarf/eh_frame register numbers -- for
  instance they can consult llvm MC layer.

Since the augmentation code was not currently tested anywhere, I took
the opportunity to create a simple test for it.

Reviewers: jasonmolenda, clayborg, tatyana-krasnukha

Subscribers: aprantl, lldb-commits

Tags: #lldb

Differential Revision: https://reviews.llvm.org/D70906
2019-12-03 11:39:20 +01: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 Add a test for setting the load address of a module with differing physical/virtual addresses 2018-03-26 11:45:32 +00:00
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 @skipIfXmlSupportMissing TestRecognizeBreakpoint 2019-07-01 13:12:29 +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 Change the disabling of packet logging to be in TearDownHook lambdas. 2019-05-10 23:22:15 +00:00
TestTargetXMLArch.py [lldb] Move register info "augmentation" from gdb-remote into ABI 2019-12-03 11:39:20 +01:00
TestThreadSelectionBug.py Re-land "Don't assume backing thread shares protocol ID." 2018-04-13 11:31:34 +00:00
TestWriteMemory.py The setUp/tearDown methods I added mssed up the test function; reorder. 2019-09-13 00:01:49 +00:00