[Lldb-commits] [PATCH] Change type of m_step_count to uint_t.

dan sinclair dsinclair at google.com
Fri Jan 9 11:02:15 PST 2015


Hi jingham,

The CommandObjectThread m_step_count variable is current set as int32_t but when it's assigned, and when it's compared to other things, it's used as a uint32_t. This CL changes the type to match the usage.

http://reviews.llvm.org/D6897

Files:
  source/Commands/CommandObjectThread.cpp

Index: source/Commands/CommandObjectThread.cpp
===================================================================
--- source/Commands/CommandObjectThread.cpp
+++ source/Commands/CommandObjectThread.cpp
@@ -454,7 +454,7 @@
         std::string m_avoid_regexp;
         std::string m_step_in_target;
         std::string m_class_name;
-        int32_t m_step_count;
+        uint32_t m_step_count;
     };
 
     CommandObjectThreadStepWithTypeAndScope (CommandInterpreter &interpreter,

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D6897.17935.patch
Type: text/x-patch
Size: 486 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20150109/7ae331d1/attachment.bin>


More information about the lldb-commits mailing list