summaryrefslogtreecommitdiff
path: root/src/plugins/debugger/gdbengine.cpp
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>2009-05-06 20:54:58 +0200
committerOswald Buddenhagen <oswald.buddenhagen@nokia.com>2009-05-07 12:22:36 +0200
commit115c1f1b675bc5101d67bf402d29f5a2ba896883 (patch)
tree78c6609d74844a90b3c9dbd4781992a35849cdc1 /src/plugins/debugger/gdbengine.cpp
parent6396d000739392daca2077adb1362dd52f6c7e7d (diff)
downloadqt-creator-115c1f1b675bc5101d67bf402d29f5a2ba896883.tar.gz
add missing _() to currently commented out debugMessage() calls
Diffstat (limited to 'src/plugins/debugger/gdbengine.cpp')
-rw-r--r--src/plugins/debugger/gdbengine.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/plugins/debugger/gdbengine.cpp b/src/plugins/debugger/gdbengine.cpp
index 9c8444c933..b0a0b97b61 100644
--- a/src/plugins/debugger/gdbengine.cpp
+++ b/src/plugins/debugger/gdbengine.cpp
@@ -1044,14 +1044,14 @@ void GdbEngine::handleAsyncOutput(const GdbMi &data)
QString funcName = _(frame.findChild("func").data());
QString fileName = QString::fromLocal8Bit(frame.findChild("file").data());
if (isLeavableFunction(funcName, fileName)) {
- //debugMessage("LEAVING" + funcName);
+ //debugMessage(_("LEAVING ") + funcName);
++stepCounter;
q->stepOutExec();
//stepExec();
return;
}
if (isSkippableFunction(funcName, fileName)) {
- //debugMessage("SKIPPING" + funcName);
+ //debugMessage(_("SKIPPING ") + funcName);
++stepCounter;
q->stepExec();
return;
@@ -1071,7 +1071,7 @@ void GdbEngine::handleAsyncOutput(const GdbMi &data)
if (reason == "breakpoint-hit") {
q->showStatusMessage(tr("Stopped at breakpoint."));
GdbMi frame = data.findChild("frame");
- //debugMessage("HIT BREAKPOINT: " + frame.toString());
+ //debugMessage(_("HIT BREAKPOINT: " + frame.toString()));
m_currentFrame = _(frame.findChild("addr").data() + '%' +
frame.findChild("func").data() + '%');
@@ -1272,7 +1272,7 @@ QString GdbEngine::fullName(const QString &fileName)
if (fileName.isEmpty())
return QString();
QString full = m_shortToFullName.value(fileName, QString());
- //debugMessage("RESOLVING: " + fileName + " " + full);
+ //debugMessage(_("RESOLVING: ") + fileName + " " + full);
if (!full.isEmpty())
return full;
QFileInfo fi(fileName);
@@ -1282,7 +1282,7 @@ QString GdbEngine::fullName(const QString &fileName)
#ifdef Q_OS_WIN
full = QDir::cleanPath(full);
#endif
- //debugMessage("STORING: " + fileName + " " + full);
+ //debugMessage(_("STORING: ") + fileName + " " + full);
m_shortToFullName[fileName] = full;
m_fullToShortName[full] = fileName;
return full;
@@ -1575,7 +1575,7 @@ void GdbEngine::handleStart(const GdbResultRecord &response, const QVariant &)
QString msg = _(response.data.findChild("consolestreamoutput").data());
QRegExp needle(_("\\bEntry point: (0x[0-9a-f]+)\\b"));
if (needle.indexIn(msg) != -1) {
- //debugMessage("STREAM: " + msg + " " + needle.cap(1));
+ //debugMessage(_("STREAM: ") + msg + " " + needle.cap(1));
postCommand(_("tbreak *") + needle.cap(1));
m_waitingForFirstBreakpointToBeHit = true;
qq->notifyInferiorRunningRequested();