[Lldb-commits] [lldb] r139467 - in /lldb/trunk: include/lldb/Interpreter/OptionGroupWatchpoint.h source/Interpreter/OptionGroupWatchpoint.cpp
Johnny Chen
johnny.chen at apple.com
Fri Sep 9 23:22:46 PDT 2011
Author: johnny
Date: Sat Sep 10 01:22:46 2011
New Revision: 139467
URL: http://llvm.org/viewvc/llvm-project?rev=139467&view=rev
Log:
A little bit of cleanup; set watch_mode to eWatchInvalid at the OptionParsingStarting() lifecycle point.
Modified:
lldb/trunk/include/lldb/Interpreter/OptionGroupWatchpoint.h
lldb/trunk/source/Interpreter/OptionGroupWatchpoint.cpp
Modified: lldb/trunk/include/lldb/Interpreter/OptionGroupWatchpoint.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/include/lldb/Interpreter/OptionGroupWatchpoint.h?rev=139467&r1=139466&r2=139467&view=diff
==============================================================================
--- lldb/trunk/include/lldb/Interpreter/OptionGroupWatchpoint.h (original)
+++ lldb/trunk/include/lldb/Interpreter/OptionGroupWatchpoint.h Sat Sep 10 01:22:46 2011
@@ -46,6 +46,7 @@
OptionParsingStarting (CommandInterpreter &interpreter);
typedef enum WatchMode {
+ eWatchInvalid,
eWatchRead,
eWatchWrite,
eWatchReadWrite
Modified: lldb/trunk/source/Interpreter/OptionGroupWatchpoint.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Interpreter/OptionGroupWatchpoint.cpp?rev=139467&r1=139466&r2=139467&view=diff
==============================================================================
--- lldb/trunk/source/Interpreter/OptionGroupWatchpoint.cpp (original)
+++ lldb/trunk/source/Interpreter/OptionGroupWatchpoint.cpp Sat Sep 10 01:22:46 2011
@@ -72,7 +72,7 @@
OptionGroupWatchpoint::OptionParsingStarting (CommandInterpreter &interpreter)
{
watch_variable = false;
- watch_mode = eWatchRead;
+ watch_mode = eWatchInvalid;
}
More information about the lldb-commits
mailing list