summaryrefslogtreecommitdiffstats
path: root/lldb/tools
diff options
context:
space:
mode:
authorBruce Mitchener <bruce.mitchener@gmail.com>2018-05-29 09:10:46 +0000
committerBruce Mitchener <bruce.mitchener@gmail.com>2018-05-29 09:10:46 +0000
commit4ebdee0a59e900e96b5bc177247213b5e33bb058 (patch)
tree53166535071c214e9e307e851e80f6f8766e77c2 /lldb/tools
parent9c3d1f468a0238c5a5a23499bbf76355f5150801 (diff)
downloadbcm5719-llvm-4ebdee0a59e900e96b5bc177247213b5e33bb058.tar.gz
bcm5719-llvm-4ebdee0a59e900e96b5bc177247213b5e33bb058.zip
Typo fixes.
Reviewers: javed.absar Subscribers: ki.stfu, JDevlieghere, lldb-commits Differential Revision: https://reviews.llvm.org/D47421 llvm-svn: 333399
Diffstat (limited to 'lldb/tools')
-rw-r--r--lldb/tools/debugserver/source/MacOSX/MachProcess.mm4
-rw-r--r--lldb/tools/debugserver/source/RNBServices.cpp4
-rw-r--r--lldb/tools/lldb-mi/MICmnResources.cpp2
-rw-r--r--lldb/tools/lldb-mi/MIReadMe.txt8
4 files changed, 9 insertions, 9 deletions
diff --git a/lldb/tools/debugserver/source/MacOSX/MachProcess.mm b/lldb/tools/debugserver/source/MacOSX/MachProcess.mm
index 95565041e94..2703271ee99 100644
--- a/lldb/tools/debugserver/source/MacOSX/MachProcess.mm
+++ b/lldb/tools/debugserver/source/MacOSX/MachProcess.mm
@@ -1486,7 +1486,7 @@ bool MachProcess::Detach() {
// Resume our task
m_task.Resume();
- // NULL our task out as we have already retored all exception ports
+ // NULL our task out as we have already restored all exception ports
m_task.Clear();
// Clear out any notion of the process we once were
@@ -1797,7 +1797,7 @@ bool MachProcess::DisableBreakpoint(nub_addr_t addr, bool remove) {
break_op_size) {
bool verify = false;
if (bp->IsEnabled()) {
- // Make sure we have the a breakpoint opcode exists at this address
+ // Make sure a breakpoint opcode exists at this address
if (memcmp(curr_break_op, break_op, break_op_size) == 0) {
break_op_found = true;
// We found a valid breakpoint opcode at this address, now restore
diff --git a/lldb/tools/debugserver/source/RNBServices.cpp b/lldb/tools/debugserver/source/RNBServices.cpp
index 9f90f349f3a..b2f4910f885 100644
--- a/lldb/tools/debugserver/source/RNBServices.cpp
+++ b/lldb/tools/debugserver/source/RNBServices.cpp
@@ -80,7 +80,7 @@ int GetProcesses(CFMutableArrayRef plistMutableArray, bool all_users) {
::CFDictionarySetValue(appInfoDict.get(), DTSERVICES_APP_PID_KEY,
pidCFNumber.get());
- // Set the a boolean to indicate if this is the front most
+ // Set a boolean to indicate if this is the front most
::CFDictionarySetValue(appInfoDict.get(), DTSERVICES_APP_FRONTMOST_KEY,
kCFBooleanFalse);
@@ -169,7 +169,7 @@ int ListApplications(std::string &plist, bool opt_runningApps,
pidCFNumber.get());
}
- // Set the a boolean to indicate if this is the front most
+ // Set a boolean to indicate if this is the front most
if (sbsFrontAppID.get() && displayIdentifier &&
(::CFStringCompare(sbsFrontAppID.get(), displayIdentifier, 0) ==
kCFCompareEqualTo))
diff --git a/lldb/tools/lldb-mi/MICmnResources.cpp b/lldb/tools/lldb-mi/MICmnResources.cpp
index b533e699ea8..e32a816fc9f 100644
--- a/lldb/tools/lldb-mi/MICmnResources.cpp
+++ b/lldb/tools/lldb-mi/MICmnResources.cpp
@@ -451,7 +451,7 @@ const CMICmnResources::SRsrcTextData
"'print' error. The option '%s' not found"},
{IDS_CMD_ERR_EXPR_INVALID, "Failed to evaluate expression: %s"},
{IDS_CMD_ERR_ATTACH_FAILED,
- "Command '%s'. Attach to processs failed: %s"},
+ "Command '%s'. Attach to process failed: %s"},
{IDS_CMD_ERR_ATTACH_BAD_ARGS,
"Command '%s'. Must specify either a PID or a Name"}};
diff --git a/lldb/tools/lldb-mi/MIReadMe.txt b/lldb/tools/lldb-mi/MIReadMe.txt
index bc3d4a8d5e5..51316ed879c 100644
--- a/lldb/tools/lldb-mi/MIReadMe.txt
+++ b/lldb/tools/lldb-mi/MIReadMe.txt
@@ -9,7 +9,7 @@ For help information on using the MI driver type at the command line:
lldb-mi --interpreter --help
-A blog about the MI Driver is available on CodePlay's website. ALthough it may not be
+A blog about the MI Driver is available on CodePlay's website. Although it may not be
completely accurate after the recent changes in lldb-mi.
http://www.codeplay.com/portal/lldb-mi-driver---part-1-introduction
@@ -19,7 +19,7 @@ used to aid the debugging of the MI Driver. It also gives warnings about
command's which do not support certain argument or options.
Note any command or text sent to the MI Driver in MI mode that is not a command
-registered in the MI Driver's Command Factory will be rejected and an error messsage
+registered in the MI Driver's Command Factory will be rejected and an error message
will be generated.
All the files prefix with MI are specifically for the MI driver code only.
@@ -29,8 +29,8 @@ File MIDriverMain.cpp contains the executables main() function.
Current limitations:
1. Not all commands and their options have been implemented. Please see
the source code for details.
-2. LLDB-MI may have additinal arguments not used in GDB MI. Please see
-MIExtesnsions.txt
+2. LLDB-MI may have additional arguments not used in GDB MI. Please see
+MIExtensions.txt
=========================================================================
The MI Driver build configuration:
OpenPOWER on IntegriCloud