-gdb-exit has a special return code as well

This commit is contained in:
Oswald Buddenhagen
2009-10-13 17:13:19 +02:00
parent 98b477fc32
commit 70f696d056
7 changed files with 14 additions and 11 deletions

View File

@@ -177,7 +177,7 @@ void PlainGdbAdapter::shutdown()
case InferiorShutDown:
setState(AdapterShuttingDown);
m_engine->postCommand(_("-gdb-exit"), CB(handleExit));
m_engine->postCommand(_("-gdb-exit"), GdbEngine::ExitRequest, CB(handleExit));
return;
/*
@@ -192,7 +192,7 @@ void PlainGdbAdapter::shutdown()
.arg(state()));
m_gdbProc.kill();
}
m_engine->postCommand(_("-gdb-exit"), CB(handleExit));
m_engine->postCommand(_("-gdb-exit"), GdbEngine::ExitRequest, CB(handleExit));
return;
*/
default: