[Lldb-commits] [lldb] r170348 - /lldb/trunk/tools/driver/Driver.cpp
Daniel Malea
daniel.malea at intel.com
Mon Dec 17 09:40:07 PST 2012
Author: dmalea
Date: Mon Dec 17 11:40:07 2012
New Revision: 170348
URL: http://llvm.org/viewvc/llvm-project?rev=170348&view=rev
Log:
Initialize m_done to false in Driver constructor to avoid premature exit bug (spotted on Linux)
Patch by Chia-Hung Duan!
Modified:
lldb/trunk/tools/driver/Driver.cpp
Modified: lldb/trunk/tools/driver/Driver.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/tools/driver/Driver.cpp?rev=170348&r1=170347&r2=170348&view=diff
==============================================================================
--- lldb/trunk/tools/driver/Driver.cpp (original)
+++ lldb/trunk/tools/driver/Driver.cpp Mon Dec 17 11:40:07 2012
@@ -118,7 +118,8 @@
m_editline_reader (),
m_io_channel_ap (),
m_option_data (),
- m_waiting_for_command (false)
+ m_waiting_for_command (false),
+ m_done(false)
{
// We want to be able to handle CTRL+D in the terminal to have it terminate
// certain input
More information about the lldb-commits
mailing list