[all-commits] [llvm/llvm-project] b1b70f: [lldb-server] Add setting to force 'g' packet use

Guilherme Andrade via All-commits all-commits at lists.llvm.org
Thu Nov 7 01:49:51 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: b1b70f6761266c3eecaf8bd71529eaf51994207b
      https://github.com/llvm/llvm-project/commit/b1b70f6761266c3eecaf8bd71529eaf51994207b
  Author: Guilherme Andrade <guiandrade at google.com>
  Date:   2019-11-07 (Thu, 07 Nov 2019)

  Changed paths:
    M lldb/packages/Python/lldbsuite/test/functionalities/gdb_remote_client/TestGDBRemoteClient.py
    M lldb/packages/Python/lldbsuite/test/functionalities/gdb_remote_client/gdbclientutils.py
    M lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
    M lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h
    M lldb/source/Plugins/Process/gdb-remote/GDBRemoteRegisterContext.cpp
    M lldb/source/Plugins/Process/gdb-remote/GDBRemoteRegisterContext.h
    M lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
    M lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h
    M lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemoteProperties.td
    M lldb/source/Plugins/Process/gdb-remote/ThreadGDBRemote.cpp

  Log Message:
  -----------
  [lldb-server] Add setting to force 'g' packet use

Following up on https://reviews.llvm.org/D62221, this change introduces
the settings plugin.process.gdb-remote.use-g-packet-for-reading.  When
they are on, 'g' packets are used for reading registers.

Using 'g' packets can improve performance by reducing the number of
packets exchanged between client and server when a large number of
registers needs to be fetched.

Differential revision: https://reviews.llvm.org/D62931




More information about the All-commits mailing list