forked from qt-creator/qt-creator
Debugger: Remove support for non-Python GDB
This affects mainly Apple's version of GDB. Mac users are advised to use LLDB, or some recent build of FSF GDB. Change-Id: I6a7fbb591e79f737e12d08b0e881e9e4d1d9660c Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
This commit is contained in:
@@ -75,16 +75,6 @@ GdbRemoteServerEngine::GdbRemoteServerEngine(const DebuggerStartParameters &star
|
||||
SLOT(uploadProcFinished()));
|
||||
}
|
||||
|
||||
GdbEngine::DumperHandling GdbRemoteServerEngine::dumperHandling() const
|
||||
{
|
||||
using namespace ProjectExplorer;
|
||||
const Abi abi = startParameters().toolChainAbi;
|
||||
if (abi.os() == Abi::WindowsOS
|
||||
|| abi.binaryFormat() == Abi::ElfFormat)
|
||||
return DumperLoadedByGdb;
|
||||
return DumperLoadedByGdbPreload;
|
||||
}
|
||||
|
||||
void GdbRemoteServerEngine::setupEngine()
|
||||
{
|
||||
QTC_ASSERT(state() == EngineSetupRequested, qDebug() << state());
|
||||
@@ -378,7 +368,7 @@ void GdbRemoteServerEngine::handleAttach(const GdbResponse &response)
|
||||
}
|
||||
case GdbResultError:
|
||||
if (response.data["msg"].data() == "ptrace: Operation not permitted.") {
|
||||
notifyInferiorSetupFailed(DumperHelper::msgPtraceError(startParameters().startMode));
|
||||
notifyInferiorSetupFailed(msgPtraceError(startParameters().startMode));
|
||||
break;
|
||||
}
|
||||
// if msg != "ptrace: ..." fall through
|
||||
|
||||
Reference in New Issue
Block a user