summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/Process/MacOSX-User
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2011-01-08 20:28:42 +0000
committerGreg Clayton <gclayton@apple.com>2011-01-08 20:28:42 +0000
commit710dd5aebf64c790a03f2e6f0cc4438e8a00fbd4 (patch)
tree6130c80cdc395a1275d817de3d8767e45eba446d /lldb/source/Plugins/Process/MacOSX-User
parent9dbbc49f7437113863b8ce06ee7a1235279de3bf (diff)
downloadbcm5719-llvm-710dd5aebf64c790a03f2e6f0cc4438e8a00fbd4.tar.gz
bcm5719-llvm-710dd5aebf64c790a03f2e6f0cc4438e8a00fbd4.zip
Spelling changes applied from lldb_spelling.diffs from Bruce Mitchener.
Thanks Bruce! llvm-svn: 123083
Diffstat (limited to 'lldb/source/Plugins/Process/MacOSX-User')
-rw-r--r--lldb/source/Plugins/Process/MacOSX-User/source/MacOSX/MachTask.cpp2
-rw-r--r--lldb/source/Plugins/Process/MacOSX-User/source/ProcessMacOSX.cpp6
-rw-r--r--lldb/source/Plugins/Process/MacOSX-User/source/ProcessMacOSXLog.cpp2
-rw-r--r--lldb/source/Plugins/Process/MacOSX-User/source/ProcessMacOSXRemote.cpp8
-rw-r--r--lldb/source/Plugins/Process/MacOSX-User/source/RegisterContextMach_arm.h2
-rw-r--r--lldb/source/Plugins/Process/MacOSX-User/source/RegisterContextMach_i386.cpp2
-rw-r--r--lldb/source/Plugins/Process/MacOSX-User/source/ThreadMacOSX.cpp2
7 files changed, 12 insertions, 12 deletions
diff --git a/lldb/source/Plugins/Process/MacOSX-User/source/MacOSX/MachTask.cpp b/lldb/source/Plugins/Process/MacOSX-User/source/MacOSX/MachTask.cpp
index 6eec701be2b..a4f21eb5be4 100644
--- a/lldb/source/Plugins/Process/MacOSX-User/source/MacOSX/MachTask.cpp
+++ b/lldb/source/Plugins/Process/MacOSX-User/source/MacOSX/MachTask.cpp
@@ -477,7 +477,7 @@ MachTask::ExceptionThread (void *arg)
// MACH_RCV_TIMEOUT option with a zero timeout to grab all other current
// exceptions for our process. After we have received the last pending
// exception, we will get a timeout which enables us to then notify
- // our main thread that we have an exception bundle avaiable. We then wait
+ // our main thread that we have an exception bundle available. We then wait
// for the main thread to tell this exception thread to start trying to get
// exceptions messages again and we start again with a mach_msg read with
// infinite timeout.
diff --git a/lldb/source/Plugins/Process/MacOSX-User/source/ProcessMacOSX.cpp b/lldb/source/Plugins/Process/MacOSX-User/source/ProcessMacOSX.cpp
index b3933169841..c650f5bb622 100644
--- a/lldb/source/Plugins/Process/MacOSX-User/source/ProcessMacOSX.cpp
+++ b/lldb/source/Plugins/Process/MacOSX-User/source/ProcessMacOSX.cpp
@@ -873,7 +873,7 @@ ProcessMacOSX::DoDestroy ()
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
Task().Clear();
// Clear out any notion of the process we once were
@@ -1238,7 +1238,7 @@ ProcessMacOSX::STDIOThread(void *arg)
// MACH_RCV_TIMEOUT option with a zero timeout to grab all other current
// exceptions for our process. After we have received the last pending
// exception, we will get a timeout which enables us to then notify
- // our main thread that we have an exception bundle avaiable. We then wait
+ // our main thread that we have an exception bundle available. We then wait
// for the main thread to tell this exception thread to start trying to get
// exceptions messages again and we start again with a mach_msg read with
// infinite timeout.
@@ -1410,7 +1410,7 @@ ProcessMacOSX::DoDetach()
// Resume our task
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
Task().Clear();
// Clear out any notion of the process we once were
diff --git a/lldb/source/Plugins/Process/MacOSX-User/source/ProcessMacOSXLog.cpp b/lldb/source/Plugins/Process/MacOSX-User/source/ProcessMacOSXLog.cpp
index 56db421dff0..f4c86c4684a 100644
--- a/lldb/source/Plugins/Process/MacOSX-User/source/ProcessMacOSXLog.cpp
+++ b/lldb/source/Plugins/Process/MacOSX-User/source/ProcessMacOSXLog.cpp
@@ -159,7 +159,7 @@ ProcessMacOSXLog::ListLogCategories (Stream *strm)
"\ttask - log mach task calls\n"
"\tthread - log thread events and activities\n"
"\tstep - log step related activities\n"
- "\tverbose - enable verbose loggging\n"
+ "\tverbose - enable verbose logging\n"
"\twatch - log watchpoint related activities\n", ProcessMacOSX::GetPluginNameStatic());
}
diff --git a/lldb/source/Plugins/Process/MacOSX-User/source/ProcessMacOSXRemote.cpp b/lldb/source/Plugins/Process/MacOSX-User/source/ProcessMacOSXRemote.cpp
index 835d003a9b2..a9315b71fab 100644
--- a/lldb/source/Plugins/Process/MacOSX-User/source/ProcessMacOSXRemote.cpp
+++ b/lldb/source/Plugins/Process/MacOSX-User/source/ProcessMacOSXRemote.cpp
@@ -214,7 +214,7 @@ ProcessMacOSXRemote::GetSoftwareBreakpointTrapOpcode (BreakpointSite *bp_site)
{
case CPU_TYPE_ARM:
// TODO: fill this in for ARM. We need to dig up the symbol for
- // the address in the breakpoint locaiton and figure out if it is
+ // the address in the breakpoint location and figure out if it is
// an ARM or Thumb breakpoint.
trap_opcode = g_arm_breakpoint_opcode;
trap_opcode_size = sizeof(g_arm_breakpoint_opcode);
@@ -592,7 +592,7 @@ ProcessMacOSXRemote::DisableBreakpoint (BreakpointLocation *bp)
const uint8_t * const break_op = bp->GetTrapOpcodeBytes();
if (break_op_size > 0)
{
- // Clear a software breakoint instruction
+ // Clear a software breakpoint instruction
uint8_t curr_break_op[break_op_size];
bool break_op_found = false;
@@ -728,7 +728,7 @@ ProcessMacOSXRemote::DisableWatchpoint (WatchpointLocation *wp)
{
wp->SetEnabled(false);
if (log)
- log->Printf ("ProcessMacOSXRemote::Disablewatchpoint (watchID = %d) addr = 0x%8.8llx (hardware) => success", watchID, (uint64_t)addr);
+ log->Printf ("ProcessMacOSXRemote::DisableWatchpoint (watchID = %d) addr = 0x%8.8llx (hardware) => success", watchID, (uint64_t)addr);
return true;
}
}
@@ -1036,7 +1036,7 @@ ProcessMacOSXRemote::STDIOThread(void *arg)
// MACH_RCV_TIMEOUT option with a zero timeout to grab all other current
// exceptions for our process. After we have received the last pending
// exception, we will get a timeout which enables us to then notify
- // our main thread that we have an exception bundle avaiable. We then wait
+ // our main thread that we have an exception bundle available. We then wait
// for the main thread to tell this exception thread to start trying to get
// exceptions messages again and we start again with a mach_msg read with
// infinite timeout.
diff --git a/lldb/source/Plugins/Process/MacOSX-User/source/RegisterContextMach_arm.h b/lldb/source/Plugins/Process/MacOSX-User/source/RegisterContextMach_arm.h
index 0352ce33a63..158e701f02d 100644
--- a/lldb/source/Plugins/Process/MacOSX-User/source/RegisterContextMach_arm.h
+++ b/lldb/source/Plugins/Process/MacOSX-User/source/RegisterContextMach_arm.h
@@ -37,7 +37,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))
diff --git a/lldb/source/Plugins/Process/MacOSX-User/source/RegisterContextMach_i386.cpp b/lldb/source/Plugins/Process/MacOSX-User/source/RegisterContextMach_i386.cpp
index 8d4aeed6ff5..fe23e7ae7b3 100644
--- a/lldb/source/Plugins/Process/MacOSX-User/source/RegisterContextMach_i386.cpp
+++ b/lldb/source/Plugins/Process/MacOSX-User/source/RegisterContextMach_i386.cpp
@@ -410,7 +410,7 @@ RegisterContextMach_i386::GetRegisterSet (uint32_t reg_set)
//----------------------------------------------------------------------
-// Register information defintions for 32 bit i386.
+// Register information definitions for 32 bit i386.
//----------------------------------------------------------------------
int
RegisterContextMach_i386::GetSetForNativeRegNum (int reg_num)
diff --git a/lldb/source/Plugins/Process/MacOSX-User/source/ThreadMacOSX.cpp b/lldb/source/Plugins/Process/MacOSX-User/source/ThreadMacOSX.cpp
index 10403844ce7..2f01dc6e8b8 100644
--- a/lldb/source/Plugins/Process/MacOSX-User/source/ThreadMacOSX.cpp
+++ b/lldb/source/Plugins/Process/MacOSX-User/source/ThreadMacOSX.cpp
@@ -440,7 +440,7 @@ ThreadMacOSX::Dump(Log *log, uint32_t index)
case TH_STATE_STOPPED: thread_run_state = "stopped"; break; // 2 thread is stopped
case TH_STATE_WAITING: thread_run_state = "waiting"; break; // 3 thread is waiting normally
case TH_STATE_UNINTERRUPTIBLE: thread_run_state = "uninter"; break; // 4 thread is in an uninterruptible wait
- case TH_STATE_HALTED: thread_run_state = "halted "; break; // 5 thread is halted at a
+ case TH_STATE_HALTED: thread_run_state = "halted "; break; // 5 thread is halted at a
default: thread_run_state = "???"; break;
}
OpenPOWER on IntegriCloud