-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

@@ -130,7 +130,7 @@ void AttachGdbAdapter::shutdown()
case InferiorShutDown:
setState(AdapterShuttingDown);
m_engine->postCommand(_("-gdb-exit"), CB(handleExit));
m_engine->postCommand(_("-gdb-exit"), GdbEngine::ExitRequest, CB(handleExit));
return;
default: