forked from qt-creator/qt-creator
Debugger: Fix warning, remove unused AttachTcf mode.
This commit is contained in:
@@ -309,7 +309,6 @@ static inline bool validMode(DebuggerStartMode sm)
|
|||||||
{
|
{
|
||||||
switch (sm) {
|
switch (sm) {
|
||||||
case NoStartMode:
|
case NoStartMode:
|
||||||
case AttachTcf:
|
|
||||||
case AttachCore:
|
case AttachCore:
|
||||||
case StartRemoteGdb:
|
case StartRemoteGdb:
|
||||||
return false;
|
return false;
|
||||||
|
@@ -150,7 +150,6 @@ enum DebuggerStartMode
|
|||||||
StartExternal, // Start binary found in file system
|
StartExternal, // Start binary found in file system
|
||||||
AttachExternal, // Attach to running process by process id
|
AttachExternal, // Attach to running process by process id
|
||||||
AttachCrashedExternal, // Attach to crashed process by process id
|
AttachCrashedExternal, // Attach to crashed process by process id
|
||||||
AttachTcf, // Attach to a running Target Communication Framework agent
|
|
||||||
AttachCore, // Attach to a core file
|
AttachCore, // Attach to a core file
|
||||||
AttachToRemote, // Start and attach to a remote process
|
AttachToRemote, // Start and attach to a remote process
|
||||||
StartRemoteGdb, // Start gdb itself remotely
|
StartRemoteGdb, // Start gdb itself remotely
|
||||||
|
@@ -774,6 +774,8 @@ DebuggerEngine *DebuggerRunControlFactory::createEngine
|
|||||||
return createQmlEngine(sp, masterEngine);
|
return createQmlEngine(sp, masterEngine);
|
||||||
case LldbEngineType:
|
case LldbEngineType:
|
||||||
return createLldbEngine(sp);
|
return createLldbEngine(sp);
|
||||||
|
default:
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
*errorMessage = DebuggerRunControl::tr("Unable to create a debugger engine of the type '%1'").
|
*errorMessage = DebuggerRunControl::tr("Unable to create a debugger engine of the type '%1'").
|
||||||
arg(_(engineTypeName(et)));
|
arg(_(engineTypeName(et)));
|
||||||
|
Reference in New Issue
Block a user