summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xlldb/examples/python/symbolication.py2
-rw-r--r--lldb/examples/summaries/cocoa/CFArray.py2
-rw-r--r--lldb/examples/synthetic/gnu_libstdcpp.py4
-rw-r--r--lldb/examples/synthetic/libcxx.py4
-rw-r--r--lldb/include/lldb/lldb-private-types.h2
-rw-r--r--lldb/source/API/SBProcess.cpp2
-rw-r--r--lldb/source/Core/RegisterValue.cpp2
-rw-r--r--lldb/tools/debugserver/source/RNBRemote.cpp2
-rw-r--r--lldb/www/python_reference/lldb.formatters.cpp.gnu_libstdcpp-pysrc.html4
-rw-r--r--lldb/www/python_reference/lldb.formatters.cpp.libcxx-pysrc.html4
10 files changed, 14 insertions, 14 deletions
diff --git a/lldb/examples/python/symbolication.py b/lldb/examples/python/symbolication.py
index d5215ad922d..2f2a274dbc4 100755
--- a/lldb/examples/python/symbolication.py
+++ b/lldb/examples/python/symbolication.py
@@ -223,7 +223,7 @@ class Image:
@classmethod
def InitWithSBTargetAndSBModule(cls, target, module):
- '''Initalize this Image object with a module from a target.'''
+ '''Initialize this Image object with a module from a target.'''
obj = cls(module.file.fullpath, module.uuid)
obj.resolved_path = module.platform_file.fullpath
obj.resolved = True
diff --git a/lldb/examples/summaries/cocoa/CFArray.py b/lldb/examples/summaries/cocoa/CFArray.py
index 11188d04565..5068875b5b3 100644
--- a/lldb/examples/summaries/cocoa/CFArray.py
+++ b/lldb/examples/summaries/cocoa/CFArray.py
@@ -147,7 +147,7 @@ class NSArray_SynthProvider:
return
self.wrapper.update()
- # this code acts as our defense against NULL and unitialized
+ # this code acts as our defense against NULL and uninitialized
# NSArray pointers, which makes it much longer than it would be otherwise
def make_wrapper(self):
logger = lldb.formatters.Logger.Logger()
diff --git a/lldb/examples/synthetic/gnu_libstdcpp.py b/lldb/examples/synthetic/gnu_libstdcpp.py
index 90cbcd7c70b..654266fd353 100644
--- a/lldb/examples/synthetic/gnu_libstdcpp.py
+++ b/lldb/examples/synthetic/gnu_libstdcpp.py
@@ -27,7 +27,7 @@ class StdListSynthProvider:
logger = lldb.formatters.Logger.Logger()
return node.GetValueAsUnsigned()
- # Floyd's cyle-finding algorithm
+ # Floyd's cycle-finding algorithm
# try to detect if this list has a loop
def has_loop(self):
global _list_uses_loop_detector
@@ -154,7 +154,7 @@ class StdVectorSynthProvider:
end_val = self.end.GetValueAsUnsigned(0)
# Before a vector has been constructed, it will contain bad values
# so we really need to be careful about the length we return since
- # unitialized data can cause us to return a huge number. We need
+ # uninitialized data can cause us to return a huge number. We need
# to also check for any of the start, finish or end of storage values
# being zero (NULL). If any are, then this vector has not been
# initialized yet and we should return zero
diff --git a/lldb/examples/synthetic/libcxx.py b/lldb/examples/synthetic/libcxx.py
index e1f0fa9eb6e..6623fea097c 100644
--- a/lldb/examples/synthetic/libcxx.py
+++ b/lldb/examples/synthetic/libcxx.py
@@ -73,7 +73,7 @@ class stdvector_SynthProvider:
finish_val = self.finish.GetValueAsUnsigned(0)
# Before a vector has been constructed, it will contain bad values
# so we really need to be careful about the length we return since
- # unitialized data can cause us to return a huge number. We need
+ # uninitialized data can cause us to return a huge number. We need
# to also check for any of the start, finish or end of storage values
# being zero (NULL). If any are, then this vector has not been
# initialized yet and we should return zero
@@ -219,7 +219,7 @@ class stdlist_SynthProvider:
logger = lldb.formatters.Logger.Logger()
return node.GetValueAsUnsigned()
- # Floyd's cyle-finding algorithm
+ # Floyd's cycle-finding algorithm
# try to detect if this list has a loop
def has_loop(self):
global _list_uses_loop_detector
diff --git a/lldb/include/lldb/lldb-private-types.h b/lldb/include/lldb/lldb-private-types.h
index 21811c315ad..eec63010f78 100644
--- a/lldb/include/lldb/lldb-private-types.h
+++ b/lldb/include/lldb/lldb-private-types.h
@@ -51,7 +51,7 @@ namespace lldb_private
// for this register will be valid. For example, the value list for ah
// would be eax (x86) or rax (x64).
uint32_t *invalidate_regs; // List of registers (terminated with LLDB_INVALID_REGNUM). If this value is not
- // null, all registers in this list will be invalidateed when the value of this
+ // null, all registers in this list will be invalidated when the value of this
// register changes. For example, the invalidate list for eax would be rax
// ax, ah, and al.
} RegisterInfo;
diff --git a/lldb/source/API/SBProcess.cpp b/lldb/source/API/SBProcess.cpp
index 01bfaf9aff0..95deabc2823 100644
--- a/lldb/source/API/SBProcess.cpp
+++ b/lldb/source/API/SBProcess.cpp
@@ -409,7 +409,7 @@ SBProcess::GetAsyncProfileData(char *dst, size_t dst_len) const
Log *log(lldb_private::GetLogIfAllCategoriesSet (LIBLLDB_LOG_API));
if (log)
- log->Printf ("SBProcess(%p)::GetProfileData (dst=\"%.*s\", dst_len=%" PRIu64 ") => %" PRIu64,
+ log->Printf ("SBProcess(%p)::GetAsyncProfileData (dst=\"%.*s\", dst_len=%" PRIu64 ") => %" PRIu64,
static_cast<void*>(process_sp.get()),
static_cast<int>(bytes_read), dst,
static_cast<uint64_t>(dst_len),
diff --git a/lldb/source/Core/RegisterValue.cpp b/lldb/source/Core/RegisterValue.cpp
index e1632d6e005..d4ba9989c6a 100644
--- a/lldb/source/Core/RegisterValue.cpp
+++ b/lldb/source/Core/RegisterValue.cpp
@@ -217,7 +217,7 @@ RegisterValue::SetFromMemoryData (const RegisterInfo *reg_info,
{
buffer.byte_order = src_byte_order;
// Make sure to set the buffer length of the destination buffer to avoid
- // problems due to uninitalized variables.
+ // problems due to uninitialized variables.
buffer.length = src_len;
}
diff --git a/lldb/tools/debugserver/source/RNBRemote.cpp b/lldb/tools/debugserver/source/RNBRemote.cpp
index 0a352afb865..1f751de45e7 100644
--- a/lldb/tools/debugserver/source/RNBRemote.cpp
+++ b/lldb/tools/debugserver/source/RNBRemote.cpp
@@ -236,7 +236,7 @@ RNBRemote::CreatePacketTable ()
t.push_back (Packet (continue_with_sig, &RNBRemote::HandlePacket_C, NULL, "C", "Continue with signal"));
t.push_back (Packet (detach, &RNBRemote::HandlePacket_D, NULL, "D", "Detach gdb from remote system"));
// t.push_back (Packet (step_inferior_one_cycle, &RNBRemote::HandlePacket_UNIMPLEMENTED, NULL, "i", "Step inferior by one clock cycle"));
-// t.push_back (Packet (signal_and_step_inf_one_cycle, &RNBRemote::HandlePacket_UNIMPLEMENTED, NULL, "I", "Signal inferior, then step one clock cyle"));
+// t.push_back (Packet (signal_and_step_inf_one_cycle, &RNBRemote::HandlePacket_UNIMPLEMENTED, NULL, "I", "Signal inferior, then step one clock cycle"));
t.push_back (Packet (kill, &RNBRemote::HandlePacket_k, NULL, "k", "Kill"));
// t.push_back (Packet (restart, &RNBRemote::HandlePacket_UNIMPLEMENTED, NULL, "R", "Restart inferior"));
// t.push_back (Packet (search_mem_backwards, &RNBRemote::HandlePacket_UNIMPLEMENTED, NULL, "t", "Search memory backwards"));
diff --git a/lldb/www/python_reference/lldb.formatters.cpp.gnu_libstdcpp-pysrc.html b/lldb/www/python_reference/lldb.formatters.cpp.gnu_libstdcpp-pysrc.html
index cdeddd3ecd3..27a89c082ec 100644
--- a/lldb/www/python_reference/lldb.formatters.cpp.gnu_libstdcpp-pysrc.html
+++ b/lldb/www/python_reference/lldb.formatters.cpp.gnu_libstdcpp-pysrc.html
@@ -116,7 +116,7 @@ lldb.formatters.Logger.Logger" class="py-name" href="#" onclick="return doclink(
lldb.formatters.Logger.Logger" class="py-name" href="#" onclick="return doclink('link-23', 'Logger', 'link-2');">Logger</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L28"></a><tt class="py-lineno"> 28</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">node</tt><tt class="py-op">.</tt><tt id="link-24" class="py-name" targets="Method lldb.SBValue.GetValueAsUnsigned()=lldb.SBValue-class.html#GetValueAsUnsigned"><a title="lldb.SBValue.GetValueAsUnsigned" class="py-name" href="#" onclick="return doclink('link-24', 'GetValueAsUnsigned', 'link-24');">GetValueAsUnsigned</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
</div><a name="L29"></a><tt class="py-lineno"> 29</tt> <tt class="py-line"> </tt>
-<a name="L30"></a><tt class="py-lineno"> 30</tt> <tt class="py-line"> <tt class="py-comment"># Floyd's cyle-finding algorithm</tt> </tt>
+<a name="L30"></a><tt class="py-lineno"> 30</tt> <tt class="py-line"> <tt class="py-comment"># Floyd's cycle-finding algorithm</tt> </tt>
<a name="L31"></a><tt class="py-lineno"> 31</tt> <tt class="py-line"> <tt class="py-comment"># try to detect if this list has a loop</tt> </tt>
<a name="StdListSynthProvider.has_loop"></a><div id="StdListSynthProvider.has_loop-def"><a name="L32"></a><tt class="py-lineno"> 32</tt> <a class="py-toggle" href="#" id="StdListSynthProvider.has_loop-toggle" onclick="return toggle('StdListSynthProvider.has_loop');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="lldb.formatters.cpp.gnu_libstdcpp.StdListSynthProvider-class.html#has_loop">has_loop</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="StdListSynthProvider.has_loop-collapsed" style="display:none;" pad="+++" indent="++++++++++++"></div><div id="StdListSynthProvider.has_loop-expanded"><a name="L33"></a><tt class="py-lineno"> 33</tt> <tt class="py-line"> <tt class="py-keyword">global</tt> <tt id="link-25" class="py-name" targets="Variable lldb.formatters.cpp.gnu_libstdcpp._list_uses_loop_detector=lldb.formatters.cpp.gnu_libstdcpp-module.html#_list_uses_loop_detector,Variable lldb.formatters.cpp.libcxx._list_uses_loop_detector=lldb.formatters.cpp.libcxx-module.html#_list_uses_loop_detector"><a title="lldb.formatters.cpp.gnu_libstdcpp._list_uses_loop_detector
@@ -410,7 +410,7 @@ lldb.formatters.Logger.Logger" class="py-name" href="#" onclick="return doclink(
<a name="L163"></a><tt class="py-lineno">163</tt> <tt class="py-line"> <tt class="py-name">end_val</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">end</tt><tt class="py-op">.</tt><tt id="link-149" class="py-name"><a title="lldb.SBValue.GetValueAsUnsigned" class="py-name" href="#" onclick="return doclink('link-149', 'GetValueAsUnsigned', 'link-24');">GetValueAsUnsigned</a></tt><tt class="py-op">(</tt><tt class="py-number">0</tt><tt class="py-op">)</tt> </tt>
<a name="L164"></a><tt class="py-lineno">164</tt> <tt class="py-line"> <tt class="py-comment"># Before a vector has been constructed, it will contain bad values</tt> </tt>
<a name="L165"></a><tt class="py-lineno">165</tt> <tt class="py-line"> <tt class="py-comment"># so we really need to be careful about the length we return since</tt> </tt>
-<a name="L166"></a><tt class="py-lineno">166</tt> <tt class="py-line"> <tt class="py-comment"># unitialized data can cause us to return a huge number. We need</tt> </tt>
+<a name="L166"></a><tt class="py-lineno">166</tt> <tt class="py-line"> <tt class="py-comment"># uninitialized data can cause us to return a huge number. We need</tt> </tt>
<a name="L167"></a><tt class="py-lineno">167</tt> <tt class="py-line"> <tt class="py-comment"># to also check for any of the start, finish or end of storage values</tt> </tt>
<a name="L168"></a><tt class="py-lineno">168</tt> <tt class="py-line"> <tt class="py-comment"># being zero (NULL). If any are, then this vector has not been </tt> </tt>
<a name="L169"></a><tt class="py-lineno">169</tt> <tt class="py-line"> <tt class="py-comment"># initialized yet and we should return zero</tt> </tt>
diff --git a/lldb/www/python_reference/lldb.formatters.cpp.libcxx-pysrc.html b/lldb/www/python_reference/lldb.formatters.cpp.libcxx-pysrc.html
index ca7ff5d1d3c..ea4f9e667cb 100644
--- a/lldb/www/python_reference/lldb.formatters.cpp.libcxx-pysrc.html
+++ b/lldb/www/python_reference/lldb.formatters.cpp.libcxx-pysrc.html
@@ -188,7 +188,7 @@ lldb.formatters.Logger.Logger" class="py-name" href="#" onclick="return doclink(
<a name="L73"></a><tt class="py-lineno"> 73</tt> <tt class="py-line"> <tt class="py-name">finish_val</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">finish</tt><tt class="py-op">.</tt><tt id="link-56" class="py-name"><a title="lldb.SBValue.GetValueAsUnsigned" class="py-name" href="#" onclick="return doclink('link-56', 'GetValueAsUnsigned', 'link-21');">GetValueAsUnsigned</a></tt><tt class="py-op">(</tt><tt class="py-number">0</tt><tt class="py-op">)</tt> </tt>
<a name="L74"></a><tt class="py-lineno"> 74</tt> <tt class="py-line"> <tt class="py-comment"># Before a vector has been constructed, it will contain bad values</tt> </tt>
<a name="L75"></a><tt class="py-lineno"> 75</tt> <tt class="py-line"> <tt class="py-comment"># so we really need to be careful about the length we return since</tt> </tt>
-<a name="L76"></a><tt class="py-lineno"> 76</tt> <tt class="py-line"> <tt class="py-comment"># unitialized data can cause us to return a huge number. We need</tt> </tt>
+<a name="L76"></a><tt class="py-lineno"> 76</tt> <tt class="py-line"> <tt class="py-comment"># uninitialized data can cause us to return a huge number. We need</tt> </tt>
<a name="L77"></a><tt class="py-lineno"> 77</tt> <tt class="py-line"> <tt class="py-comment"># to also check for any of the start, finish or end of storage values</tt> </tt>
<a name="L78"></a><tt class="py-lineno"> 78</tt> <tt class="py-line"> <tt class="py-comment"># being zero (NULL). If any are, then this vector has not been </tt> </tt>
<a name="L79"></a><tt class="py-lineno"> 79</tt> <tt class="py-line"> <tt class="py-comment"># initialized yet and we should return zero</tt> </tt>
@@ -543,7 +543,7 @@ lldb.formatters.Logger.Logger" class="py-name" href="#" onclick="return doclink(
lldb.formatters.Logger.Logger" class="py-name" href="#" onclick="return doclink('link-172', 'Logger', 'link-3');">Logger</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L220"></a><tt class="py-lineno">220</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">node</tt><tt class="py-op">.</tt><tt id="link-173" class="py-name"><a title="lldb.SBValue.GetValueAsUnsigned" class="py-name" href="#" onclick="return doclink('link-173', 'GetValueAsUnsigned', 'link-21');">GetValueAsUnsigned</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
</div><a name="L221"></a><tt class="py-lineno">221</tt> <tt class="py-line"> </tt>
-<a name="L222"></a><tt class="py-lineno">222</tt> <tt class="py-line"> <tt class="py-comment"># Floyd's cyle-finding algorithm</tt> </tt>
+<a name="L222"></a><tt class="py-lineno">222</tt> <tt class="py-line"> <tt class="py-comment"># Floyd's cycle-finding algorithm</tt> </tt>
<a name="L223"></a><tt class="py-lineno">223</tt> <tt class="py-line"> <tt class="py-comment"># try to detect if this list has a loop</tt> </tt>
<a name="stdlist_SynthProvider.has_loop"></a><div id="stdlist_SynthProvider.has_loop-def"><a name="L224"></a><tt class="py-lineno">224</tt> <a class="py-toggle" href="#" id="stdlist_SynthProvider.has_loop-toggle" onclick="return toggle('stdlist_SynthProvider.has_loop');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="lldb.formatters.cpp.libcxx.stdlist_SynthProvider-class.html#has_loop">has_loop</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="stdlist_SynthProvider.has_loop-collapsed" style="display:none;" pad="+++" indent="++++++++++++"></div><div id="stdlist_SynthProvider.has_loop-expanded"><a name="L225"></a><tt class="py-lineno">225</tt> <tt class="py-line"> <tt class="py-keyword">global</tt> <tt id="link-174" class="py-name" targets="Variable lldb.formatters.cpp.gnu_libstdcpp._list_uses_loop_detector=lldb.formatters.cpp.gnu_libstdcpp-module.html#_list_uses_loop_detector,Variable lldb.formatters.cpp.libcxx._list_uses_loop_detector=lldb.formatters.cpp.libcxx-module.html#_list_uses_loop_detector"><a title="lldb.formatters.cpp.gnu_libstdcpp._list_uses_loop_detector
OpenPOWER on IntegriCloud