summaryrefslogtreecommitdiffstats
path: root/lldb/tools/debugserver/source
diff options
context:
space:
mode:
authorBruce Mitchener <bruce.mitchener@gmail.com>2014-07-01 21:22:11 +0000
committerBruce Mitchener <bruce.mitchener@gmail.com>2014-07-01 21:22:11 +0000
commitd93c4a33395a7d9b960ec64348a07ba204d51017 (patch)
tree8cb726e00581c790adf105b4f2d8d4d8c1ca9efe /lldb/tools/debugserver/source
parent8e9765352888379973132b3e6c2f47b3ba82d7ce (diff)
downloadbcm5719-llvm-d93c4a33395a7d9b960ec64348a07ba204d51017.tar.gz
bcm5719-llvm-d93c4a33395a7d9b960ec64348a07ba204d51017.zip
Fix typos.
llvm-svn: 212132
Diffstat (limited to 'lldb/tools/debugserver/source')
-rw-r--r--lldb/tools/debugserver/source/ChangeLog8
-rw-r--r--lldb/tools/debugserver/source/MacOSX/MachProcess.mm6
-rw-r--r--lldb/tools/debugserver/source/MacOSX/MachTask.mm2
-rw-r--r--lldb/tools/debugserver/source/RNBRemote.cpp12
4 files changed, 14 insertions, 14 deletions
diff --git a/lldb/tools/debugserver/source/ChangeLog b/lldb/tools/debugserver/source/ChangeLog
index 6298ff206a0..898f2fba7b0 100644
--- a/lldb/tools/debugserver/source/ChangeLog
+++ b/lldb/tools/debugserver/source/ChangeLog
@@ -433,7 +433,7 @@
2008-12-05 Greg Clayton <gclayton@apple.com>
* DNBDefs.h (LOG_TASK): New log bit.
- * DNB.cpp (DNBProcessIsAlive): User newly abtracted MachTask class.
+ * DNB.cpp (DNBProcessIsAlive): User newly abstracted MachTask class.
(DNBProcessMemoryRead): Ditto.
(DNBProcessMemoryWrite): Ditto.
* DNBArchImpl.cpp (DNBArchMachARM::EnableHardwareSingleStep): Ditto.
@@ -446,7 +446,7 @@
(MachException::PortInfo::Restore): Cleaned up logging and now return an
error instead of the number of restored port infos.
* MachProcess.cpp (class MachProcess): Abstracted out all of the task_t
- related stuff (suspend, resuyme, exception ports, exception thread, and
+ related stuff (suspend, resume, exception ports, exception thread, and
more) into a new class MachTask.
(MachProcess::Task): Now returns a reference to a MachTask class.
(MachProcess::Clear): Uses new abstracted MachTask class.
@@ -515,7 +515,7 @@
* arm/DBNArchImpl.cpp (DNBArchMachARM::EnableHardwareSingleStep): Log using
new LOG_STEP instead of LOG_BREAKPOINTS.
(DNBArchMachARM::SetSingleStepSoftwareBreakpoints): Ditto.
- * MachException.cpp (MachException::Message::Dump): Log excetion header
+ * MachException.cpp (MachException::Message::Dump): Log exception header
and reply header on two separate lines.
* MachProcess.cpp (IsSBProcess): Check for NULL CFArrayRef returned from
SBSCopyApplicationDisplayIdentifiers for SkankPhone.
@@ -1073,7 +1073,7 @@
* RNBRemote.h: Change default for gdb's max incoming packet size to
reflect the real default size.
- * RNBRemote.cpp (HandlePacket_Q): Correct the string comparisions for
+ * RNBRemote.cpp (HandlePacket_Q): Correct the string comparisons for
the QSetMaxPayloadSize and QSetMaxPacketSize packets.
2008-02-19 Christopher Friesen <friesen@apple.com>
diff --git a/lldb/tools/debugserver/source/MacOSX/MachProcess.mm b/lldb/tools/debugserver/source/MacOSX/MachProcess.mm
index 85123977f0b..e4830d6abff 100644
--- a/lldb/tools/debugserver/source/MacOSX/MachProcess.mm
+++ b/lldb/tools/debugserver/source/MacOSX/MachProcess.mm
@@ -162,7 +162,7 @@ MachProcess::SetProcessID(pid_t pid)
m_pid = ::getpid ();
else
m_pid = pid;
- return m_pid; // Return actualy PID in case a zero pid was passed in
+ return m_pid; // Return actually PID in case a zero pid was passed in
}
nub_state_t
@@ -956,7 +956,7 @@ MachProcess::DisableBreakpoint(nub_addr_t addr, bool remove)
const uint8_t * const break_op = DNBArchProtocol::GetBreakpointOpcode (bp->ByteSize());
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;
@@ -1456,7 +1456,7 @@ MachProcess::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/tools/debugserver/source/MacOSX/MachTask.mm b/lldb/tools/debugserver/source/MacOSX/MachTask.mm
index 078ae3ef9ee..fa7bf249e36 100644
--- a/lldb/tools/debugserver/source/MacOSX/MachTask.mm
+++ b/lldb/tools/debugserver/source/MacOSX/MachTask.mm
@@ -743,7 +743,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/tools/debugserver/source/RNBRemote.cpp b/lldb/tools/debugserver/source/RNBRemote.cpp
index 1f462ac9b2f..0dc514f69d2 100644
--- a/lldb/tools/debugserver/source/RNBRemote.cpp
+++ b/lldb/tools/debugserver/source/RNBRemote.cpp
@@ -96,7 +96,7 @@ RNBRemote::CreatePacketTable ()
{
// Step required to add new packets:
// 1 - Add new enumeration to RNBRemote::PacketEnum
- // 2 - Create a the RNBRemote::HandlePacket_ function if a new function is needed
+ // 2 - Create the RNBRemote::HandlePacket_ function if a new function is needed
// 3 - Register the Packet definition with any needed callbacks in this function
// - If no response is needed for a command, then use NULL for the normal callback
// - If the packet is not supported while the target is running, use NULL for the async callback
@@ -179,14 +179,14 @@ RNBRemote::CreatePacketTable ()
// t.push_back (Packet (query_symbol_lookup, &RNBRemote::HandlePacket_UNIMPLEMENTED, NULL, "qSymbol", "Notify that host debugger is ready to do symbol lookups"));
t.push_back (Packet (json_query_thread_extended_info, &RNBRemote::HandlePacket_jThreadExtendedInfo, NULL, "jThreadExtendedInfo", "Replies with JSON data of thread extended information."));
t.push_back (Packet (start_noack_mode, &RNBRemote::HandlePacket_QStartNoAckMode , NULL, "QStartNoAckMode", "Request that " DEBUGSERVER_PROGRAM_NAME " stop acking remote protocol packets"));
- t.push_back (Packet (prefix_reg_packets_with_tid, &RNBRemote::HandlePacket_QThreadSuffixSupported , NULL, "QThreadSuffixSupported", "Check if thread specifc packets (register packets 'g', 'G', 'p', and 'P') support having the thread ID appended to the end of the command"));
+ t.push_back (Packet (prefix_reg_packets_with_tid, &RNBRemote::HandlePacket_QThreadSuffixSupported , NULL, "QThreadSuffixSupported", "Check if thread specific packets (register packets 'g', 'G', 'p', and 'P') support having the thread ID appended to the end of the command"));
t.push_back (Packet (set_logging_mode, &RNBRemote::HandlePacket_QSetLogging , NULL, "QSetLogging:", "Check if register packets ('g', 'G', 'p', and 'P' support having the thread ID prefix"));
t.push_back (Packet (set_max_packet_size, &RNBRemote::HandlePacket_QSetMaxPacketSize , NULL, "QSetMaxPacketSize:", "Tell " DEBUGSERVER_PROGRAM_NAME " the max sized packet gdb can handle"));
t.push_back (Packet (set_max_payload_size, &RNBRemote::HandlePacket_QSetMaxPayloadSize , NULL, "QSetMaxPayloadSize:", "Tell " DEBUGSERVER_PROGRAM_NAME " the max sized payload gdb can handle"));
t.push_back (Packet (set_environment_variable, &RNBRemote::HandlePacket_QEnvironment , NULL, "QEnvironment:", "Add an environment variable to the inferior's environment"));
t.push_back (Packet (set_environment_variable_hex, &RNBRemote::HandlePacket_QEnvironmentHexEncoded , NULL, "QEnvironmentHexEncoded:", "Add an environment variable to the inferior's environment"));
t.push_back (Packet (set_launch_arch, &RNBRemote::HandlePacket_QLaunchArch , NULL, "QLaunchArch:", "Set the architecture to use when launching a process for hosts that can run multiple architecture slices from universal files."));
- t.push_back (Packet (set_disable_aslr, &RNBRemote::HandlePacket_QSetDisableASLR , NULL, "QSetDisableASLR:", "Set wether to disable ASLR when launching the process with the set argv ('A') packet"));
+ t.push_back (Packet (set_disable_aslr, &RNBRemote::HandlePacket_QSetDisableASLR , NULL, "QSetDisableASLR:", "Set whether to disable ASLR when launching the process with the set argv ('A') packet"));
t.push_back (Packet (set_stdin, &RNBRemote::HandlePacket_QSetSTDIO , NULL, "QSetSTDIN:", "Set the standard input for a process to be launched with the 'A' packet"));
t.push_back (Packet (set_stdout, &RNBRemote::HandlePacket_QSetSTDIO , NULL, "QSetSTDOUT:", "Set the standard output for a process to be launched with the 'A' packet"));
t.push_back (Packet (set_stderr, &RNBRemote::HandlePacket_QSetSTDIO , NULL, "QSetSTDERR:", "Set the standard error for a process to be launched with the 'A' packet"));
@@ -2123,7 +2123,7 @@ RNBRemote::HandlePacket_QEnvironmentHexEncoded (const char *p)
QEnvironmentHexEncoded:VARIABLE=VALUE
- The VARIABLE=VALUE part is sent hex-encoded so chracters like '#' with special
+ The VARIABLE=VALUE part is sent hex-encoded so characters like '#' with special
meaning in the remote protocol won't break it.
*/
@@ -2243,7 +2243,7 @@ register_value_in_hex_fixed_width (std::ostream& ostrm,
}
else
{
- // If we fail to read a regiser value, check if it has a default
+ // If we fail to read a register value, check if it has a default
// fail value. If it does, return this instead in case some of
// the registers are not available on the current system.
if (reg->nub_info.size > 0)
@@ -2349,7 +2349,7 @@ RNBRemote::SendStopReplyPacketForThread (nub_thread_t tid)
// If a 'QListThreadsInStopReply' was sent to enable this feature, we
// will send all thread IDs back in the "threads" key whose value is
- // a listc of hex thread IDs separated by commas:
+ // a list of hex thread IDs separated by commas:
// "threads:10a,10b,10c;"
// This will save the debugger from having to send a pair of qfThreadInfo
// and qsThreadInfo packets, but it also might take a lot of room in the
OpenPOWER on IntegriCloud