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:
hjk
2020-12-18 16:27:44 +01:00
parent 0edebcfa9c
commit f2f139e90e
9 changed files with 0 additions and 61 deletions

View File

@@ -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)

View File

@@ -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;