summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lldb/tools/driver/Driver.cpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/lldb/tools/driver/Driver.cpp b/lldb/tools/driver/Driver.cpp
index e8d25b19684..18fb4cd9f59 100644
--- a/lldb/tools/driver/Driver.cpp
+++ b/lldb/tools/driver/Driver.cpp
@@ -1106,14 +1106,6 @@ Driver::EditLineInputReaderCallback
return bytes_len;
}
-// Intercept when the quit command is called and tell our driver that it is done
-static bool
-QuitCommandOverrideCallback (void *baton, const char **argv)
-{
- ((Driver *)baton)->SetIsDone();
- return true;
-}
-
void
Driver::MainLoop ()
{
@@ -1216,10 +1208,6 @@ Driver::MainLoop ()
SBCommandInterpreter sb_interpreter = m_debugger.GetCommandInterpreter();
- // Intercept when the quit command is called and tell our driver that it is done
- bool quit_success = sb_interpreter.SetCommandOverrideCallback ("quit", QuitCommandOverrideCallback, this);
- assert (quit_success);
-
m_io_channel_ap.reset (new IOChannel(m_editline_slave_fh, editline_output_slave_fh, stdout, stderr, this));
SBCommunication out_comm_2("driver.editline_output");
OpenPOWER on IntegriCloud