
This setting was added last year, defaulting to false. There have been no bug reports about the svr4 code path since then, and the using this packet is definitely faster than walking the module list from lldb. Set the default value of the setting to true, as that is a better default. Users can still change it back if encountering problems, or we can revert the change as well, in case of bigger issues. I also add a note to the setting description that it is only effective if lldb is built with xml support.
21 lines
906 B
TableGen
21 lines
906 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,
|
|
DefaultTrue,
|
|
Desc<"If true, the libraries-svr4 feature will be used to get a hold of the process's loaded modules. This setting is only effective if lldb was build with xml support.">;
|
|
def UseGPacketForReading: Property<"use-g-packet-for-reading", "Boolean">,
|
|
Global,
|
|
DefaultFalse,
|
|
Desc<"Specify if the server should use 'g' packets to read registers.">;
|
|
}
|