summaryrefslogtreecommitdiffstats
path: root/languages/cpp/debugger/gdbparser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'languages/cpp/debugger/gdbparser.cpp')
-rw-r--r--languages/cpp/debugger/gdbparser.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/languages/cpp/debugger/gdbparser.cpp b/languages/cpp/debugger/gdbparser.cpp
index 46f5251b..5a8588b1 100644
--- a/languages/cpp/debugger/gdbparser.cpp
+++ b/languages/cpp/debugger/gdbparser.cpp
@@ -138,7 +138,7 @@ TQString GDBParser::undecorateValue(DataType type, const TQString& s)
if (value[0] == '@')
{
// It's a reference, we need to show just the value.
- if (int i = value.tqfind(":"))
+ if (int i = value.find(":"))
{
value = value.mid(i+2);
}
@@ -149,7 +149,7 @@ TQString GDBParser::undecorateValue(DataType type, const TQString& s)
}
}
- if (value.tqfind("Cannot access memory") == 0)
+ if (value.find("Cannot access memory") == 0)
value = "(inaccessible)";
return value.stripWhiteSpace();