[all-commits] [llvm/llvm-project] 37cbd8: [lldb] [llgs server] Support creating core dumps o...
Michał Górny via All-commits
all-commits at lists.llvm.org
Mon Sep 6 03:16:42 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 37cbd817d3e2b8c673862e2eb262cad6dd3dd244
https://github.com/llvm/llvm-project/commit/37cbd817d3e2b8c673862e2eb262cad6dd3dd244
Author: Michał Górny <mgorny at moritz.systems>
Date: 2021-09-06 (Mon, 06 Sep 2021)
Changed paths:
M lldb/include/lldb/Host/common/NativeProcessProtocol.h
M lldb/include/lldb/Utility/StringExtractorGDBRemote.h
M lldb/packages/Python/lldbsuite/test/tools/lldb-server/gdbremote_testcase.py
M lldb/source/Plugins/Process/NetBSD/NativeProcessNetBSD.cpp
M lldb/source/Plugins/Process/NetBSD/NativeProcessNetBSD.h
M lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp
M lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.h
M lldb/source/Utility/StringExtractorGDBRemote.cpp
A lldb/test/API/tools/lldb-server/TestGdbRemoteSaveCore.py
Log Message:
-----------
[lldb] [llgs server] Support creating core dumps on NetBSD
Add a new SaveCore() process method that can be used to request a core
dump. This is currently implemented on NetBSD via the PT_DUMPCORE
ptrace(2) request, and enabled via 'savecore' extension.
Protocol-wise, a new qSaveCore packet is introduced. It accepts zero
or more semicolon-separated key:value options, invokes the core dump
and returns a key:value response. Currently the only option supported
is "path-hint", and the return value contains the "path" actually used.
The support for the feature is exposed via qSaveCore qSupported feature.
Differential Revision: https://reviews.llvm.org/D101285
More information about the All-commits
mailing list