summaryrefslogtreecommitdiffstats
path: root/lldb/tools/debugserver/source
diff options
context:
space:
mode:
authorBruce Mitchener <bruce.mitchener@gmail.com>2014-07-08 18:05:41 +0000
committerBruce Mitchener <bruce.mitchener@gmail.com>2014-07-08 18:05:41 +0000
commitaaa0ba31a996b189b8985e5d05559c254c05d3f8 (patch)
tree6ea608bed1677877a10c908ff1806db2b3d5fc5f /lldb/tools/debugserver/source
parentc3aba6aafa2c85ef01001fc223b2f988d5e76bfe (diff)
downloadbcm5719-llvm-aaa0ba31a996b189b8985e5d05559c254c05d3f8.tar.gz
bcm5719-llvm-aaa0ba31a996b189b8985e5d05559c254c05d3f8.zip
Fix typos.
llvm-svn: 212553
Diffstat (limited to 'lldb/tools/debugserver/source')
-rw-r--r--lldb/tools/debugserver/source/DNB.cpp6
-rw-r--r--lldb/tools/debugserver/source/DNB.h2
-rw-r--r--lldb/tools/debugserver/source/MacOSX/MachProcess.mm2
-rw-r--r--lldb/tools/debugserver/source/MacOSX/arm/DNBArchImpl.cpp4
-rw-r--r--lldb/tools/debugserver/source/MacOSX/arm64/DNBArchImplARM64.cpp4
-rw-r--r--lldb/tools/debugserver/source/MacOSX/i386/DNBArchImplI386.cpp4
-rw-r--r--lldb/tools/debugserver/source/MacOSX/ppc/DNBArchImpl.cpp2
-rw-r--r--lldb/tools/debugserver/source/MacOSX/x86_64/DNBArchImplX86_64.cpp4
8 files changed, 14 insertions, 14 deletions
diff --git a/lldb/tools/debugserver/source/DNB.cpp b/lldb/tools/debugserver/source/DNB.cpp
index 8380752f54e..4114aac4de2 100644
--- a/lldb/tools/debugserver/source/DNB.cpp
+++ b/lldb/tools/debugserver/source/DNB.cpp
@@ -321,7 +321,7 @@ nub_process_t
DNBProcessLaunch (const char *path,
char const *argv[],
const char *envp[],
- const char *working_directory, // NULL => dont' change, non-NULL => set working directory for inferior to this
+ const char *working_directory, // NULL => don't change, non-NULL => set working directory for inferior to this
const char *stdin_path,
const char *stdout_path,
const char *stderr_path,
@@ -1560,13 +1560,13 @@ DNBPrintf (nub_process_t pid, nub_thread_t tid, nub_addr_t base_addr, FILE *file
case 'a': // Print the current address
++f;
fprintf_format += "ll";
- fprintf_format += *f; // actual format to show address with folows the 'a' ("%_ax")
+ fprintf_format += *f; // actual format to show address with follows the 'a' ("%_ax")
fprintf (file, fprintf_format.c_str(), addr);
break;
case 'o': // offset from base address
++f;
fprintf_format += "ll";
- fprintf_format += *f; // actual format to show address with folows the 'a' ("%_ox")
+ fprintf_format += *f; // actual format to show address with follows the 'a' ("%_ox")
fprintf(file, fprintf_format.c_str(), addr - base_addr);
break;
default:
diff --git a/lldb/tools/debugserver/source/DNB.h b/lldb/tools/debugserver/source/DNB.h
index 6b9268ca24e..177c4bdfffe 100644
--- a/lldb/tools/debugserver/source/DNB.h
+++ b/lldb/tools/debugserver/source/DNB.h
@@ -39,7 +39,7 @@ nub_bool_t DNBSetArchitecture (const char *arch);
nub_process_t DNBProcessLaunch (const char *path,
char const *argv[],
const char *envp[],
- const char *working_directory, // NULL => dont' change, non-NULL => set working directory for inferior to this
+ const char *working_directory, // NULL => don't change, non-NULL => set working directory for inferior to this
const char *stdin_path,
const char *stdout_path,
const char *stderr_path,
diff --git a/lldb/tools/debugserver/source/MacOSX/MachProcess.mm b/lldb/tools/debugserver/source/MacOSX/MachProcess.mm
index e4830d6abff..565a4ef5627 100644
--- a/lldb/tools/debugserver/source/MacOSX/MachProcess.mm
+++ b/lldb/tools/debugserver/source/MacOSX/MachProcess.mm
@@ -1954,7 +1954,7 @@ MachProcess::LaunchForDebug
const char *path,
char const *argv[],
char const *envp[],
- const char *working_directory, // NULL => dont' change, non-NULL => set working directory for inferior to this
+ const char *working_directory, // NULL => don't change, non-NULL => set working directory for inferior to this
const char *stdin_path,
const char *stdout_path,
const char *stderr_path,
diff --git a/lldb/tools/debugserver/source/MacOSX/arm/DNBArchImpl.cpp b/lldb/tools/debugserver/source/MacOSX/arm/DNBArchImpl.cpp
index 3282d70aed2..2cfdd648db1 100644
--- a/lldb/tools/debugserver/source/MacOSX/arm/DNBArchImpl.cpp
+++ b/lldb/tools/debugserver/source/MacOSX/arm/DNBArchImpl.cpp
@@ -44,7 +44,7 @@
#define BAS_IMVA_2_3 ((uint32_t)(3u << 7))
#define BAS_IMVA_ALL ((uint32_t)(0xfu << 5))
-// Break only in priveleged or user mode
+// Break only in privileged or user mode
#define S_RSVD ((uint32_t)(0u << 1))
#define S_PRIV ((uint32_t)(1u << 1))
#define S_USER ((uint32_t)(2u << 1))
@@ -1251,7 +1251,7 @@ DNBArchMachARM::GetWatchAddress(const DBG &debug_state, uint32_t hw_index)
}
//----------------------------------------------------------------------
-// Register information defintions for 32 bit ARMV7.
+// Register information definitions for 32 bit ARMV7.
//----------------------------------------------------------------------
enum gpr_regnums
{
diff --git a/lldb/tools/debugserver/source/MacOSX/arm64/DNBArchImplARM64.cpp b/lldb/tools/debugserver/source/MacOSX/arm64/DNBArchImplARM64.cpp
index 909fac69f31..e8a486fbeb2 100644
--- a/lldb/tools/debugserver/source/MacOSX/arm64/DNBArchImplARM64.cpp
+++ b/lldb/tools/debugserver/source/MacOSX/arm64/DNBArchImplARM64.cpp
@@ -948,7 +948,7 @@ DNBArchMachARM64::GetWatchAddress(const DBG &debug_state, uint32_t hw_index)
}
//----------------------------------------------------------------------
-// Register information defintions for 64 bit ARMv8.
+// Register information definitions for 64 bit ARMv8.
//----------------------------------------------------------------------
enum gpr_regnums
{
@@ -1405,7 +1405,7 @@ DNBArchMachARM64::g_gpr_registers[] =
DEFINE_GPR_NAME (pc, NULL, GENERIC_REGNUM_PC),
// in armv7 we specify that writing to the CPSR should invalidate r8-12, sp, lr.
- // this should be spcified for arm64 too even though debugserver is only used for
+ // this should be specified for arm64 too even though debugserver is only used for
// userland debugging.
{ e_regSetGPR, gpr_cpsr, "cpsr", "flags", Uint, Hex, 4, GPR_OFFSET_NAME(cpsr), dwarf_elr_mode, dwarf_elr_mode, INVALID_NUB_REGNUM, gdb_gpr_cpsr, NULL, NULL },
diff --git a/lldb/tools/debugserver/source/MacOSX/i386/DNBArchImplI386.cpp b/lldb/tools/debugserver/source/MacOSX/i386/DNBArchImplI386.cpp
index faa534ef79e..08dcb35b250 100644
--- a/lldb/tools/debugserver/source/MacOSX/i386/DNBArchImplI386.cpp
+++ b/lldb/tools/debugserver/source/MacOSX/i386/DNBArchImplI386.cpp
@@ -809,7 +809,7 @@ DNBArchImplI386::IsWatchpointVacant(const DBG &debug_state, uint32_t hw_index)
return (debug_state.__dr7 & (3 << (2*hw_index))) == 0;
}
-// Resets local copy of debug status register to wait for the next debug excpetion.
+// Resets local copy of debug status register to wait for the next debug exception.
void
DNBArchImplI386::ClearWatchpointHits(DBG &debug_state)
{
@@ -1012,7 +1012,7 @@ DNBArchImplI386::EnableHardwareSingleStep (bool enable)
//----------------------------------------------------------------------
-// Register information defintions
+// Register information definitions
//----------------------------------------------------------------------
#define DEFINE_GPR_PSEUDO_16(reg16,reg32) { e_regSetGPR, gpr_##reg16, #reg16, NULL, Uint, Hex, 2, 0,INVALID_NUB_REGNUM, INVALID_NUB_REGNUM, INVALID_NUB_REGNUM, INVALID_NUB_REGNUM, g_contained_##reg32, g_invalidate_##reg32 }
diff --git a/lldb/tools/debugserver/source/MacOSX/ppc/DNBArchImpl.cpp b/lldb/tools/debugserver/source/MacOSX/ppc/DNBArchImpl.cpp
index 2feb1f49f33..bd275188420 100644
--- a/lldb/tools/debugserver/source/MacOSX/ppc/DNBArchImpl.cpp
+++ b/lldb/tools/debugserver/source/MacOSX/ppc/DNBArchImpl.cpp
@@ -204,7 +204,7 @@ DNBArchMachPPC::EnableHardwareSingleStep (bool enable)
}
//----------------------------------------------------------------------
-// Register information defintions for 32 bit PowerPC.
+// Register information definitions for 32 bit PowerPC.
//----------------------------------------------------------------------
enum gpr_regnums
diff --git a/lldb/tools/debugserver/source/MacOSX/x86_64/DNBArchImplX86_64.cpp b/lldb/tools/debugserver/source/MacOSX/x86_64/DNBArchImplX86_64.cpp
index f683635d926..da30f761341 100644
--- a/lldb/tools/debugserver/source/MacOSX/x86_64/DNBArchImplX86_64.cpp
+++ b/lldb/tools/debugserver/source/MacOSX/x86_64/DNBArchImplX86_64.cpp
@@ -759,7 +759,7 @@ DNBArchImplX86_64::IsWatchpointVacant(const DBG &debug_state, uint32_t hw_index)
return (debug_state.__dr7 & (3 << (2*hw_index))) == 0;
}
-// Resets local copy of debug status register to wait for the next debug excpetion.
+// Resets local copy of debug status register to wait for the next debug exception.
void
DNBArchImplX86_64::ClearWatchpointHits(DBG &debug_state)
{
@@ -963,7 +963,7 @@ DNBArchImplX86_64::EnableHardwareSingleStep (bool enable)
//----------------------------------------------------------------------
-// Register information defintions
+// Register information definitions
//----------------------------------------------------------------------
enum
OpenPOWER on IntegriCloud