[Lldb-commits] [PATCH] D100196: [lldb] [gdb-remote server] Introduce new stop reasons for fork and vfork

Pavel Labath via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Tue Apr 27 05:32:19 PDT 2021


labath added a comment.
Herald added a subscriber: JDevlieghere.

In D100196#2713684 <https://reviews.llvm.org/D100196#2713684>, @mgorny wrote:

> Add an assert to make sure that process doesn't report fork/vfork stop reason without multiprocess support.

I guess this is the reason for that..

What I meant here was to do a sanity check on the client extensions -- like if a client claims to support "vfork-events" but not "multiprocess", then its probably broken (though it's a question what we should actually do about that). In the server our gdb-remote class always (I hope) supports multiprocess, so there's no danger of inconsistency.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D100196/new/

https://reviews.llvm.org/D100196



More information about the lldb-commits mailing list