[Lldb-commits] [lldb] r315496 - Remove default case from switch.
Ted Woodward via lldb-commits
lldb-commits at lists.llvm.org
Wed Oct 11 12:38:35 PDT 2017
Author: ted
Date: Wed Oct 11 12:38:35 2017
New Revision: 315496
URL: http://llvm.org/viewvc/llvm-project?rev=315496&view=rev
Log:
Remove default case from switch.
Add case to handle new event lldb::eBreakpointEventTypeAutoContinueChanged.
Modified:
lldb/trunk/tools/lldb-mi/MICmnLLDBDebuggerHandleEvents.cpp
Modified: lldb/trunk/tools/lldb-mi/MICmnLLDBDebuggerHandleEvents.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/tools/lldb-mi/MICmnLLDBDebuggerHandleEvents.cpp?rev=315496&r1=315495&r2=315496&view=diff
==============================================================================
--- lldb/trunk/tools/lldb-mi/MICmnLLDBDebuggerHandleEvents.cpp (original)
+++ lldb/trunk/tools/lldb-mi/MICmnLLDBDebuggerHandleEvents.cpp Wed Oct 11 12:38:35 2017
@@ -217,8 +217,6 @@ bool CMICmnLLDBDebuggerHandleEvents::Han
const lldb::BreakpointEventType eEvent =
lldb::SBBreakpoint::GetBreakpointEventTypeFromEvent(vEvent);
switch (eEvent) {
- default:
- break;
case lldb::eBreakpointEventTypeThreadChanged:
pEventType = "eBreakpointEventTypeThreadChanged";
break;
@@ -264,6 +262,10 @@ bool CMICmnLLDBDebuggerHandleEvents::Han
pEventType = "eBreakpointEventTypeIgnoreChanged";
bOk = HandleEventSBBreakpointCmn(vEvent);
break;
+ case lldb::eBreakpointEventTypeAutoContinueChanged:
+ pEventType = "eBreakpointEventTypeAutoContinueChanged";
+ bOk = HandleEventSBBreakpointCmn(vEvent);
+ break;
}
m_pLog->WriteLog(CMIUtilString::Format(
"##### An SB Breakpoint event occurred: %s", pEventType));
More information about the lldb-commits
mailing list