forked from qt-creator/qt-creator
Debugger: Remove DebuggerEngine::stateAcceptsBreakpointChanges()
Dead code since 3b5ecac238 (the end of the hybrid engine).
Change-Id: Ibb169ff657c8a88fdc52783a6a1f5b79fa0b29e5
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -2349,20 +2349,6 @@ void GdbEngine::handleBreakCondition(const DebuggerResponse &, const Breakpoint
|
||||
updateBreakpoint(bp); // Maybe there's more to do.
|
||||
}
|
||||
|
||||
bool GdbEngine::stateAcceptsBreakpointChanges() const
|
||||
{
|
||||
switch (state()) {
|
||||
case EngineSetupRequested:
|
||||
case InferiorRunRequested:
|
||||
case InferiorRunOk:
|
||||
case InferiorStopRequested:
|
||||
case InferiorStopOk:
|
||||
return true;
|
||||
default:
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
bool GdbEngine::acceptsBreakpoint(const BreakpointParameters &bp) const
|
||||
{
|
||||
if (runParameters().startMode == AttachCore)
|
||||
|
||||
@@ -185,7 +185,6 @@ private: ////////// General Interface //////////
|
||||
////////// Inferior Management //////////
|
||||
|
||||
// This should be always the last call in a function.
|
||||
bool stateAcceptsBreakpointChanges() const final;
|
||||
bool acceptsBreakpoint(const BreakpointParameters &bp) const final;
|
||||
void insertBreakpoint(const Breakpoint &bp) final;
|
||||
void removeBreakpoint(const Breakpoint &bp) final;
|
||||
|
||||
Reference in New Issue
Block a user