llvm-capstone/lldb
Muhammad Omair Javaid 8561ad9296 Use remote regnums in expedited list, value regs and invalidate regs
Native register descriptions in LLDB specify lldb register numbers in
value_regs and invalidate_regs lists. These register numbers may not
match with Process gdb-remote register numbers which are generated by
native process after counting all registers in its register sets.

It was coincidentally not causing any problems as we never came across
a native target with dynamically changing register sets and register
numbers generated by counter matched with LLDB native register numbers.
This came up while testing target AArch64 SVE which can choose register
sets based on underlying hardware.

This patch fixes this behavior and always tries to use remote register
numbers while reading/writing registers over gdb-remote protocol.

Reviewed By: labath

Differential Revision: https://reviews.llvm.org/D77043
2021-02-08 14:09:15 +05:00
..
bindings [lldb] Emit type annotation in SWIG generated Python code. 2021-02-05 08:51:22 -08:00
cmake [lldb] Bump the required SWIG version to 3 2021-01-08 08:47:21 -08:00
docs [Branch-Rename] Fix some links 2021-02-01 16:43:21 +05:30
examples [lldb] Remove LLDB session dir and just store test traces in the respective test build directory 2020-12-04 11:43:10 +01:00
include/lldb [lldb][NFC] Minor comment and inlining fixes for Args 2021-02-05 10:17:16 +01:00
packages/Python [lldb/test] Reduce API test tools configuration boilerplate 2021-02-05 08:44:08 +01:00
resources [lldb] Remove stale LLDB-Info.plist 2021-01-08 10:12:16 -08:00
scripts [lldb][AArch64/Linux] Show memory tagged memory regions 2020-11-20 11:21:59 +00:00
source Use remote regnums in expedited list, value regs and invalidate regs 2021-02-08 14:09:15 +05:00
test Use remote regnums in expedited list, value regs and invalidate regs 2021-02-08 14:09:15 +05:00
third_party/Python/module Revert "[lldb] temporary commit to see why a test is failing only on lldb-aarch64-ubuntu" 2020-08-05 11:55:02 +02:00
tools [debugserver] Fix more warnings in DNBArchImplARM64 2021-02-05 15:21:24 -08:00
unittests [lldb] [Process/FreeBSDRemote] Introduce arm (32-bit) support 2021-01-31 19:52:08 +01:00
utils [lldb/cmake] Reduce duplication in generation lldb-dotest 2021-02-05 08:44:10 +01:00
.clang-format
.clang-tidy [lldb] Add .clang-tidy with customization to disable readability-identifier-naming 2020-03-09 12:50:28 -07:00
.gitignore
CMakeLists.txt [CMake] Remove dead code setting policies to NEW 2021-01-19 17:19:36 +02:00
CODE_OWNERS.txt
LICENSE.TXT
use_lldb_suite_root.py