Skip to content

Commit

Permalink
Handle watchpoint events
Browse files Browse the repository at this point in the history
Watchpoint event handling is very similar to breakpoint event handling.
So, this commit mostly makes all handling methods template to allow them
handle both breakpoint and watchpoint LLDB objects.
  • Loading branch information
ilya-nozhkin authored and tkrasnukha committed Jan 13, 2021
1 parent 80bd9c5 commit a6cabcc
Show file tree
Hide file tree
Showing 4 changed files with 198 additions and 66 deletions.
1 change: 1 addition & 0 deletions src/MICmnLLDBDebugger.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -389,6 +389,7 @@ bool CMICmnLLDBDebugger::InitSBListener() {

const CMIUtilString strDbgId("CMICmnLLDBDebugger1");
MIuint eventMask = lldb::SBTarget::eBroadcastBitBreakpointChanged |
lldb::SBTarget::eBroadcastBitWatchpointChanged |
lldb::SBTarget::eBroadcastBitModulesLoaded |
lldb::SBTarget::eBroadcastBitModulesUnloaded |
lldb::SBTarget::eBroadcastBitWatchpointChanged |
Expand Down
Loading

0 comments on commit a6cabcc

Please sign in to comment.