Skip to content

MIDebugSession: remove duplicate unused member functions

Igor Kushnir requested to merge work/midebugsession-rm-unused-functions into master

MIDebugSession::handleNoInferior() is never invoked and its implementation is identical to that of MIDebugSession::programNoApp() except that the former calls handleInferiorFinished(msg) and the latter - programFinished(msg).

MIDebugSession::handleInferiorFinished() in turn is invoked only by handleNoInferior() and its implementation is a verbatim copy of the implementation of MIDebugSession::programFinished().

handleNoInferior() and handleInferiorFinished() were introduced but not used in adc96909. Soon afterwards, the second next commit dced7a0f added the missing identical programNoApp() and programFinished(), which were actually used in the grandparent commit.

Merge request reports