llvm-project/lldb/source/Plugins/Process/NetBSD
Michał Górny 37cbd817d3 [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
2021-09-06 12:16:14 +02:00
..
CMakeLists.txt [lldb/Plugin] Don't mark ProcessNetBSD as a plugin 2020-02-20 14:35:49 -08:00
NativeProcessNetBSD.cpp [lldb] [llgs server] Support creating core dumps on NetBSD 2021-09-06 12:16:14 +02:00
NativeProcessNetBSD.h [lldb] [llgs server] Support creating core dumps on NetBSD 2021-09-06 12:16:14 +02:00
NativeRegisterContextNetBSD.cpp [lldb] Split out NetBSD/x86 watchpoint impl for unification 2020-10-23 12:20:15 +02:00
NativeRegisterContextNetBSD.h [lldb] [Process/NetBSD] Copy the recent improvements from FreeBSD 2020-11-10 20:20:44 +01:00
NativeRegisterContextNetBSD_x86_64.cpp [lldb][NFC] Use C++ versions of the deprecated C standard library headers 2021-05-26 12:46:12 +02:00
NativeRegisterContextNetBSD_x86_64.h [lldb] Rename NativeRegisterContext{Watchpoint => DBReg}_x86 2021-03-01 16:23:36 +01:00
NativeThreadNetBSD.cpp [lldb] [Process/NetBSD] Report fork/vfork events to LLGS 2021-04-25 19:40:59 +02:00
NativeThreadNetBSD.h [lldb] [Process/NetBSD] Report fork/vfork events to LLGS 2021-04-25 19:40:59 +02:00