summaryrefslogtreecommitdiffstats
path: root/lldb/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/scripts')
-rw-r--r--lldb/scripts/Python/interface/SBFileSpec.i6
-rw-r--r--lldb/scripts/Python/interface/SBFrame.i2
-rw-r--r--lldb/scripts/Python/interface/SBThread.i2
-rw-r--r--lldb/scripts/Python/interface/SBValue.i6
-rwxr-xr-xlldb/scripts/checkpoint-llvm.pl2
-rwxr-xr-xlldb/scripts/disasm-gdb-remote.pl12
-rwxr-xr-xlldb/scripts/sed-sources6
7 files changed, 18 insertions, 18 deletions
diff --git a/lldb/scripts/Python/interface/SBFileSpec.i b/lldb/scripts/Python/interface/SBFileSpec.i
index 2195434922c..c153f2bd86f 100644
--- a/lldb/scripts/Python/interface/SBFileSpec.i
+++ b/lldb/scripts/Python/interface/SBFileSpec.i
@@ -10,7 +10,7 @@
namespace lldb {
%feature("docstring",
-"Represents a file specfication that divides the path into a directory and
+"Represents a file specification that divides the path into a directory and
basename. The string values of the paths are put into uniqued string pools
for fast comparisons and efficient memory usage.
@@ -28,7 +28,7 @@ For example, the following code
gets the line entry from the symbol context when a thread is stopped.
It gets the file spec corresponding to the line entry and checks that
-the filename and the directory matches wat we expect.
+the filename and the directory matches what we expect.
") SBFileSpec;
class SBFileSpec
{
@@ -37,7 +37,7 @@ public:
SBFileSpec (const lldb::SBFileSpec &rhs);
- SBFileSpec (const char *path);// Deprected, use SBFileSpec (const char *path, bool resolve)
+ SBFileSpec (const char *path);// Deprecated, use SBFileSpec (const char *path, bool resolve)
SBFileSpec (const char *path, bool resolve);
diff --git a/lldb/scripts/Python/interface/SBFrame.i b/lldb/scripts/Python/interface/SBFrame.i
index 8f36cec97a7..b3f0a7a721a 100644
--- a/lldb/scripts/Python/interface/SBFrame.i
+++ b/lldb/scripts/Python/interface/SBFrame.i
@@ -105,7 +105,7 @@ public:
/// Get the appropriate function name for this frame. Inlined functions in
/// LLDB are represented by Blocks that have inlined function information, so
/// just looking at the SBFunction or SBSymbol for a frame isn't enough.
- /// This function will return the appriopriate function, symbol or inlined
+ /// This function will return the appropriate function, symbol or inlined
/// function name for the frame.
///
/// This function returns:
diff --git a/lldb/scripts/Python/interface/SBThread.i b/lldb/scripts/Python/interface/SBThread.i
index 0371f7b452b..4d69ddaf229 100644
--- a/lldb/scripts/Python/interface/SBThread.i
+++ b/lldb/scripts/Python/interface/SBThread.i
@@ -230,7 +230,7 @@ public:
/// SBProcess::Continue() is called, any threads that aren't suspended will
/// be allowed to run. If any of the SBThread functions for stepping are
/// called (StepOver, StepInto, StepOut, StepInstruction, RunToAddres), the
- /// thread will now be allowed to run and these funtions will simply return.
+ /// thread will now be allowed to run and these functions will simply return.
///
/// Eventually we plan to add support for thread centric debugging where
/// each thread is controlled individually and each thread would broadcast
diff --git a/lldb/scripts/Python/interface/SBValue.i b/lldb/scripts/Python/interface/SBValue.i
index 78e7605224e..281782b5a1a 100644
--- a/lldb/scripts/Python/interface/SBValue.i
+++ b/lldb/scripts/Python/interface/SBValue.i
@@ -179,7 +179,7 @@ public:
//------------------------------------------------------------------
/// Get a child value by index from a value.
///
- /// Structs, unions, classes, arrays and and pointers have child
+ /// Structs, unions, classes, arrays and pointers have child
/// values that can be access by index.
///
/// Structs and unions access child members using a zero based index
@@ -214,7 +214,7 @@ public:
/// The index of the child value to get
///
/// @param[in] use_dynamic
- /// An enumeration that specifies wether to get dynamic values,
+ /// An enumeration that specifies whether to get dynamic values,
/// and also if the target can be run to figure out the dynamic
/// type of the child value.
///
@@ -286,7 +286,7 @@ public:
/// The name of the child value to get
///
/// @param[in] use_dynamic
- /// An enumeration that specifies wether to get dynamic values,
+ /// An enumeration that specifies whether to get dynamic values,
/// and also if the target can be run to figure out the dynamic
/// type of the child value.
///
diff --git a/lldb/scripts/checkpoint-llvm.pl b/lldb/scripts/checkpoint-llvm.pl
index f4c64d7b309..2372e7e509f 100755
--- a/lldb/scripts/checkpoint-llvm.pl
+++ b/lldb/scripts/checkpoint-llvm.pl
@@ -2,7 +2,7 @@
# This script should be pointed to a valid llvm.build folder that
# was created using the "build-llvm.pl" shell script. It will create
-# a new llvm.zip file that can be checked into the respository
+# a new llvm.zip file that can be checked into the repository
# at lldb/llvm.zip
use strict;
diff --git a/lldb/scripts/disasm-gdb-remote.pl b/lldb/scripts/disasm-gdb-remote.pl
index 311684bf5bc..e4c7066ff21 100755
--- a/lldb/scripts/disasm-gdb-remote.pl
+++ b/lldb/scripts/disasm-gdb-remote.pl
@@ -1135,14 +1135,14 @@ sub dump_continue_with_signal_cmd
#----------------------------------------------------------------------
sub dump_A_command
{
- my $cmd = get_exptected_char(\@_, 'A') or print "error: incorrect command letter for argument packet, exptected 'A'\n";
+ my $cmd = get_expected_char(\@_, 'A') or print "error: incorrect command letter for argument packet, expected 'A'\n";
printf("set_program_arguments (\n");
do
{
my $arg_len = get_uint(\@_);
- get_exptected_char(\@_, ',') or die "error: missing comma after argument length...?\n";
+ get_expected_char(\@_, ',') or die "error: missing comma after argument length...?\n";
my $arg_idx = get_uint(\@_);
- get_exptected_char(\@_, ',') or die "error: missing comma after argument number...?\n";
+ get_expected_char(\@_, ',') or die "error: missing comma after argument number...?\n";
my $arg = '';
my $num_hex8_bytes = $arg_len/2;
@@ -1153,7 +1153,7 @@ sub dump_A_command
printf(" <%3u> argv[%u] = '%s'\n", $arg_len, $arg_idx, $arg);
if (@_ > 0)
{
- get_exptected_char(\@_, ',') or die "error: missing comma after argument argument ASCII hex bytes...?\n";
+ get_expected_char(\@_, ',') or die "error: missing comma after argument argument ASCII hex bytes...?\n";
}
} while (@_ > 0);
printf(" )\n");
@@ -1666,7 +1666,7 @@ sub get256
}
#----------------------------------------------------------------------
-# Get a an unsigned integer value by grabbing items off the front of
+# Get an unsigned integer value by grabbing items off the front of
# the array stopping when a non-digit char string is encountered.
#
# The argument for this function needs to be a reference to an array
@@ -1695,7 +1695,7 @@ sub get_uint
# character doesn't match, it won't touch the array. If the first
# character does match, it will shift it off and return it.
#----------------------------------------------------------------------
-sub get_exptected_char
+sub get_expected_char
{
my $arrayref = shift;
my $expected_char = shift;
diff --git a/lldb/scripts/sed-sources b/lldb/scripts/sed-sources
index 7cab3f64f81..c67fb3319ad 100755
--- a/lldb/scripts/sed-sources
+++ b/lldb/scripts/sed-sources
@@ -63,13 +63,13 @@ unexpanding.
=head1 EXAMPLES
# Recursively process all source files in the current working directory
-# and and subdirectories and also expand tabs to spaces. All source files
+# and subdirectories and also expand tabs to spaces. All source files
# will be overwritten with the newly transformed source files.
% sed-sources -e $cwd
# Recursively process all source files in the current working directory
-# and and subdirectories and also unexpand spaces to tabs and preview the
+# and subdirectories and also unexpand spaces to tabs and preview the
# results to STDOUT
% sed-sources -p -u $cwd
@@ -248,4 +248,4 @@ sub main
# call the main function
-main(); \ No newline at end of file
+main();
OpenPOWER on IntegriCloud