Page MenuHomePhabricator

[lldb] Support SaveCore() from gdb-remote client
Needs ReviewPublic

Authored by mgorny on Apr 26 2021, 3:04 PM.

Details

Summary

Extend PluginManager::SaveCore() to support saving core dumps
via Process plugins. Implement the client-side part of qSaveCore
request in the gdb-remote plugin, that creates the core dump
on the remote host and then uses vFile packets to transfer it.

Diff Detail

Event Timeline

mgorny requested review of this revision.Apr 26 2021, 3:04 PM
mgorny created this revision.
mgorny retitled this revision from [lldb] Support SaveCore() from gdb-remote client to [lldb] Support SaveCore() from gdb-remote client [WIP].

I need to implement path hints and add tests still.

mgorny updated this revision to Diff 341132.Apr 28 2021, 3:50 AM

Send path-hint to the server. Add a test.

mgorny retitled this revision from [lldb] Support SaveCore() from gdb-remote client [WIP] to [lldb] Support SaveCore() from gdb-remote client.May 1 2021, 1:14 PM