[all-commits] [llvm/llvm-project] e69a3d: [lldb] [gdb-remote] Support client fallback for se...

Michał Górny via All-commits all-commits at lists.llvm.org
Mon Jan 17 13:32:02 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e69a3d18f48bc0d81b5dd12e735a2ec898ce64d4
      https://github.com/llvm/llvm-project/commit/e69a3d18f48bc0d81b5dd12e735a2ec898ce64d4
  Author: Michał Górny <mgorny at moritz.systems>
  Date:   2022-01-17 (Mon, 17 Jan 2022)

  Changed paths:
    M lldb/source/Plugins/Process/gdb-remote/CMakeLists.txt
    A lldb/source/Plugins/Process/gdb-remote/GDBRemoteRegisterFallback.cpp
    A lldb/source/Plugins/Process/gdb-remote/GDBRemoteRegisterFallback.h
    M lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
    A lldb/test/API/functionalities/gdb_remote_client/TestGDBServerNoTargetXML.py

  Log Message:
  -----------
  [lldb] [gdb-remote] Support client fallback for servers without reg defs

Provide minimal register definition defaults for working with servers
that implement neither target.xml nor qRegisterInfo packets.  This is
useful e.g. when interacting with FreeBSD's kernel minimal gdbserver
that does not send target.xml but uses the same layout for its supported
register subset as GDB.

The prerequisite for this is the ability to determine the correct
architecture, e.g. from the target executable.

Differential Revision: https://reviews.llvm.org/D116896




More information about the All-commits mailing list