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
21 lines
839 B
TableGen
21 lines
839 B
TableGen
include "../../../../include/lldb/Core/PropertiesBase.td"
|
|
|
|
let Definition = "processgdbremote" in {
|
|
def PacketTimeout: Property<"packet-timeout", "UInt64">,
|
|
Global,
|
|
DefaultUnsignedValue<5>,
|
|
Desc<"Specify the default packet timeout in seconds.">;
|
|
def TargetDefinitionFile: Property<"target-definition-file", "FileSpec">,
|
|
Global,
|
|
DefaultStringValue<"">,
|
|
Desc<"The file that provides the description for remote target registers.">;
|
|
def UseSVR4: Property<"use-libraries-svr4", "Boolean">,
|
|
Global,
|
|
DefaultFalse,
|
|
Desc<"If true, the libraries-svr4 feature will be used to get a hold of the process's loaded modules.">;
|
|
def UseGPacketForReading: Property<"use-g-packet-for-reading", "Boolean">,
|
|
Global,
|
|
DefaultTrue,
|
|
Desc<"Specify if the server should use 'g' packets to read registers.">;
|
|
}
|