forked from qt-creator/qt-creator
Debugger: Fix useFullPath in gdb.
This commit is contained in:
@@ -2179,7 +2179,7 @@ QByteArray GdbEngine::breakpointLocation(BreakpointId id)
|
||||
if (lineNumber == 0)
|
||||
return functionName;
|
||||
const QString fileName = data.useFullPath
|
||||
? breakLocation(data.fileName) : data.fileName;
|
||||
? data.fileName : breakLocation(data.fileName);
|
||||
// The argument is simply a C-quoted version of the argument to the
|
||||
// non-MI "break" command, including the "original" quoting it wants.
|
||||
return "\"\\\"" + GdbMi::escapeCString(fileName).toLocal8Bit() + "\\\":"
|
||||
|
Reference in New Issue
Block a user