[Lldb-commits] [lldb] r123083 - in /lldb/trunk: docs/ docs/testsuite/ examples/lookup/ source/ source/Commands/ source/Core/ source/Host/common/ source/Host/macosx/ source/Host/macosx/cfcpp/ source/Interpreter/ source/Plugins/DynamicLoader/MacOSX-DYLD/ source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/ source/Plugins/ObjectContainer/Universal-Mach-O/ source/Plugins/ObjectFile/ELF/ source/Plugins/Process/Linux/ source/Plugins/Process/MacOSX-User/source/ source/Plugins/Process/MacOSX-User/source/MacOSX/ source/Plugins...
Greg Clayton
gclayton at apple.com
Sat Jan 8 12:28:42 PST 2011
Author: gclayton
Date: Sat Jan 8 14:28:42 2011
New Revision: 123083
URL: http://llvm.org/viewvc/llvm-project?rev=123083&view=rev
Log:
Spelling changes applied from lldb_spelling.diffs from Bruce Mitchener.
Thanks Bruce!
Modified:
lldb/trunk/docs/lldb-for-gdb-users.txt
lldb/trunk/docs/testsuite/a-detailed-walkthrough.txt
lldb/trunk/examples/lookup/main.cpp
lldb/trunk/source/Commands/CommandCompletions.cpp
lldb/trunk/source/Core/Address.cpp
lldb/trunk/source/Core/ValueObject.cpp
lldb/trunk/source/Host/common/Condition.cpp
lldb/trunk/source/Host/common/Host.cpp
lldb/trunk/source/Host/common/Mutex.cpp
lldb/trunk/source/Host/macosx/Host.mm
lldb/trunk/source/Host/macosx/cfcpp/CFCReleaser.h
lldb/trunk/source/Interpreter/Args.cpp
lldb/trunk/source/Interpreter/CommandInterpreter.cpp
lldb/trunk/source/Interpreter/CommandObjectRegexCommand.cpp
lldb/trunk/source/Interpreter/CommandObjectScript.cpp
lldb/trunk/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderMacOSXDYLD.h
lldb/trunk/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCTrampolineHandler.cpp
lldb/trunk/source/Plugins/ObjectContainer/Universal-Mach-O/ObjectContainerUniversalMachO.cpp
lldb/trunk/source/Plugins/ObjectFile/ELF/ELFHeader.h
lldb/trunk/source/Plugins/ObjectFile/ELF/ObjectFileELF.h
lldb/trunk/source/Plugins/Process/Linux/ProcessLinux.cpp
lldb/trunk/source/Plugins/Process/Linux/ProcessMonitor.cpp
lldb/trunk/source/Plugins/Process/Linux/ProcessMonitor.h
lldb/trunk/source/Plugins/Process/Linux/RegisterContextLinux.h
lldb/trunk/source/Plugins/Process/Linux/RegisterContextLinux_x86_64.cpp
lldb/trunk/source/Plugins/Process/Linux/RegisterContextLinux_x86_64.h
lldb/trunk/source/Plugins/Process/MacOSX-User/source/MacOSX/MachTask.cpp
lldb/trunk/source/Plugins/Process/MacOSX-User/source/ProcessMacOSX.cpp
lldb/trunk/source/Plugins/Process/MacOSX-User/source/ProcessMacOSXLog.cpp
lldb/trunk/source/Plugins/Process/MacOSX-User/source/ProcessMacOSXRemote.cpp
lldb/trunk/source/Plugins/Process/MacOSX-User/source/RegisterContextMach_arm.h
lldb/trunk/source/Plugins/Process/MacOSX-User/source/RegisterContextMach_i386.cpp
lldb/trunk/source/Plugins/Process/MacOSX-User/source/ThreadMacOSX.cpp
lldb/trunk/source/Plugins/Process/Utility/RegisterContextLLDB.cpp
lldb/trunk/source/Plugins/Process/Utility/RegisterContextLLDB.h
lldb/trunk/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp
lldb/trunk/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.h
lldb/trunk/source/Plugins/Process/gdb-remote/ProcessGDBRemoteLog.cpp
lldb/trunk/source/Plugins/SymbolFile/DWARF/DWARFDebugAbbrev.cpp
lldb/trunk/source/Plugins/SymbolFile/DWARF/DWARFDebugInfo.cpp
lldb/trunk/source/Plugins/SymbolFile/DWARF/DWARFDebugInfoEntry.cpp
lldb/trunk/source/Plugins/SymbolFile/DWARF/DWARFDebugLine.cpp
lldb/trunk/source/Plugins/SymbolFile/DWARF/DWARFDebugLine.h
lldb/trunk/source/Plugins/SymbolFile/DWARF/DWARFDebugPubnames.cpp
lldb/trunk/source/Plugins/SymbolFile/DWARF/DWARFDebugRanges.cpp
lldb/trunk/source/lldb-log.cpp
Modified: lldb/trunk/docs/lldb-for-gdb-users.txt
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/docs/lldb-for-gdb-users.txt?rev=123083&r1=123082&r2=123083&view=diff
==============================================================================
--- lldb/trunk/docs/lldb-for-gdb-users.txt (original)
+++ lldb/trunk/docs/lldb-for-gdb-users.txt Sat Jan 8 14:28:42 2011
@@ -367,7 +367,7 @@
(SKTGraphicView *) self = 0x0000000100208b40
The frame variable command is not a full expression parser but it
-does support some common operations like defererencing:
+does support some common operations like dereferencing:
(lldb) fr v *self
(SKTGraphicView *) self = 0x0000000100208b40
Modified: lldb/trunk/docs/testsuite/a-detailed-walkthrough.txt
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/docs/testsuite/a-detailed-walkthrough.txt?rev=123083&r1=123082&r2=123083&view=diff
==============================================================================
--- lldb/trunk/docs/testsuite/a-detailed-walkthrough.txt (original)
+++ lldb/trunk/docs/testsuite/a-detailed-walkthrough.txt Sat Jan 8 14:28:42 2011
@@ -119,7 +119,7 @@
if not module.buildDwarf(self, architecture, compiler, dictionary):
raise Exception("Don't know how to build binary with dwarf")
-And the test/plugins/darwin.py provides the implmentation for all three build
+And the test/plugins/darwin.py provides the implementation for all three build
methods using the makefile mechanism. We envision that linux plugin can use a
similar approach to accomplish the task of building the binaries.
Modified: lldb/trunk/examples/lookup/main.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/examples/lookup/main.cpp?rev=123083&r1=123082&r2=123083&view=diff
==============================================================================
--- lldb/trunk/examples/lookup/main.cpp (original)
+++ lldb/trunk/examples/lookup/main.cpp Sat Jan 8 14:28:42 2011
@@ -41,7 +41,7 @@
// The first argument is the file path we want to look something up in
const char *exe_file_path = argv[1];
- // The second arguemnt in the address that we want to lookup
+ // The second argument in the address that we want to lookup
lldb::addr_t file_addr = strtoull (argv[2], NULL, 0);
// Make a file spec out of our executable path
Modified: lldb/trunk/source/Commands/CommandCompletions.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Commands/CommandCompletions.cpp?rev=123083&r1=123082&r2=123083&view=diff
==============================================================================
--- lldb/trunk/source/Commands/CommandCompletions.cpp (original)
+++ lldb/trunk/source/Commands/CommandCompletions.cpp Sat Jan 8 14:28:42 2011
@@ -141,7 +141,7 @@
memcpy(partial_name_copy, partial_file_name, partial_name_len);
partial_name_copy[partial_name_len] = '\0';
- // We'll need to save a copy of the remainder for comparision, which we do here.
+ // We'll need to save a copy of the remainder for comparison, which we do here.
char remainder[PATH_MAX];
// end_ptr will point past the last / in partial_name_copy, or if there is no slash to the beginning of the string.
Modified: lldb/trunk/source/Core/Address.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Core/Address.cpp?rev=123083&r1=123082&r2=123083&view=diff
==============================================================================
--- lldb/trunk/source/Core/Address.cpp (original)
+++ lldb/trunk/source/Core/Address.cpp Sat Jan 8 14:28:42 2011
@@ -170,7 +170,7 @@
char buf[k_buf_len+1];
buf[k_buf_len] = '\0'; // NULL terminate
- // Byte order and adderss size don't matter for C string dumping..
+ // Byte order and address size don't matter for C string dumping..
DataExtractor data (buf, sizeof(buf), eByteOrderHost, 4);
size_t total_len = 0;
size_t bytes_read;
Modified: lldb/trunk/source/Core/ValueObject.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Core/ValueObject.cpp?rev=123083&r1=123082&r2=123083&view=diff
==============================================================================
--- lldb/trunk/source/Core/ValueObject.cpp (original)
+++ lldb/trunk/source/Core/ValueObject.cpp Sat Jan 8 14:28:42 2011
@@ -290,7 +290,7 @@
ValueObjectSP
ValueObject::GetChildMemberWithName (const ConstString &name, bool can_create)
{
- // when getting a child by name, it could be burried inside some base
+ // when getting a child by name, it could be buried inside some base
// classes (which really aren't part of the expression path), so we
// need a vector of indexes that can get us down to the correct child
std::vector<uint32_t> child_indexes;
Modified: lldb/trunk/source/Host/common/Condition.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Host/common/Condition.cpp?rev=123083&r1=123082&r2=123083&view=diff
==============================================================================
--- lldb/trunk/source/Host/common/Condition.cpp (original)
+++ lldb/trunk/source/Host/common/Condition.cpp Sat Jan 8 14:28:42 2011
@@ -66,7 +66,7 @@
//----------------------------------------------------------------------
// The Wait() function atomically blocks the current thread
-// waiting on the owend condition variable, and unblocks the mutex
+// waiting on the owned condition variable, and unblocks the mutex
// specified by "mutex". The waiting thread unblocks only after
// another thread calls Signal(), or Broadcast() with the same
// condition variable, or if "abstime" is valid (non-NULL) this
Modified: lldb/trunk/source/Host/common/Host.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Host/common/Host.cpp?rev=123083&r1=123082&r2=123083&view=diff
==============================================================================
--- lldb/trunk/source/Host/common/Host.cpp (original)
+++ lldb/trunk/source/Host/common/Host.cpp Sat Jan 8 14:28:42 2011
@@ -662,7 +662,7 @@
bool
Host::GetLLDBPath (PathType path_type, FileSpec &file_spec)
{
- // To get paths related to LLDB we get the path to the exectuable that
+ // To get paths related to LLDB we get the path to the executable that
// contains this function. On MacOSX this will be "LLDB.framework/.../LLDB",
// on linux this is assumed to be the "lldb" main executable. If LLDB on
// linux is actually in a shared library (lldb.so??) then this function will
Modified: lldb/trunk/source/Host/common/Mutex.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Host/common/Mutex.cpp?rev=123083&r1=123082&r2=123083&view=diff
==============================================================================
--- lldb/trunk/source/Host/common/Mutex.cpp (original)
+++ lldb/trunk/source/Host/common/Mutex.cpp Sat Jan 8 14:28:42 2011
@@ -72,7 +72,7 @@
}
//----------------------------------------------------------------------
-// Desstructor
+// Destructor
//
// Unlocks any owned mutex object (if it is valid).
//----------------------------------------------------------------------
Modified: lldb/trunk/source/Host/macosx/Host.mm
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Host/macosx/Host.mm?rev=123083&r1=123082&r2=123083&view=diff
==============================================================================
--- lldb/trunk/source/Host/macosx/Host.mm (original)
+++ lldb/trunk/source/Host/macosx/Host.mm Sat Jan 8 14:28:42 2011
@@ -55,7 +55,7 @@
// function, so we do it manually.
auto_zone_register_thread(auto_zone());
#else
- // On SnowLoepard and later we just call the thread registration function.
+ // On SnowLeopard and later we just call the thread registration function.
objc_registerThreadWithCollector();
#endif
}
Modified: lldb/trunk/source/Host/macosx/cfcpp/CFCReleaser.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Host/macosx/cfcpp/CFCReleaser.h?rev=123083&r1=123082&r2=123083&view=diff
==============================================================================
--- lldb/trunk/source/Host/macosx/cfcpp/CFCReleaser.h (original)
+++ lldb/trunk/source/Host/macosx/cfcpp/CFCReleaser.h Sat Jan 8 14:28:42 2011
@@ -23,7 +23,7 @@
// is designed to mimic the std::auto_ptr<T> class and has all of the
// same functions. The one thing to watch out for is the
// CFCReleaser<T>::release() function won't actually CFRelease any owned
-// pointer, it is designed to relinquish ownwership of the pointer just
+// pointer, it is designed to relinquish ownership of the pointer just
// like std:auto_ptr<T>::release() does.
//----------------------------------------------------------------------
template <class T>
Modified: lldb/trunk/source/Interpreter/Args.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Interpreter/Args.cpp?rev=123083&r1=123082&r2=123083&view=diff
==============================================================================
--- lldb/trunk/source/Interpreter/Args.cpp (original)
+++ lldb/trunk/source/Interpreter/Args.cpp Sat Jan 8 14:28:42 2011
@@ -145,7 +145,7 @@
if (*arg_start == '\0')
break;
- // Arguments can be split into multiple discongituous pieces,
+ // Arguments can be split into multiple discontiguous pieces,
// for example:
// "Hello ""World"
// this would result in a single argument "Hello World" (without/
@@ -228,7 +228,7 @@
else
{
// We found the start of a quote scope.
- // Make sure there isn't a string that predeces
+ // Make sure there isn't a string that precedes
// the start of a quote scope like:
// Hello" World"
// If so, then add the "Hello" to the arg
Modified: lldb/trunk/source/Interpreter/CommandInterpreter.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Interpreter/CommandInterpreter.cpp?rev=123083&r1=123082&r2=123083&view=diff
==============================================================================
--- lldb/trunk/source/Interpreter/CommandInterpreter.cpp (original)
+++ lldb/trunk/source/Interpreter/CommandInterpreter.cpp Sat Jan 8 14:28:42 2011
@@ -746,7 +746,7 @@
// the user could have specified an alias, and in translating the alias there may also be command options and/or
// even data (including raw text strings) that need to be found and inserted into the command line as part of
// the translation. So this first step is plain look-up & replacement, resulting in three things: 1). the command
- // object whose Execute method will actually be called; 2). a revised command string, with all substituitions &
+ // object whose Execute method will actually be called; 2). a revised command string, with all substitutions &
// replacements taken care of; 3). whether or not the Execute function wants raw input or not.
StreamString revised_command_line;
Modified: lldb/trunk/source/Interpreter/CommandObjectRegexCommand.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Interpreter/CommandObjectRegexCommand.cpp?rev=123083&r1=123082&r2=123083&view=diff
==============================================================================
--- lldb/trunk/source/Interpreter/CommandObjectRegexCommand.cpp (original)
+++ lldb/trunk/source/Interpreter/CommandObjectRegexCommand.cpp Sat Jan 8 14:28:42 2011
@@ -97,7 +97,7 @@
m_cmd_name.c_str());
return false;
}
- result.AppendError("empty command passed to regular exression command");
+ result.AppendError("empty command passed to regular expression command");
result.SetStatus(eReturnStatusFailed);
return false;
}
Modified: lldb/trunk/source/Interpreter/CommandObjectScript.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Interpreter/CommandObjectScript.cpp?rev=123083&r1=123082&r2=123083&view=diff
==============================================================================
--- lldb/trunk/source/Interpreter/CommandObjectScript.cpp (original)
+++ lldb/trunk/source/Interpreter/CommandObjectScript.cpp Sat Jan 8 14:28:42 2011
@@ -52,7 +52,7 @@
if (script_interpreter == NULL)
{
- result.AppendError("no script interpeter");
+ result.AppendError("no script interpreter");
result.SetStatus (eReturnStatusFailed);
}
Modified: lldb/trunk/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderMacOSXDYLD.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderMacOSXDYLD.h?rev=123083&r1=123082&r2=123083&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderMacOSXDYLD.h (original)
+++ lldb/trunk/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderMacOSXDYLD.h Sat Jan 8 14:28:42 2011
@@ -372,7 +372,7 @@
bool
ReadAllImageInfosStructure ();
- DYLDImageInfo m_dyld; // Info about the curent dyld being used
+ DYLDImageInfo m_dyld; // Info about the current dyld being used
lldb::addr_t m_dyld_all_image_infos_addr;
DYLDAllImageInfos m_dyld_all_image_infos;
uint32_t m_dyld_all_image_infos_stop_id;
Modified: lldb/trunk/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCTrampolineHandler.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCTrampolineHandler.cpp?rev=123083&r1=123082&r2=123083&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCTrampolineHandler.cpp (original)
+++ lldb/trunk/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCTrampolineHandler.cpp Sat Jan 8 14:28:42 2011
@@ -560,7 +560,7 @@
const Symbol *msgSend_symbol = m_objc_module_sp->FindFirstSymbolWithNameAndType (name_const_str, eSymbolTypeCode);
if (msgSend_symbol)
{
- // FixMe: Make g_dispatch_functions static table of DisptachFunctions, and have the map be address->index.
+ // FixMe: Make g_dispatch_functions static table of DispatchFunctions, and have the map be address->index.
// Problem is we also need to lookup the dispatch function. For now we could have a side table of stret & non-stret
// dispatch functions. If that's as complex as it gets, we're fine.
Modified: lldb/trunk/source/Plugins/ObjectContainer/Universal-Mach-O/ObjectContainerUniversalMachO.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/ObjectContainer/Universal-Mach-O/ObjectContainerUniversalMachO.cpp?rev=123083&r1=123082&r2=123083&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/ObjectContainer/Universal-Mach-O/ObjectContainerUniversalMachO.cpp (original)
+++ lldb/trunk/source/Plugins/ObjectContainer/Universal-Mach-O/ObjectContainerUniversalMachO.cpp Sat Jan 8 14:28:42 2011
@@ -127,7 +127,7 @@
}
// Now we should have enough data for all of the fat headers, so lets index
- // them so we know how many architectures that this univeral binary contains.
+ // them so we know how many architectures that this universal binary contains.
uint32_t arch_idx = 0;
for (arch_idx = 0; arch_idx < m_header.nfat_arch; ++arch_idx)
{
Modified: lldb/trunk/source/Plugins/ObjectFile/ELF/ELFHeader.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/ObjectFile/ELF/ELFHeader.h?rev=123083&r1=123082&r2=123083&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/ObjectFile/ELF/ELFHeader.h (original)
+++ lldb/trunk/source/Plugins/ObjectFile/ELF/ELFHeader.h Sat Jan 8 14:28:42 2011
@@ -68,9 +68,9 @@
elf_half e_machine; ///< Target architecture.
elf_half e_ehsize; ///< Byte size of the ELF header.
elf_half e_phentsize; ///< Size of a program header table entry.
- elf_half e_phnum; ///< Number of program header entrys.
+ elf_half e_phnum; ///< Number of program header entries.
elf_half e_shentsize; ///< Size of a section header table entry.
- elf_half e_shnum; ///< Number of section header entrys.
+ elf_half e_shnum; ///< Number of section header entries.
elf_half e_shstrndx; ///< String table section index.
ELFHeader();
@@ -184,19 +184,19 @@
/// @brief Generic representation of an ELF program header.
struct ELFProgramHeader
{
- elf_word p_type; ///< Type of program segement.
- elf_word p_flags; ///< Segement attibutes.
- elf_off p_offset; ///< Start of segment from begining of file.
+ elf_word p_type; ///< Type of program segment.
+ elf_word p_flags; ///< Segment attributes.
+ elf_off p_offset; ///< Start of segment from beginning of file.
elf_addr p_vaddr; ///< Virtual address of segment in memory.
elf_addr p_paddr; ///< Physical address (for non-VM systems).
elf_xword p_filesz; ///< Byte size of the segment in file.
elf_xword p_memsz; ///< Byte size of the segment in memory.
- elf_xword p_align; ///< Segement alignement constraint.
+ elf_xword p_align; ///< Segment alignment constraint.
ELFProgramHeader();
- /// Parse an ELFProgramHeader entry from the given DataExtracter starting at
- /// position \p offset. The address size of the DataExtracter determines if
+ /// Parse an ELFProgramHeader entry from the given DataExtractor starting at
+ /// position \p offset. The address size of the DataExtractor determines if
/// a 32 or 64 bit object is to be parsed.
///
/// @param[in] data
@@ -234,13 +234,13 @@
/// Returns the type attribute of the st_info member.
unsigned char getType() const { return st_info & 0x0F; }
- /// Sets the bining and type of the st_info member.
+ /// Sets the binding and type of the st_info member.
void setBindingAndType(unsigned char binding, unsigned char type) {
st_info = (binding << 4) + (type & 0x0F);
}
- /// Parse an ELFSymbol entry from the given DataExtracter starting at
- /// position \p offset. The address size of the DataExtracter determines if
+ /// Parse an ELFSymbol entry from the given DataExtractor starting at
+ /// position \p offset. The address size of the DataExtractor determines if
/// a 32 or 64 bit object is to be parsed.
///
/// @param[in] data
@@ -271,8 +271,8 @@
ELFDynamic();
- /// Parse an ELFDynamic entry from the given DataExtracter starting at
- /// position \p offset. The address size of the DataExtracter determines if
+ /// Parse an ELFDynamic entry from the given DataExtractor starting at
+ /// position \p offset. The address size of the DataExtractor determines if
/// a 32 or 64 bit object is to be parsed.
///
/// @param[in] data
Modified: lldb/trunk/source/Plugins/ObjectFile/ELF/ObjectFileELF.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/ObjectFile/ELF/ObjectFileELF.h?rev=123083&r1=123082&r2=123083&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/ObjectFile/ELF/ObjectFileELF.h (original)
+++ lldb/trunk/source/Plugins/ObjectFile/ELF/ObjectFileELF.h Sat Jan 8 14:28:42 2011
@@ -171,7 +171,7 @@
ParseSectionHeaders();
/// Scans the dynamic section and locates all dependent modules (shared
- /// libaries) populating m_filespec_ap. This method will compute the
+ /// libraries) populating m_filespec_ap. This method will compute the
/// dependent module list only once. Returns the number of dependent
/// modules parsed.
size_t
Modified: lldb/trunk/source/Plugins/Process/Linux/ProcessLinux.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Process/Linux/ProcessLinux.cpp?rev=123083&r1=123082&r2=123083&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Process/Linux/ProcessLinux.cpp (original)
+++ lldb/trunk/source/Plugins/Process/Linux/ProcessLinux.cpp Sat Jan 8 14:28:42 2011
@@ -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();
Modified: lldb/trunk/source/Plugins/Process/Linux/ProcessMonitor.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Process/Linux/ProcessMonitor.cpp?rev=123083&r1=123082&r2=123083&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Process/Linux/ProcessMonitor.cpp (original)
+++ lldb/trunk/source/Plugins/Process/Linux/ProcessMonitor.cpp Sat Jan 8 14:28:42 2011
@@ -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.
Modified: lldb/trunk/source/Plugins/Process/Linux/ProcessMonitor.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Process/Linux/ProcessMonitor.h?rev=123083&r1=123082&r2=123083&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Process/Linux/ProcessMonitor.h (original)
+++ lldb/trunk/source/Plugins/Process/Linux/ProcessMonitor.h Sat Jan 8 14:28:42 2011
@@ -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).
Modified: lldb/trunk/source/Plugins/Process/Linux/RegisterContextLinux.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Process/Linux/RegisterContextLinux.h?rev=123083&r1=123082&r2=123083&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Process/Linux/RegisterContextLinux.h (original)
+++ lldb/trunk/source/Plugins/Process/Linux/RegisterContextLinux.h Sat Jan 8 14:28:42 2011
@@ -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.
Modified: lldb/trunk/source/Plugins/Process/Linux/RegisterContextLinux_x86_64.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Process/Linux/RegisterContextLinux_x86_64.cpp?rev=123083&r1=123082&r2=123083&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Process/Linux/RegisterContextLinux_x86_64.cpp (original)
+++ lldb/trunk/source/Plugins/Process/Linux/RegisterContextLinux_x86_64.cpp Sat Jan 8 14:28:42 2011
@@ -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) \
Modified: lldb/trunk/source/Plugins/Process/Linux/RegisterContextLinux_x86_64.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Process/Linux/RegisterContextLinux_x86_64.h?rev=123083&r1=123082&r2=123083&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Process/Linux/RegisterContextLinux_x86_64.h (original)
+++ lldb/trunk/source/Plugins/Process/Linux/RegisterContextLinux_x86_64.h Sat Jan 8 14:28:42 2011
@@ -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.
Modified: lldb/trunk/source/Plugins/Process/MacOSX-User/source/MacOSX/MachTask.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Process/MacOSX-User/source/MacOSX/MachTask.cpp?rev=123083&r1=123082&r2=123083&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Process/MacOSX-User/source/MacOSX/MachTask.cpp (original)
+++ lldb/trunk/source/Plugins/Process/MacOSX-User/source/MacOSX/MachTask.cpp Sat Jan 8 14:28:42 2011
@@ -477,7 +477,7 @@
// 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.
Modified: lldb/trunk/source/Plugins/Process/MacOSX-User/source/ProcessMacOSX.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Process/MacOSX-User/source/ProcessMacOSX.cpp?rev=123083&r1=123082&r2=123083&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Process/MacOSX-User/source/ProcessMacOSX.cpp (original)
+++ lldb/trunk/source/Plugins/Process/MacOSX-User/source/ProcessMacOSX.cpp Sat Jan 8 14:28:42 2011
@@ -873,7 +873,7 @@
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 @@
// 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 @@
// 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
Modified: lldb/trunk/source/Plugins/Process/MacOSX-User/source/ProcessMacOSXLog.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Process/MacOSX-User/source/ProcessMacOSXLog.cpp?rev=123083&r1=123082&r2=123083&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Process/MacOSX-User/source/ProcessMacOSXLog.cpp (original)
+++ lldb/trunk/source/Plugins/Process/MacOSX-User/source/ProcessMacOSXLog.cpp Sat Jan 8 14:28:42 2011
@@ -159,7 +159,7 @@
"\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());
}
Modified: lldb/trunk/source/Plugins/Process/MacOSX-User/source/ProcessMacOSXRemote.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Process/MacOSX-User/source/ProcessMacOSXRemote.cpp?rev=123083&r1=123082&r2=123083&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Process/MacOSX-User/source/ProcessMacOSXRemote.cpp (original)
+++ lldb/trunk/source/Plugins/Process/MacOSX-User/source/ProcessMacOSXRemote.cpp Sat Jan 8 14:28:42 2011
@@ -214,7 +214,7 @@
{
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 @@
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 @@
{
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 @@
// 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.
Modified: lldb/trunk/source/Plugins/Process/MacOSX-User/source/RegisterContextMach_arm.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Process/MacOSX-User/source/RegisterContextMach_arm.h?rev=123083&r1=123082&r2=123083&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Process/MacOSX-User/source/RegisterContextMach_arm.h (original)
+++ lldb/trunk/source/Plugins/Process/MacOSX-User/source/RegisterContextMach_arm.h Sat Jan 8 14:28:42 2011
@@ -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))
Modified: lldb/trunk/source/Plugins/Process/MacOSX-User/source/RegisterContextMach_i386.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Process/MacOSX-User/source/RegisterContextMach_i386.cpp?rev=123083&r1=123082&r2=123083&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Process/MacOSX-User/source/RegisterContextMach_i386.cpp (original)
+++ lldb/trunk/source/Plugins/Process/MacOSX-User/source/RegisterContextMach_i386.cpp Sat Jan 8 14:28:42 2011
@@ -410,7 +410,7 @@
//----------------------------------------------------------------------
-// Register information defintions for 32 bit i386.
+// Register information definitions for 32 bit i386.
//----------------------------------------------------------------------
int
RegisterContextMach_i386::GetSetForNativeRegNum (int reg_num)
Modified: lldb/trunk/source/Plugins/Process/MacOSX-User/source/ThreadMacOSX.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Process/MacOSX-User/source/ThreadMacOSX.cpp?rev=123083&r1=123082&r2=123083&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Process/MacOSX-User/source/ThreadMacOSX.cpp (original)
+++ lldb/trunk/source/Plugins/Process/MacOSX-User/source/ThreadMacOSX.cpp Sat Jan 8 14:28:42 2011
@@ -440,7 +440,7 @@
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;
}
Modified: lldb/trunk/source/Plugins/Process/Utility/RegisterContextLLDB.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Process/Utility/RegisterContextLLDB.cpp?rev=123083&r1=123082&r2=123083&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Process/Utility/RegisterContextLLDB.cpp (original)
+++ lldb/trunk/source/Plugins/Process/Utility/RegisterContextLLDB.cpp Sat Jan 8 14:28:42 2011
@@ -309,7 +309,7 @@
if (m_sym_ctx_valid == false)
decr_pc_and_recompute_addr_range = true;
- // Or if we're in the middle of the stack (and not "above" an asynchornous event like sigtramp),
+ // Or if we're in the middle of the stack (and not "above" an asynchronous event like sigtramp),
// and our "current" pc is the start of a function...
if (m_sym_ctx_valid
&& ((RegisterContextLLDB*) m_next_frame.get())->m_frame_type != eSigtrampFrame
Modified: lldb/trunk/source/Plugins/Process/Utility/RegisterContextLLDB.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Process/Utility/RegisterContextLLDB.h?rev=123083&r1=123082&r2=123083&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Process/Utility/RegisterContextLLDB.h (original)
+++ lldb/trunk/source/Plugins/Process/Utility/RegisterContextLLDB.h Sat Jan 8 14:28:42 2011
@@ -121,11 +121,11 @@
InitializeNonZerothFrame();
// Provide a location for where THIS function saved the CALLER's register value
- // Or a frame "below" this one savedit, i.e. a function called by this one, preserved a register that this
+ // Or a frame "below" this one saved it, i.e. a function called by this one, preserved a register that this
// function didn't modify/use.
//
// The RegisterLocation type may be set to eRegisterNotAvailable -- this will happen for a volatile register
- // bieng queried mid-stack. Instead of floating frame 0's contents of that register up the stack (which may
+ // being queried mid-stack. Instead of floating frame 0's contents of that register up the stack (which may
// or may not be the value of that reg when the function was executing), we won't return any value.
//
// If a non-volatile register (a "preserved" register) is requested mid-stack and no frames "below" the requested
Modified: lldb/trunk/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp?rev=123083&r1=123082&r2=123083&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp (original)
+++ lldb/trunk/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp Sat Jan 8 14:28:42 2011
@@ -164,7 +164,7 @@
//class ScopedValueChanger
//{
//public:
-// // Take a value reference and the value to assing it to when this class
+// // Take a value reference and the value to assign it to when this class
// // instance goes out of scope.
// ScopedValueChanger (_Tp &value_ref, _Tp value) :
// m_value_ref (value_ref),
@@ -180,7 +180,7 @@
// m_value_ref = m_value;
// }
//protected:
-// _Tp &m_value_ref; // A reference to the value we wil change when this object destructs
+// _Tp &m_value_ref; // A reference to the value we will change when this object destructs
// _Tp m_value; // The value to assign to m_value_ref when this goes out of scope.
//};
Modified: lldb/trunk/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.h?rev=123083&r1=123082&r2=123083&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.h (original)
+++ lldb/trunk/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.h Sat Jan 8 14:28:42 2011
@@ -152,7 +152,7 @@
/// environment that the inferior should be launched with.
///
/// @param[in] name_equal_value
- /// A NULL terminated C string that contains a single enironment
+ /// A NULL terminated C string that contains a single environment
/// in the format "NAME=VALUE".
///
/// @param[in] timeout_seconds
Modified: lldb/trunk/source/Plugins/Process/gdb-remote/ProcessGDBRemoteLog.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Process/gdb-remote/ProcessGDBRemoteLog.cpp?rev=123083&r1=123082&r2=123083&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Process/gdb-remote/ProcessGDBRemoteLog.cpp (original)
+++ lldb/trunk/source/Plugins/Process/gdb-remote/ProcessGDBRemoteLog.cpp Sat Jan 8 14:28:42 2011
@@ -167,7 +167,7 @@
"\tprocess - log process events and activities\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", ProcessGDBRemote::GetPluginNameStatic());
}
Modified: lldb/trunk/source/Plugins/SymbolFile/DWARF/DWARFDebugAbbrev.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/SymbolFile/DWARF/DWARFDebugAbbrev.cpp?rev=123083&r1=123082&r2=123083&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/SymbolFile/DWARF/DWARFDebugAbbrev.cpp (original)
+++ lldb/trunk/source/Plugins/SymbolFile/DWARF/DWARFDebugAbbrev.cpp Sat Jan 8 14:28:42 2011
@@ -114,7 +114,7 @@
// Encode
//
// Encode the abbreviation table onto the end of the buffer provided
-// into a byte represenation as would be found in a ".debug_abbrev"
+// into a byte representation as would be found in a ".debug_abbrev"
// debug information section.
//----------------------------------------------------------------------
//void
Modified: lldb/trunk/source/Plugins/SymbolFile/DWARF/DWARFDebugInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/SymbolFile/DWARF/DWARFDebugInfo.cpp?rev=123083&r1=123082&r2=123083&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/SymbolFile/DWARF/DWARFDebugInfo.cpp (original)
+++ lldb/trunk/source/Plugins/SymbolFile/DWARF/DWARFDebugInfo.cpp Sat Jan 8 14:28:42 2011
@@ -357,7 +357,7 @@
const dw_offset_t next_cu_offset = cu->GetNextCompileUnitOffset();
depth = 0;
- // Call the callback funtion with no DIE pointer for the compile unit
+ // Call the callback function with no DIE pointer for the compile unit
// and get the offset that we are to continue to parse from
offset = callback(dwarf2Data, cu, NULL, offset, depth, userData);
@@ -369,7 +369,7 @@
bool done = false;
while (!done && die.Extract(dwarf2Data, cu.get(), &offset))
{
- // Call the callback funtion with DIE pointer that falls within the compile unit
+ // Call the callback function with DIE pointer that falls within the compile unit
offset = callback(dwarf2Data, cu, &die, offset, depth, userData);
if (die.IsNULL())
@@ -397,7 +397,7 @@
cu.reset(new DWARFCompileUnit(dwarf2Data));
- // Make sure we start on a propper
+ // Make sure we start on a proper
offset = next_cu_offset;
}
}
@@ -512,7 +512,7 @@
{
if (verifyInfo->sibling_errors++ == 0)
s->Printf("ERROR\n");
- s->Printf(" 0x%8.8x: sibling attribyte (0x%8.8x) in this die is not valid: it is less than this DIE or some of its contents.\n", die->GetOffset(), sibling);
+ s->Printf(" 0x%8.8x: sibling attribute (0x%8.8x) in this die is not valid: it is less than this DIE or some of its contents.\n", die->GetOffset(), sibling);
}
else if (sibling > verifyInfo->die_ranges.back().hi_die_offset)
{
@@ -583,7 +583,7 @@
// the address ranges within it (if any) are contiguous. The DWARF
// spec states that if a compile unit TAG has high and low PC
// attributes, there must be no gaps in the address ranges of it's
- // contained subtroutines. If there are gaps, the high and low PC
+ // contained subroutines. If there are gaps, the high and low PC
// must not be in the DW_TAG_compile_unit's attributes. Errors like
// this can crop up when optimized code is dead stripped and the debug
// information isn't properly fixed up for output.
@@ -698,7 +698,7 @@
else
{
// cu->Dump(ostrm_ptr); // Dump the compile unit for the DIE
- // We have a new comile unit header
+ // We have a new compile unit header
verifyInfo->die_ranges.clear();
DIERange die_range;
die_range.range.offset = cu->GetOffset();
Modified: lldb/trunk/source/Plugins/SymbolFile/DWARF/DWARFDebugInfoEntry.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/SymbolFile/DWARF/DWARFDebugInfoEntry.cpp?rev=123083&r1=123082&r2=123083&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/SymbolFile/DWARF/DWARFDebugInfoEntry.cpp (original)
+++ lldb/trunk/source/Plugins/SymbolFile/DWARF/DWARFDebugInfoEntry.cpp Sat Jan 8 14:28:42 2011
@@ -1999,7 +1999,7 @@
}
else
{ // compile units may not have a valid high/low pc when there
- // are address gaps in subtroutines so we must always search
+ // are address gaps in subroutines so we must always search
// if there is no valid high and low PC
check_children = (tag == DW_TAG_compile_unit) && ((function_die != NULL) || (block_die != NULL));
}
Modified: lldb/trunk/source/Plugins/SymbolFile/DWARF/DWARFDebugLine.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/SymbolFile/DWARF/DWARFDebugLine.cpp?rev=123083&r1=123082&r2=123083&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/SymbolFile/DWARF/DWARFDebugLine.cpp (original)
+++ lldb/trunk/source/Plugins/SymbolFile/DWARF/DWARFDebugLine.cpp Sat Jan 8 14:28:42 2011
@@ -796,7 +796,7 @@
// opcode divided by the line_range multiplied by the
// minimum_instruction_length field from the header. That is:
//
- // address increment = (adjusted opcode / line_range) * minimim_instruction_length
+ // address increment = (adjusted opcode / line_range) * minimum_instruction_length
//
// The amount to increment the line register is the line_base plus
// the result of the adjusted opcode modulo the line_range. That is:
@@ -1142,7 +1142,7 @@
// with the current one if the one it is replacing is an end_sequence entry.
// We currently always place an extra end sequence when ever we exit a valid
// address range for a function in case the functions get rearranged by
- // optmimizations or by order specifications. These extra end sequences will
+ // optimizations or by order specifications. These extra end sequences will
// disappear by getting replaced with valid consecutive entries within a
// compile unit if there are no gaps.
if (range.first == range.second)
@@ -1202,7 +1202,7 @@
DWARFDebugLine::State::AppendRowToMatrix(dw_offset_t offset)
{
// Each time we are to add an entry into the line table matrix
- // call the callback funtion so that someone can do something with
+ // call the callback function so that someone can do something with
// the current state of the state machine (like build a line table
// or dump the line table!)
if (log)
Modified: lldb/trunk/source/Plugins/SymbolFile/DWARF/DWARFDebugLine.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/SymbolFile/DWARF/DWARFDebugLine.h?rev=123083&r1=123082&r2=123083&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/SymbolFile/DWARF/DWARFDebugLine.h (original)
+++ lldb/trunk/source/Plugins/SymbolFile/DWARF/DWARFDebugLine.h Sat Jan 8 14:28:42 2011
@@ -187,7 +187,7 @@
Prologue::shared_ptr prologue;
lldb_private::Log *log;
- Callback callback; // Callback funcation that gets called each time an entry it to be added to the matrix
+ Callback callback; // Callback function that gets called each time an entry is to be added to the matrix
void* callbackUserData;
int row; // The row number that starts at zero for the prologue, and increases for each row added to the matrix
private:
Modified: lldb/trunk/source/Plugins/SymbolFile/DWARF/DWARFDebugPubnames.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/SymbolFile/DWARF/DWARFDebugPubnames.cpp?rev=123083&r1=123082&r2=123083&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/SymbolFile/DWARF/DWARFDebugPubnames.cpp (original)
+++ lldb/trunk/source/Plugins/SymbolFile/DWARF/DWARFDebugPubnames.cpp Sat Jan 8 14:28:42 2011
@@ -150,7 +150,7 @@
case DW_TAG_inlined_subroutine:
// Even if this is a function level static, we don't add it. We could theoretically
// add these if we wanted to by introspecting into the DW_AT_location and seeing
- // if the location describes a hard coded address, but we dont want the performance
+ // if the location describes a hard coded address, but we don't want the performance
// penalty of that right now.
add_die = false;
// if (attributes.ExtractFormValueAtIndex(dwarf2Data, i, form_value))
Modified: lldb/trunk/source/Plugins/SymbolFile/DWARF/DWARFDebugRanges.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/SymbolFile/DWARF/DWARFDebugRanges.cpp?rev=123083&r1=123082&r2=123083&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/SymbolFile/DWARF/DWARFDebugRanges.cpp (original)
+++ lldb/trunk/source/Plugins/SymbolFile/DWARF/DWARFDebugRanges.cpp Sat Jan 8 14:28:42 2011
@@ -131,7 +131,7 @@
// End of range list
break;
}
- // Extend 4 byte addresses that consits of 32 bits of 1's to be 64 bits
+ // Extend 4 byte addresses that consists of 32 bits of 1's to be 64 bits
// of ones
switch (addr_size)
{
Modified: lldb/trunk/source/lldb-log.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/lldb-log.cpp?rev=123083&r1=123082&r2=123083&view=diff
==============================================================================
--- lldb/trunk/source/lldb-log.cpp (original)
+++ lldb/trunk/source/lldb-log.cpp Sat Jan 8 14:28:42 2011
@@ -237,6 +237,6 @@
"\tstate - log private and public process state changes\n"
"\tstep - log step related activities\n"
"\tunwind - log stack unwind activities\n"
- "\tverbose - enable verbose loggging\n"
+ "\tverbose - enable verbose logging\n"
"\twatch - log watchpoint related activities\n");
}
More information about the lldb-commits
mailing list