Commit f220a559 authored by Orgad Shaneh's avatar Orgad Shaneh Committed by hjk
Browse files

GDB: Cleanup file name on stop



Task-number: QTCREATORBUG-7241

Change-Id: I88a764765e7b0360a3b9b4115c5bdd480a243270
Reviewed-by: default avatarhjk <qthjk@ovi.com>
parent c4e5dcb7
......@@ -1307,10 +1307,10 @@ void GdbEngine::handleStopResponse(const GdbMi &data)
const GdbMi frame = data.findChild("frame");
const int lineNumber = frame.findChild("line").data().toInt();
QString fullName = QString::fromUtf8(frame.findChild("fullname").data());
QString fullName = cleanupFullName(QString::fromLocal8Bit(frame.findChild("fullname").data()));
if (fullName.isEmpty())
fullName = QString::fromUtf8(frame.findChild("file").data());
fullName = QString::fromLocal8Bit(frame.findChild("file").data());
if (rid.isValid() && frame.isValid()
&& !isQmlStepBreakpoint(rid)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment