diff --git a/src/plugins/debugger/gdb/gdbengine.cpp b/src/plugins/debugger/gdb/gdbengine.cpp index f45b63f648ee3f1b102c5623e4276e82b020d415..4be8e4a38e275cc9245fafec7312d1c049f40509 100644 --- a/src/plugins/debugger/gdb/gdbengine.cpp +++ b/src/plugins/debugger/gdb/gdbengine.cpp @@ -937,21 +937,21 @@ void GdbEngine::handleExecJumpToLine(const GdbResponse &response) } #endif -void GdbEngine::handleExecRunToFunction(const GdbResponse &response) -{ - // FIXME: remove this special case as soon as there's a real - // reason given when the temporary breakpoint is hit. - // reight now we get: - // 14*stopped,thread-id="1",frame={addr="0x0000000000403ce4", - // func="foo",args=[{name="str",value="@0x7fff0f450460"}], - // file="main.cpp",fullname="/tmp/g/main.cpp",line="37"} - QTC_ASSERT(state() == InferiorStopping, qDebug() << state()) - setState(InferiorStopped); - showStatusMessage(tr("Function reached. Stopped.")); - GdbMi frame = response.data.findChild("frame"); - StackFrame f = parseStackFrame(frame, 0); - gotoLocation(f, true); -} +//void GdbEngine::handleExecRunToFunction(const GdbResponse &response) +//{ +// // FIXME: remove this special case as soon as there's a real +// // reason given when the temporary breakpoint is hit. +// // reight now we get: +// // 14*stopped,thread-id="1",frame={addr="0x0000000000403ce4", +// // func="foo",args=[{name="str",value="@0x7fff0f450460"}], +// // file="main.cpp",fullname="/tmp/g/main.cpp",line="37"} +// QTC_ASSERT(state() == InferiorStopping, qDebug() << state()) +// setState(InferiorStopped); +// showStatusMessage(tr("Function reached. Stopped.")); +// GdbMi frame = response.data.findChild("frame"); +// StackFrame f = parseStackFrame(frame, 0); +// gotoLocation(f, true); +//} static bool isExitedReason(const QByteArray &reason) { diff --git a/src/plugins/debugger/gdb/gdbengine.h b/src/plugins/debugger/gdb/gdbengine.h index 8c5b3020cdb98db9ab4e929d9bd81e8984773699..ca44662baeb0f89163791c42b57a4ad25a345909 100644 --- a/src/plugins/debugger/gdb/gdbengine.h +++ b/src/plugins/debugger/gdb/gdbengine.h @@ -268,7 +268,7 @@ private: void handleFileExecAndSymbols(const GdbResponse &response); void handleExecContinue(const GdbResponse &response); void handleExecJumpToLine(const GdbResponse &response); - void handleExecRunToFunction(const GdbResponse &response); +// void handleExecRunToFunction(const GdbResponse &response); void handleInfoShared(const GdbResponse &response); void handleShowVersion(const GdbResponse &response); void handleQueryPwd(const GdbResponse &response);