This revision was automatically updated to reflect the committed changes.
Closed by commit rL241289: Fix typos (authored by brucem).

CHANGED PRIOR TO COMMIT
  http://reviews.llvm.org/D10898?vs=28960&id=28966#toc

rL LLVM

http://reviews.llvm.org/D10898

Files:
  lldb/trunk/examples/synthetic/unordered_multi.py
  lldb/trunk/source/Plugins/Platform/Linux/PlatformLinux.cpp
  lldb/trunk/source/Plugins/Platform/MacOSX/PlatformDarwinKernel.cpp
  lldb/trunk/source/Plugins/Process/MacOSX-Kernel/ProcessKDP.cpp
  lldb/trunk/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
  lldb/trunk/test/lang/c/stepping/TestStepAndBreakpoints.py
  lldb/trunk/test/lang/c/stepping/main.c

Index: lldb/trunk/test/lang/c/stepping/main.c
===================================================================
--- lldb/trunk/test/lang/c/stepping/main.c
+++ lldb/trunk/test/lang/c/stepping/main.c
@@ -42,7 +42,7 @@
 
 int complex (int first, int second, int third)
 {
-    return first + second + third;  // Step in targetting complex should stop here
+    return first + second + third;  // Step in targeting complex should stop here
 }
 
 int main (int argc, char const *argv[])
@@ -56,11 +56,11 @@
     int A3 = a(3); // frame select 1, thread step-out while stopped at "c(3)"
     printf("a(3) returns %d\n", A3);
     
-    int A4 = complex (a(1), b(2), c(3)); // Stop here to try step in targetting b.
+    int A4 = complex (a(1), b(2), c(3)); // Stop here to try step in targeting b.
 
-    int A5 = complex (a(2), b(3), c(4)); // Stop here to try step in targetting complex.
+    int A5 = complex (a(2), b(3), c(4)); // Stop here to try step in targeting complex.
 
-    int A6 = complex (a(4), b(5), c(6)); // Stop here to step targetting b and hitting breakpoint.
+    int A6 = complex (a(4), b(5), c(6)); // Stop here to step targeting b and hitting breakpoint.
 
     int A7 = complex (a(5), b(6), c(7)); // Stop here to make sure bogus target steps over.
 
Index: lldb/trunk/test/lang/c/stepping/TestStepAndBreakpoints.py
===================================================================
--- lldb/trunk/test/lang/c/stepping/TestStepAndBreakpoints.py
+++ lldb/trunk/test/lang/c/stepping/TestStepAndBreakpoints.py
@@ -185,17 +185,17 @@
         self.assertTrue (thread.GetFrameAtIndex(0).GetLineEntry().GetLine() == current_line)
         self.assertTrue (thread.GetFrameAtIndex(0).GetLineEntry().GetFileSpec() == current_file)
 
-        # Now we are going to test step in targetting a function:
+        # Now we are going to test step in targeting a function:
 
         break_in_b.SetEnabled (False)
 
-        break_before_complex_1 = target.BreakpointCreateBySourceRegex ('// Stop here to try step in targetting b.', self.main_source_spec)
+        break_before_complex_1 = target.BreakpointCreateBySourceRegex ('// Stop here to try step in targeting b.', self.main_source_spec)
         self.assertTrue(break_before_complex_1, VALID_BREAKPOINT)
 
-        break_before_complex_2 = target.BreakpointCreateBySourceRegex ('// Stop here to try step in targetting complex.', self.main_source_spec)
+        break_before_complex_2 = target.BreakpointCreateBySourceRegex ('// Stop here to try step in targeting complex.', self.main_source_spec)
         self.assertTrue(break_before_complex_2, VALID_BREAKPOINT)
 
-        break_before_complex_3 = target.BreakpointCreateBySourceRegex ('// Stop here to step targetting b and hitting breakpoint.', self.main_source_spec)
+        break_before_complex_3 = target.BreakpointCreateBySourceRegex ('// Stop here to step targeting b and hitting breakpoint.', self.main_source_spec)
         self.assertTrue(break_before_complex_3, VALID_BREAKPOINT)
 
         break_before_complex_4 = target.BreakpointCreateBySourceRegex ('// Stop here to make sure bogus target steps over.', self.main_source_spec)
@@ -218,7 +218,7 @@
         thread.StepInto ("complex")
         self.assertTrue (thread.GetFrameAtIndex(0).GetFunctionName() == "complex")
         
-        # Now continue out and stop at the next call to complex.  This time enable breakpoints in a and c and then step targetting b:
+        # Now continue out and stop at the next call to complex.  This time enable breakpoints in a and c and then step targeting b:
         threads = lldbutil.continue_to_breakpoint (process, break_before_complex_3)
         self.assertTrue (len(threads) == 1)
         thread = threads[0]
