[Lldb-commits] [PATCH] D109695: [lldb] [Process/gdb-remote] Add x31 AArch64 register for gdbserver

Michał Górny via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Mon Sep 13 08:15:03 PDT 2021


mgorny created this revision.
mgorny added reviewers: labath, emaste, krytarowski.
Herald added subscribers: omjavaid, kristof.beyls.
mgorny requested review of this revision.

Create an x31 register that is aliased to sp if the latter is present
and the former is not.  This is needed to bring gdbserver support
in line with lldb-server support, since the former reports x31 as sp.


https://reviews.llvm.org/D109695

Files:
  lldb/source/Plugins/Process/gdb-remote/CMakeLists.txt
  lldb/source/Plugins/Process/gdb-remote/GDBRemoteRegisterContext.cpp
  lldb/source/Plugins/Process/gdb-remote/GDBRemoteRegisterContext.h
  lldb/source/Plugins/Process/gdb-remote/GDBRemoteRegisterContext_aarch64.cpp
  lldb/test/API/functionalities/gdb_remote_client/TestGDBServerTargetXML.py

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D109695.372259.patch
Type: text/x-patch
Size: 4354 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20210913/d0662232/attachment-0001.bin>


More information about the lldb-commits mailing list