diff options
author | hjk <qtc-committer@nokia.com> | 2010-12-16 19:06:33 +0100 |
---|---|---|
committer | hjk <qtc-committer@nokia.com> | 2010-12-17 11:59:01 +0100 |
commit | 9757e221135f6fac27a10791316e61d20c33ec30 (patch) | |
tree | 9bc7e3fd8a32c2ab1be421454cab96ea66171271 /src/plugins/debugger/pdb/pdbengine.cpp | |
parent | 39c145bf93f06c4b4148e259086b9b583a144ca0 (diff) | |
download | qt-creator-9757e221135f6fac27a10791316e61d20c33ec30.tar.gz |
debugger: introduce the concept of a 'Location', used by gotoLocation
Diffstat (limited to 'src/plugins/debugger/pdb/pdbengine.cpp')
-rw-r--r-- | src/plugins/debugger/pdb/pdbengine.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/debugger/pdb/pdbengine.cpp b/src/plugins/debugger/pdb/pdbengine.cpp index a993e17642..1ae2597389 100644 --- a/src/plugins/debugger/pdb/pdbengine.cpp +++ b/src/plugins/debugger/pdb/pdbengine.cpp @@ -318,7 +318,7 @@ void PdbEngine::activateFrame(int frameIndex) //postCommand("-stack-select-frame " + QByteArray::number(frameIndex), // CB(handleStackSelectFrame)); } - gotoLocation(handler->currentFrame(), true); + gotoLocation(handler->currentFrame()); } void PdbEngine::selectThread(int index) @@ -683,7 +683,7 @@ void PdbEngine::handleResponse(const QByteArray &response0) frame.file = _(fileName); frame.line = lineNumber; if (frame.line > 0 && QFileInfo(frame.file).exists()) { - gotoLocation(frame, true); + gotoLocation(frame); notifyInferiorSpontaneousStop(); return; } @@ -797,7 +797,7 @@ void PdbEngine::handleBacktrace(const PdbResponse &response) if (currentIndex != -1) { currentIndex = frameCount - currentIndex - 1; stackHandler()->setCurrentIndex(currentIndex); - gotoLocation(stackFrames.at(currentIndex), true); + gotoLocation(stackFrames.at(currentIndex)); } updateLocals(); |