@@ -241,7 +241,7 @@
         process.Continue()
         self.assertTrue (thread.GetFrameAtIndex(0).GetFunctionName() == "b")
         
-        # Now continue out and stop at the next call to complex.  This time enable breakpoints in a and c and then step targetting b:
+        # Now continue out and stop at the next call to complex.  This time enable breakpoints in a and c and then step targeting b:
         threads = lldbutil.continue_to_breakpoint (process, break_before_complex_4)
         self.assertTrue (len(threads) == 1)
         thread = threads[0]
Index: lldb/trunk/examples/synthetic/unordered_multi.py
===================================================================
--- lldb/trunk/examples/synthetic/unordered_multi.py
+++ lldb/trunk/examples/synthetic/unordered_multi.py
@@ -15,7 +15,7 @@
 		self.next_element = None
 		self.bucket_count = None
 		try:
-			# unordered_map is made up a a hash_map, which has 4 pieces in it:
+			# unordered_map is made up of a hash_map, which has 4 pieces in it:
 			#   bucket list :
 			#      array of buckets
 			#   p1 (pair):
@@ -27,7 +27,7 @@
 			#      first - max_load_factor
 			#      second - equality operator function
 			#
-			# For display, we actually dont need to go inside the buckets, since 'p1' has a way to iterate over all
+			# For display, we actually don't need to go inside the buckets, since 'p1' has a way to iterate over all
 			# the elements directly.
 			#
 			# We will calculate other values about the map because they will be useful for the summary.
@@ -46,7 +46,7 @@
 			logger >> "Num elements = %r" % self.num_elements
 
 			# save the pointers as we get them
-			#   -- dont access this first element if num_element==0!
+			#   -- don't access this first element if num_element==0!
 			self.elements_cache = []
 			if self.num_elements:
 				self.next_element = self.begin_ptr
Index: lldb/trunk/source/Plugins/Platform/MacOSX/PlatformDarwinKernel.cpp
===================================================================
--- lldb/trunk/source/Plugins/Platform/MacOSX/PlatformDarwinKernel.cpp
+++ lldb/trunk/source/Plugins/Platform/MacOSX/PlatformDarwinKernel.cpp
@@ -80,7 +80,7 @@
 PlatformDarwinKernel::CreateInstance (bool force, const ArchSpec *arch)
 {
     // This is a special plugin that we don't want to activate just based on an ArchSpec for normal
-    // userlnad debugging.  It is only useful in kernel debug sessions and the DynamicLoaderDarwinPlugin
+    // userland debugging.  It is only useful in kernel debug sessions and the DynamicLoaderDarwinPlugin
     // (or a user doing 'platform select') will force the creation of this Platform plugin.
     if (force == false)
         return PlatformSP();
Index: lldb/trunk/source/Plugins/Platform/Linux/PlatformLinux.cpp
===================================================================
--- lldb/trunk/source/Plugins/Platform/Linux/PlatformLinux.cpp
+++ lldb/trunk/source/Plugins/Platform/Linux/PlatformLinux.cpp
@@ -40,7 +40,7 @@
 #include "../../Process/Linux/NativeProcessLinux.h"
 #endif
 
-// Define these constants from Linux mman.h for use when targetting
+// Define these constants from Linux mman.h for use when targeting
 // remote linux systems even when host has different values.
 #define MAP_PRIVATE 2
 #define MAP_ANON 0x20
Index: lldb/trunk/source/Plugins/Process/MacOSX-Kernel/ProcessKDP.cpp
===================================================================
--- lldb/trunk/source/Plugins/Process/MacOSX-Kernel/ProcessKDP.cpp
+++ lldb/trunk/source/Plugins/Process/MacOSX-Kernel/ProcessKDP.cpp
@@ -582,7 +582,7 @@
         log->Printf ("ProcessKDP::%s (pid = %" PRIu64 ")", __FUNCTION__, GetID());
     
     // Even though there is a CPU mask, it doesn't mean we can see each CPU
-    // indivudually, there is really only one. Lets call this thread 1.
+    // individually, there is really only one. Lets call this thread 1.
     ThreadSP thread_sp (old_thread_list.FindThreadByProtocolID(g_kernel_tid, false));
     if (!thread_sp)
         thread_sp = GetKernelThread ();
Index: lldb/trunk/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
===================================================================
--- lldb/trunk/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
+++ lldb/trunk/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
@@ -1113,7 +1113,7 @@
                             {
                                 continue_after_async = false;
 
-                                // We didn't get a a SIGINT or SIGSTOP, so try for a
+                                // We didn't get a SIGINT or SIGSTOP, so try for a
                                 // very brief time (1 ms) to get another stop reply
                                 // packet to make sure it doesn't get in the way
                                 StringExtractorGDBRemote extra_stop_reply_packet;
_______________________________________________
lldb-commits mailing list
lldb-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/lldb-commits

Reply via email to