diff options
| author | Michał Górny <mgorny@moritz.systems> | 2021-03-29 17:05:30 +0200 |
|---|---|---|
| committer | Michał Górny <mgorny@moritz.systems> | 2021-04-24 11:08:33 +0200 |
| commit | 6c37984ebaf4ee01df6a9b3f78e45f70dcd6fb33 (patch) | |
| tree | ec43c115b6c54721218a02145f9bc0a002da4f02 /lldb/source/Target/StackFrameList.cpp | |
| parent | 312257688eb0c09a8e6915ced2acdf0bcbbad353 (diff) | |
[lldb] [gdb-remote server] Introduce new stop reasons for fork and vfork
Introduce three new stop reasons for fork, vfork and vforkdone events.
This includes server support for serializing fork/vfork events into
gdb-remote protocol. The stop infos for the two base events take a pair
of PID and TID for the newly forked process.
Differential Revision: https://reviews.llvm.org/D100196
Diffstat (limited to 'lldb/source/Target/StackFrameList.cpp')
| -rw-r--r-- | lldb/source/Target/StackFrameList.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lldb/source/Target/StackFrameList.cpp b/lldb/source/Target/StackFrameList.cpp index ed40356bef60..061500152a49 100644 --- a/lldb/source/Target/StackFrameList.cpp +++ b/lldb/source/Target/StackFrameList.cpp @@ -131,6 +131,9 @@ void StackFrameList::ResetCurrentInlinedDepth() { case eStopReasonWatchpoint: case eStopReasonException: case eStopReasonExec: + case eStopReasonFork: + case eStopReasonVFork: + case eStopReasonVForkDone: case eStopReasonSignal: // In all these cases we want to stop in the deepest frame. m_current_inlined_pc = curr_pc; |
