summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Schulz <david.schulz@theqtcompany.com>2015-10-16 08:45:36 +0200
committerDavid Schulz <david.schulz@theqtcompany.com>2015-10-16 07:03:50 +0000
commit3f181280ed596a559902f96b2093ef40f5db99e4 (patch)
tree32cca78b0f9ddc81072a260475121cabdad962c1
parente696b6af08dc23f466ca1d2574d327a41af968f9 (diff)
downloadqt-creator-3f181280ed596a559902f96b2093ef40f5db99e4.tar.gz
cdbext: adjust GDMI item names according to the ...
change 525c33f9991766342b41a0518b534836dc60ed69 Change-Id: I778ef6893de24748d1d515e43937368cbe033683 Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
-rw-r--r--src/libs/qtcreatorcdbext/gdbmihelpers.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libs/qtcreatorcdbext/gdbmihelpers.cpp b/src/libs/qtcreatorcdbext/gdbmihelpers.cpp
index b6f8d47944..0fc845869e 100644
--- a/src/libs/qtcreatorcdbext/gdbmihelpers.cpp
+++ b/src/libs/qtcreatorcdbext/gdbmihelpers.cpp
@@ -49,17 +49,17 @@ std::wstring StackFrame::fileName() const
void StackFrame::formatGDBMI(std::ostream &str, unsigned level) const
{
- str << "frame={level=\"" << level << "\",addr=\"0x"
+ str << "frame={level=\"" << level << "\",address=\"0x"
<< std::hex << address << std::dec << '"';
if (!function.empty()) {
// Split into module/function
const std::wstring::size_type exclPos = function.find('!');
if (exclPos == std::wstring::npos) {
- str << ",func=\"" << gdbmiWStringFormat(function) << '"';
+ str << ",function=\"" << gdbmiWStringFormat(function) << '"';
} else {
const std::wstring module = function.substr(0, exclPos);
const std::wstring fn = function.substr(exclPos + 1, function.size() - exclPos - 1);
- str << ",func=\"" << gdbmiWStringFormat(fn)
+ str << ",function=\"" << gdbmiWStringFormat(fn)
<< "\",from=\"" << gdbmiWStringFormat(module) << '"';
}
}