Spelling changes applied from lldb_spelling.diffs from Bruce Mitchener.
Thanks Bruce!
git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@123083 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/Plugins/Process/Linux/ProcessLinux.cpp b/source/Plugins/Process/Linux/ProcessLinux.cpp
index acaff50..5e9a19d 100644
--- a/source/Plugins/Process/Linux/ProcessLinux.cpp
+++ b/source/Plugins/Process/Linux/ProcessLinux.cpp
@@ -174,7 +174,7 @@
if (!HasExited())
{
- // Shut down the private state thread as we will syncronize with events
+ // Shut down the private state thread as we will synchronize with events
// ourselves. Discard all current thread plans.
PausePrivateStateThread();
GetThreadList().DiscardThreadPlans();
diff --git a/source/Plugins/Process/Linux/ProcessMonitor.cpp b/source/Plugins/Process/Linux/ProcessMonitor.cpp
index e6a7d6f..1522263 100644
--- a/source/Plugins/Process/Linux/ProcessMonitor.cpp
+++ b/source/Plugins/Process/Linux/ProcessMonitor.cpp
@@ -444,7 +444,7 @@
/// "drives" state changes in the debugger.
///
/// The second thread (@see OperationThread) is responsible for two things 1)
-/// lauching or attaching to the inferior process, and then 2) servicing
+/// launching or attaching to the inferior process, and then 2) servicing
/// operations such as register reads/writes, stepping, etc. See the comments
/// on the Operation class for more info as to why this is needed.
ProcessMonitor::ProcessMonitor(ProcessLinux *process,
@@ -601,7 +601,7 @@
// Let us have our own process group.
setpgid(0, 0);
- // Dup file discriptors if needed.
+ // Dup file descriptors if needed.
//
// FIXME: If two or more of the paths are the same we needlessly open
// the same file multiple times.
diff --git a/source/Plugins/Process/Linux/ProcessMonitor.h b/source/Plugins/Process/Linux/ProcessMonitor.h
index a4719c0..7c3ae74 100644
--- a/source/Plugins/Process/Linux/ProcessMonitor.h
+++ b/source/Plugins/Process/Linux/ProcessMonitor.h
@@ -65,10 +65,10 @@
ProcessLinux &
GetProcess() { return *m_process; }
- /// Returns a file descriptor to the controling terminal of the inferior
+ /// Returns a file descriptor to the controlling terminal of the inferior
/// process.
///
- /// Reads from this file descriptor yeild both the standard output and
+ /// Reads from this file descriptor yield both the standard output and
/// standard error of this debugee. Even if stderr and stdout were
/// redirected on launch it may still happen that data is available on this
/// descriptor (if the inferior process opens /dev/tty, for example).
diff --git a/source/Plugins/Process/Linux/RegisterContextLinux.h b/source/Plugins/Process/Linux/RegisterContextLinux.h
index 519c06a..4e5d465 100644
--- a/source/Plugins/Process/Linux/RegisterContextLinux.h
+++ b/source/Plugins/Process/Linux/RegisterContextLinux.h
@@ -30,7 +30,7 @@
/// Updates the register state of the associated thread after hitting a
/// breakpoint (if that make sense for the architecture). Default
/// implementation simply returns true for architectures which do not
- /// require any upadte.
+ /// require any update.
///
/// @return
/// True if the operation succeeded and false otherwise.
diff --git a/source/Plugins/Process/Linux/RegisterContextLinux_x86_64.cpp b/source/Plugins/Process/Linux/RegisterContextLinux_x86_64.cpp
index 10d9947..da6ea8d 100644
--- a/source/Plugins/Process/Linux/RegisterContextLinux_x86_64.cpp
+++ b/source/Plugins/Process/Linux/RegisterContextLinux_x86_64.cpp
@@ -291,16 +291,16 @@
(offsetof(RegisterContextLinux_x86_64::UserArea, i387) + \
offsetof(RegisterContextLinux_x86_64::FPU, regname))
-// Number of bytes needed to represet a GPR.
+// Number of bytes needed to represent a GPR.
#define GPR_SIZE(reg) sizeof(((RegisterContextLinux_x86_64::GPR*)NULL)->reg)
-// Number of bytes needed to represet a FPR.
+// Number of bytes needed to represent a FPR.
#define FPR_SIZE(reg) sizeof(((RegisterContextLinux_x86_64::FPU*)NULL)->reg)
-// Number of bytes needed to represet the i'th FP register.
+// Number of bytes needed to represent the i'th FP register.
#define FP_SIZE sizeof(((RegisterContextLinux_x86_64::MMSReg*)NULL)->bytes)
-// Number of bytes needed to represet an XMM register.
+// Number of bytes needed to represent an XMM register.
#define XMM_SIZE sizeof(RegisterContextLinux_x86_64::XMMReg)
#define DEFINE_GPR(reg, alt, kind1, kind2, kind3, kind4) \
diff --git a/source/Plugins/Process/Linux/RegisterContextLinux_x86_64.h b/source/Plugins/Process/Linux/RegisterContextLinux_x86_64.h
index 9bba38a..dc421ec 100644
--- a/source/Plugins/Process/Linux/RegisterContextLinux_x86_64.h
+++ b/source/Plugins/Process/Linux/RegisterContextLinux_x86_64.h
@@ -131,7 +131,7 @@
FPU i387; // FPU registers.
uint64_t tsize; // Text segment size.
uint64_t dsize; // Data segment size.
- uint64_t ssize; // Stack segement size.
+ uint64_t ssize; // Stack segment size.
uint64_t start_code; // VM address of text.
uint64_t start_stack; // VM address of stack bottom (top in rsp).
int64_t signal; // Signal causing core dump.