forked from qt-creator/qt-creator
Debugger: Compile with QT_NO_CAST_FROM_ASCII.
(except gdbmi.cpp, name_demangler.cpp). Remove some unneeded conversions, change some maps to take QByteArray keys. Change-Id: I010f1251998a441fe5c8c87901b1e0c277c0391c Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
@@ -133,7 +133,7 @@ void CoreGdbAdapter::handleTemporaryTargetCore(const GdbResponse &response)
|
||||
return;
|
||||
}
|
||||
|
||||
m_executable = console.mid(pos1 + 1, pos2 - pos1 - 1);
|
||||
m_executable = QLatin1String(console.mid(pos1 + 1, pos2 - pos1 - 1));
|
||||
// Strip off command line arguments. FIXME: make robust.
|
||||
int idx = m_executable.indexOf(_c(' '));
|
||||
if (idx >= 0)
|
||||
|
||||
Reference in New Issue
Block a user