diff options
| author | Bruce Mitchener <bruce.mitchener@gmail.com> | 2018-05-29 09:10:46 +0000 |
|---|---|---|
| committer | Bruce Mitchener <bruce.mitchener@gmail.com> | 2018-05-29 09:10:46 +0000 |
| commit | 4ebdee0a59e900e96b5bc177247213b5e33bb058 (patch) | |
| tree | 53166535071c214e9e307e851e80f6f8766e77c2 | |
| parent | 9c3d1f468a0238c5a5a23499bbf76355f5150801 (diff) | |
| download | bcm5719-llvm-4ebdee0a59e900e96b5bc177247213b5e33bb058.tar.gz bcm5719-llvm-4ebdee0a59e900e96b5bc177247213b5e33bb058.zip | |
Typo fixes.
Reviewers: javed.absar
Subscribers: ki.stfu, JDevlieghere, lldb-commits
Differential Revision: https://reviews.llvm.org/D47421
llvm-svn: 333399
37 files changed, 72 insertions, 72 deletions
diff --git a/lldb/include/lldb/Breakpoint/BreakpointID.h b/lldb/include/lldb/Breakpoint/BreakpointID.h index 57411b31631..bbad45ca2d8 100644 --- a/lldb/include/lldb/Breakpoint/BreakpointID.h +++ b/lldb/include/lldb/Breakpoint/BreakpointID.h @@ -57,7 +57,7 @@ public: //------------------------------------------------------------------ /// Takes an input string containing the description of a breakpoint or - /// breakpoint and location and returns the a BreakpointID filled out with + /// breakpoint and location and returns a BreakpointID filled out with /// the proper id and location. /// /// @param[in] input diff --git a/lldb/include/lldb/Core/Address.h b/lldb/include/lldb/Core/Address.h index e892ce4e96e..0fd1f842b57 100644 --- a/lldb/include/lldb/Core/Address.h +++ b/lldb/include/lldb/Core/Address.h @@ -370,7 +370,7 @@ public: /// Check if the object state is valid. /// /// A valid Address object contains either a section pointer and - /// and offset (for section offset based addresses), or just a valid offset + /// offset (for section offset based addresses), or just a valid offset /// (for absolute addresses that have no section). /// /// @return @@ -390,7 +390,7 @@ public: //------------------------------------------------------------------ /// Resolve a file virtual address using a section list. /// - /// Given a list of sections, attempt to resolve \a addr as a an offset into + /// Given a list of sections, attempt to resolve \a addr as an offset into /// one of the file sections. /// /// @return diff --git a/lldb/include/lldb/Core/Broadcaster.h b/lldb/include/lldb/Core/Broadcaster.h index b9d4e5ca17a..4851007c9a2 100644 --- a/lldb/include/lldb/Core/Broadcaster.h +++ b/lldb/include/lldb/Core/Broadcaster.h @@ -548,7 +548,7 @@ protected: llvm::SmallVector<std::pair<lldb::ListenerSP, uint32_t &>, 4> GetListeners(); - Broadcaster &m_broadcaster; ///< The broadcsater that this implements + Broadcaster &m_broadcaster; ///< The broadcaster that this implements event_names_map m_event_names; ///< Optionally define event names for ///readability and logging for each event bit collection m_listeners; ///< A list of Listener / event_mask pairs that are diff --git a/lldb/include/lldb/Target/ExecutionContext.h b/lldb/include/lldb/Target/ExecutionContext.h index 21a2bba8727..70eba3654de 100644 --- a/lldb/include/lldb/Target/ExecutionContext.h +++ b/lldb/include/lldb/Target/ExecutionContext.h @@ -35,8 +35,8 @@ namespace lldb_private { /// contexts: ExecutionContextRef and ExecutionContext. Both of these objects /// are described below. /// -/// Not all objects in an ExectionContext objects will be valid. If you want -/// to refer strongly (ExectionContext) or weakly (ExectionContextRef) to a +/// Not all objects in an ExecutionContext objects will be valid. If you want +/// to refer strongly (ExecutionContext) or weakly (ExecutionContextRef) to a /// process, then only the process and target references will be valid. For /// threads, only the thread, process and target references will be filled in. /// For frames, all of the objects will be filled in. diff --git a/lldb/include/lldb/Target/Process.h b/lldb/include/lldb/Target/Process.h index 326c771d376..b09c31d0ff2 100644 --- a/lldb/include/lldb/Target/Process.h +++ b/lldb/include/lldb/Target/Process.h @@ -761,7 +761,7 @@ public: /// This object will be used to resolve plug-in commands and can be /// triggered by a call to: /// - /// (lldb) process commmand <args> + /// (lldb) process command <args> /// /// @return /// A CommandObject which can be one of the concrete subclasses diff --git a/lldb/include/lldb/Utility/ArchSpec.h b/lldb/include/lldb/Utility/ArchSpec.h index 931b3334673..ac847e19c3f 100644 --- a/lldb/include/lldb/Utility/ArchSpec.h +++ b/lldb/include/lldb/Utility/ArchSpec.h @@ -293,7 +293,7 @@ public: //------------------------------------------------------------------ /// Returns a static string representing the current architecture. /// - /// @return A static string correcponding to the current + /// @return A static string corresponding to the current /// architecture. //------------------------------------------------------------------ const char *GetArchitectureName() const; @@ -419,7 +419,7 @@ public: /// @return True if the object, and CPU were successfully set. /// /// As a side effect, the vendor value is usually set to unknown. The - /// exections are + /// exceptions are /// aarch64-apple-ios /// arm-apple-ios /// thumb-apple-ios @@ -487,14 +487,14 @@ public: uint32_t GetCodeByteSize() const; //------------------------------------------------------------------ - /// Architecture tripple accessor. + /// Architecture triple accessor. /// /// @return A triple describing this ArchSpec. //------------------------------------------------------------------ llvm::Triple &GetTriple() { return m_triple; } //------------------------------------------------------------------ - /// Architecture tripple accessor. + /// Architecture triple accessor. /// /// @return A triple describing this ArchSpec. //------------------------------------------------------------------ @@ -503,7 +503,7 @@ public: void DumpTriple(Stream &s) const; //------------------------------------------------------------------ - /// Architecture tripple setter. + /// Architecture triple setter. /// /// Configures this ArchSpec according to the given triple. If the triple /// has unknown components in all of the vendor, OS, and the optional @@ -527,7 +527,7 @@ public: lldb::ByteOrder GetDefaultEndian() const; //------------------------------------------------------------------ - /// Returns true if 'char' is a signed type by defualt in the architecture + /// Returns true if 'char' is a signed type by default in the architecture /// false otherwise /// /// @return True if 'char' is a signed type by default on the diff --git a/lldb/packages/Python/lldbsuite/test/functionalities/apropos_with_process/TestAproposWithProcess.py b/lldb/packages/Python/lldbsuite/test/functionalities/apropos_with_process/TestAproposWithProcess.py index fdafbcc7983..aa80c9976eb 100644 --- a/lldb/packages/Python/lldbsuite/test/functionalities/apropos_with_process/TestAproposWithProcess.py +++ b/lldb/packages/Python/lldbsuite/test/functionalities/apropos_with_process/TestAproposWithProcess.py @@ -1,5 +1,5 @@ """ -Test that apropos env doesn't crash trying to touch the process plugin commmand +Test that apropos env doesn't crash trying to touch the process plugin command """ from __future__ import print_function @@ -24,12 +24,12 @@ class AproposWithProcessTestCase(TestBase): self.line = line_number('main.cpp', '// break here') def test_apropos_with_process(self): - """Test that apropos env doesn't crash trying to touch the process plugin commmand.""" + """Test that apropos env doesn't crash trying to touch the process plugin command.""" self.build() exe = self.getBuildArtifact("a.out") self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET) - # Break in main() aftre the variables are assigned values. + # Break in main() after the variables are assigned values. lldbutil.run_break_set_by_file_and_line( self, "main.cpp", self.line, num_expected_locations=1, loc_exact=True) diff --git a/lldb/packages/Python/lldbsuite/test/functionalities/memory/find/TestMemoryFind.py b/lldb/packages/Python/lldbsuite/test/functionalities/memory/find/TestMemoryFind.py index af12291b044..8e0fbaa3201 100644 --- a/lldb/packages/Python/lldbsuite/test/functionalities/memory/find/TestMemoryFind.py +++ b/lldb/packages/Python/lldbsuite/test/functionalities/memory/find/TestMemoryFind.py @@ -31,7 +31,7 @@ class MemoryFindTestCase(TestBase): exe = self.getBuildArtifact("a.out") self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET) - # Break in main() aftre the variables are assigned values. + # Break in main() after the variables are assigned values. lldbutil.run_break_set_by_file_and_line( self, "main.cpp", self.line, num_expected_locations=1, loc_exact=True) diff --git a/lldb/packages/Python/lldbsuite/test/functionalities/memory/read/TestMemoryRead.py b/lldb/packages/Python/lldbsuite/test/functionalities/memory/read/TestMemoryRead.py index 58130df3911..2e4bbbd53f0 100644 --- a/lldb/packages/Python/lldbsuite/test/functionalities/memory/read/TestMemoryRead.py +++ b/lldb/packages/Python/lldbsuite/test/functionalities/memory/read/TestMemoryRead.py @@ -29,7 +29,7 @@ class MemoryReadTestCase(TestBase): exe = self.getBuildArtifact("a.out") self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET) - # Break in main() aftre the variables are assigned values. + # Break in main() after the variables are assigned values. lldbutil.run_break_set_by_file_and_line( self, "main.cpp", self.line, num_expected_locations=1, loc_exact=True) diff --git a/lldb/packages/Python/lldbsuite/test/functionalities/nested_alias/TestNestedAlias.py b/lldb/packages/Python/lldbsuite/test/functionalities/nested_alias/TestNestedAlias.py index 84181ad9188..f805b53d3cd 100644 --- a/lldb/packages/Python/lldbsuite/test/functionalities/nested_alias/TestNestedAlias.py +++ b/lldb/packages/Python/lldbsuite/test/functionalities/nested_alias/TestNestedAlias.py @@ -29,7 +29,7 @@ class NestedAliasTestCase(TestBase): exe = self.getBuildArtifact("a.out") self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET) - # Break in main() aftre the variables are assigned values. + # Break in main() after the variables are assigned values. lldbutil.run_break_set_by_file_and_line( self, "main.cpp", self.line, num_expected_locations=1, loc_exact=True) diff --git a/lldb/packages/Python/lldbsuite/test/functionalities/thread/exit_during_break/main.cpp b/lldb/packages/Python/lldbsuite/test/functionalities/thread/exit_during_break/main.cpp index e41fbebf380..8fc1e42e96d 100644 --- a/lldb/packages/Python/lldbsuite/test/functionalities/thread/exit_during_break/main.cpp +++ b/lldb/packages/Python/lldbsuite/test/functionalities/thread/exit_during_break/main.cpp @@ -86,7 +86,7 @@ int main () // last in the internal list maintained by the debugger. pseudo_barrier_init(g_barrier1, 5); - // The second break synchronyizes thread exection with the breakpoint. + // The second break synchronizes thread execution with the breakpoint. pseudo_barrier_init(g_barrier2, 5); // The third barrier keeps the waiting threads around until the breakpoint diff --git a/lldb/packages/Python/lldbsuite/test/lang/cpp/unsigned_types/TestUnsignedTypes.py b/lldb/packages/Python/lldbsuite/test/lang/cpp/unsigned_types/TestUnsignedTypes.py index 3e9316079b2..27b2a0b357a 100644 --- a/lldb/packages/Python/lldbsuite/test/lang/cpp/unsigned_types/TestUnsignedTypes.py +++ b/lldb/packages/Python/lldbsuite/test/lang/cpp/unsigned_types/TestUnsignedTypes.py @@ -33,7 +33,7 @@ class UnsignedTypesTestCase(TestBase): # GCC puts a breakpoint on the last line of a multi-line expression, so # if GCC is the target compiler, we cannot rely on an exact line match. need_exact = "gcc" not in self.getCompiler() - # Break on line 19 in main() aftre the variables are assigned values. + # Break on line 19 in main() after the variables are assigned values. lldbutil.run_break_set_by_file_and_line( self, "main.cpp", diff --git a/lldb/packages/Python/lldbsuite/test/lang/objc/bitfield_ivars/TestBitfieldIvars.py b/lldb/packages/Python/lldbsuite/test/lang/objc/bitfield_ivars/TestBitfieldIvars.py index c7d12895a42..c0d006ee53a 100644 --- a/lldb/packages/Python/lldbsuite/test/lang/objc/bitfield_ivars/TestBitfieldIvars.py +++ b/lldb/packages/Python/lldbsuite/test/lang/objc/bitfield_ivars/TestBitfieldIvars.py @@ -5,7 +5,7 @@ lldbinline.MakeInlineTest( __file__, globals(), [ - # This is a Darwin-only failure related to incorrect expresssion- + # This is a Darwin-only failure related to incorrect expression- # evaluation for single-bit ObjC bitfields. decorators.skipUnlessDarwin, decorators.expectedFailureAll( diff --git a/lldb/source/Commands/CommandObjectWatchpointCommand.cpp b/lldb/source/Commands/CommandObjectWatchpointCommand.cpp index 9561cb15c26..74015a43383 100644 --- a/lldb/source/Commands/CommandObjectWatchpointCommand.cpp +++ b/lldb/source/Commands/CommandObjectWatchpointCommand.cpp @@ -669,7 +669,7 @@ CommandObjectWatchpointCommand::CommandObjectWatchpointCommand( : CommandObjectMultiword( interpreter, "command", "Commands for adding, removing and examining LLDB commands " - "executed when the watchpoint is hit (watchpoint 'commmands').", + "executed when the watchpoint is hit (watchpoint 'commands').", "command <sub-command> [<sub-command-options>] <watchpoint-id>") { CommandObjectSP add_command_object( new CommandObjectWatchpointCommandAdd(interpreter)); diff --git a/lldb/source/Core/Communication.cpp b/lldb/source/Core/Communication.cpp index da554ba40f0..5ca338639de 100644 --- a/lldb/source/Core/Communication.cpp +++ b/lldb/source/Core/Communication.cpp @@ -105,7 +105,7 @@ ConnectionStatus Communication::Disconnect(Status *error_ptr) { // // This unique pointer will cleanup after itself when this object goes // away, so there is no need to currently have it destroy itself - // immediately upon disconnnect. + // immediately upon disconnect. // connection_sp.reset(); return status; } diff --git a/lldb/source/Core/ValueObjectVariable.cpp b/lldb/source/Core/ValueObjectVariable.cpp index 95b58b3336c..bfe5c3de7fb 100644 --- a/lldb/source/Core/ValueObjectVariable.cpp +++ b/lldb/source/Core/ValueObjectVariable.cpp @@ -201,7 +201,7 @@ bool ValueObjectVariable::UpdateValue() { // are always load addresses. Host addresses are used to store freeze // dried variables. If this type is a struct, the entire struct // contents will be copied into the heap of the - // LLDB process, but we do not currrently follow any pointers. + // LLDB process, but we do not currently follow any pointers. if (is_pointer_or_ref) SetAddressTypeOfChildren(eAddressTypeLoad); else diff --git a/lldb/source/Expression/DWARFExpression.cpp b/lldb/source/Expression/DWARFExpression.cpp index 8f54bf37ea0..c851e052a52 100644 --- a/lldb/source/Expression/DWARFExpression.cpp +++ b/lldb/source/Expression/DWARFExpression.cpp @@ -2697,7 +2697,7 @@ bool DWARFExpression::Evaluate( if (error_ptr) { error_ptr->SetErrorStringWithFormat( "unable to extract DW_OP_bit_piece(bit_size = %" PRIu64 - ", bit_offset = %" PRIu64 ") from an addresss value.", + ", bit_offset = %" PRIu64 ") from an address value.", piece_bit_size, piece_bit_offset); } return false; diff --git a/lldb/source/Plugins/Architecture/Arm/ArchitectureArm.cpp b/lldb/source/Plugins/Architecture/Arm/ArchitectureArm.cpp index 0645b3f8e33..95d4b88d9a6 100644 --- a/lldb/source/Plugins/Architecture/Arm/ArchitectureArm.cpp +++ b/lldb/source/Plugins/Architecture/Arm/ArchitectureArm.cpp @@ -94,7 +94,7 @@ void ArchitectureArm::OverrideStopInfo(Thread &thread) { // such cases, we really don't want to stop at this location. // I will check with the lldb-dev list first before I enable this. #if 0 - // ARM mode: check for condition on intsruction + // ARM mode: check for condition on instruction const addr_t pc = reg_ctx_sp->GetPC(); Status error; // If we fail to read the opcode we will get UINT64_MAX as the result in diff --git a/lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp b/lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp index 6151e97bcd8..0b0681a79b5 100644 --- a/lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp +++ b/lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp @@ -803,7 +803,7 @@ lldb_private::Status ClangExpressionParser::PrepareForExecution( { auto lang = m_expr.Language(); if (log) - log->Printf("%s - Currrent expression language is %s\n", __FUNCTION__, + log->Printf("%s - Current expression language is %s\n", __FUNCTION__, Language::GetNameForLanguageType(lang)); lldb::ProcessSP process_sp = exe_ctx.GetProcessSP(); if (process_sp && lang != lldb::eLanguageTypeUnknown) { diff --git a/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp b/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp index 4ab1510d2c7..6cb665c8cbc 100644 --- a/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp +++ b/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp @@ -593,7 +593,7 @@ struct RenderScriptRuntime::Element { empirical_type<uint32_t> datum_size; // Size of a single Element with padding empirical_type<uint32_t> padding; // Number of padding bytes empirical_type<uint32_t> - array_size; // Number of items in array, only needed for strucrs + array_size; // Number of items in array, only needed for structs ConstString type_name; // Name of type, only needed for structs static const ConstString & @@ -3392,7 +3392,7 @@ bool RenderScriptRuntime::DumpAllocation(Stream &strm, StackFrame *frame_ptr, DumpValueObjectOptions expr_options; expr_options.SetHideName(true); - // Setup expression as derefrencing a pointer cast to element + // Setup expression as dereferencing a pointer cast to element // address. char expr_char_buffer[jit_max_expr_size]; int written = diff --git a/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptx86ABIFixups.cpp b/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptx86ABIFixups.cpp index 1e75126621c..e1f8ea64841 100644 --- a/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptx86ABIFixups.cpp +++ b/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptx86ABIFixups.cpp @@ -121,7 +121,7 @@ llvm::FunctionType *cloneToStructRetFnTy(llvm::CallInst *call_inst) { if (log) log->Printf("%s - return type pointer type for StructRet clone @ '0x%p':\n", __FUNCTION__, (void *)return_type_ptr_type); - // put the the sret pointer argument in place at the beginning of the + // put the sret pointer argument in place at the beginning of the // argument list. params.emplace(params.begin(), return_type_ptr_type); assert(params.size() == num_params + 1); diff --git a/lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_arm.h b/lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_arm.h index 40e3b80eda7..d0b068550a9 100644 --- a/lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_arm.h +++ b/lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_arm.h @@ -42,7 +42,7 @@ public: Status WriteAllRegisterValues(const lldb::DataBufferSP &data_sp) override; //------------------------------------------------------------------ - // Hardware breakpoints/watchpoint mangement functions + // Hardware breakpoints/watchpoint management functions //------------------------------------------------------------------ uint32_t NumSupportedHardwareBreakpoints() override; @@ -140,7 +140,7 @@ private: // occurred. lldb::addr_t real_addr; // Address value that should cause target to stop. uint32_t control; // Breakpoint/watchpoint control value. - uint32_t refcount; // Serves as enable/disable and refernce counter. + uint32_t refcount; // Serves as enable/disable and reference counter. }; struct DREG m_hbr_regs[16]; // Arm native linux hardware breakpoints diff --git a/lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_arm64.h b/lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_arm64.h index ab3c881ead5..c859d4249d0 100644 --- a/lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_arm64.h +++ b/lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_arm64.h @@ -42,7 +42,7 @@ public: Status WriteAllRegisterValues(const lldb::DataBufferSP &data_sp) override; //------------------------------------------------------------------ - // Hardware breakpoints/watchpoint mangement functions + // Hardware breakpoints/watchpoint management functions //------------------------------------------------------------------ uint32_t NumSupportedHardwareBreakpoints() override; @@ -140,7 +140,7 @@ private: // occurred. lldb::addr_t real_addr; // Address value that should cause target to stop. uint32_t control; // Breakpoint/watchpoint control value. - uint32_t refcount; // Serves as enable/disable and refernce counter. + uint32_t refcount; // Serves as enable/disable and reference counter. }; struct DREG m_hbr_regs[16]; // Arm native linux hardware breakpoints diff --git a/lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_ppc64le.h b/lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_ppc64le.h index bf8bf8ec3ad..2c4471962ad 100644 --- a/lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_ppc64le.h +++ b/lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_ppc64le.h @@ -49,7 +49,7 @@ public: Status WriteAllRegisterValues(const lldb::DataBufferSP &data_sp) override; //------------------------------------------------------------------ - // Hardware watchpoint mangement functions + // Hardware watchpoint management functions //------------------------------------------------------------------ uint32_t NumSupportedHardwareWatchpoints() override; diff --git a/lldb/source/Plugins/Process/Linux/ProcessorTrace.h b/lldb/source/Plugins/Process/Linux/ProcessorTrace.h index 6603c7d6047..6fd918c2bb5 100644 --- a/lldb/source/Plugins/Process/Linux/ProcessorTrace.h +++ b/lldb/source/Plugins/Process/Linux/ProcessorTrace.h @@ -34,7 +34,7 @@ namespace process_linux { // a key to the tracing instance and trace manipulations could be // performed using the trace id. // -// The traace id could map to trace instances for a group of threads +// The trace id could map to trace instances for a group of threads // (spanning to all the threads in the process) or a single thread. // The kernel interface for us is the perf_event_open. // --------------------------------------------------------------------- diff --git a/lldb/source/Plugins/Process/MacOSX-Kernel/ProcessKDP.cpp b/lldb/source/Plugins/Process/MacOSX-Kernel/ProcessKDP.cpp index 40bebfcf098..2e707ab2e36 100644 --- a/lldb/source/Plugins/Process/MacOSX-Kernel/ProcessKDP.cpp +++ b/lldb/source/Plugins/Process/MacOSX-Kernel/ProcessKDP.cpp @@ -385,7 +385,7 @@ ProcessKDP::DoAttachToProcessWithID(lldb::pid_t attach_pid, const ProcessAttachInfo &attach_info) { Status error; error.SetErrorString( - "attach to process by ID is not suppported in kdp remote debugging"); + "attach to process by ID is not supported in kdp remote debugging"); return error; } @@ -394,7 +394,7 @@ ProcessKDP::DoAttachToProcessWithName(const char *process_name, const ProcessAttachInfo &attach_info) { Status error; error.SetErrorString( - "attach to process by name is not suppported in kdp remote debugging"); + "attach to process by name is not supported in kdp remote debugging"); return error; } @@ -544,7 +544,7 @@ Status ProcessKDP::DoHalt(bool &caused_stop) { if (m_comm.IsRunning()) { if (m_destroy_in_process) { - // If we are attemping to destroy, we need to not return an error to Halt + // If we are attempting to destroy, we need to not return an error to Halt // or DoDestroy won't get called. We are also currently running, so send // a process stopped event SetPrivateState(eStateStopped); @@ -646,14 +646,14 @@ size_t ProcessKDP::DoWriteMemory(addr_t addr, const void *buf, size_t size, lldb::addr_t ProcessKDP::DoAllocateMemory(size_t size, uint32_t permissions, Status &error) { error.SetErrorString( - "memory allocation not suppported in kdp remote debugging"); + "memory allocation not supported in kdp remote debugging"); return LLDB_INVALID_ADDRESS; } Status ProcessKDP::DoDeallocateMemory(lldb::addr_t addr) { Status error; error.SetErrorString( - "memory deallocation not suppported in kdp remote debugging"); + "memory deallocation not supported in kdp remote debugging"); return error; } @@ -700,14 +700,14 @@ Status ProcessKDP::DisableBreakpointSite(BreakpointSite *bp_site) { Status ProcessKDP::EnableWatchpoint(Watchpoint *wp, bool notify) { Status error; error.SetErrorString( - "watchpoints are not suppported in kdp remote debugging"); + "watchpoints are not supported in kdp remote debugging"); return error; } Status ProcessKDP::DisableWatchpoint(Watchpoint *wp, bool notify) { Status error; error.SetErrorString( - "watchpoints are not suppported in kdp remote debugging"); + "watchpoints are not supported in kdp remote debugging"); return error; } @@ -716,7 +716,7 @@ void ProcessKDP::Clear() { m_thread_list.Clear(); } Status ProcessKDP::DoSignal(int signo) { Status error; error.SetErrorString( - "sending signals is not suppported in kdp remote debugging"); + "sending signals is not supported in kdp remote debugging"); return error; } diff --git a/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp b/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp index be79ef9c805..b3338f3b4b7 100644 --- a/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp +++ b/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp @@ -5002,7 +5002,7 @@ ParseStructuredDataPacket(llvm::StringRef packet) { if (!packet.consume_front(s_async_json_packet_prefix)) { if (log) { log->Printf( - "GDBRemoteCommmunicationClientBase::%s() received $J packet " + "GDBRemoteCommunicationClientBase::%s() received $J packet " "but was not a StructuredData packet: packet starts with " "%s", __FUNCTION__, diff --git a/lldb/source/Plugins/StructuredData/DarwinLog/StructuredDataDarwinLog.cpp b/lldb/source/Plugins/StructuredData/DarwinLog/StructuredDataDarwinLog.cpp index cebd226b7a7..e33e26507fb 100644 --- a/lldb/source/Plugins/StructuredData/DarwinLog/StructuredDataDarwinLog.cpp +++ b/lldb/source/Plugins/StructuredData/DarwinLog/StructuredDataDarwinLog.cpp @@ -185,7 +185,7 @@ const char *const s_filter_attributes[] = { "message", // message contents, fully expanded "subsystem" // subsystem of the log message - // Consider impelmenting this action as it would be cheaper to filter. + // Consider implementing this action as it would be cheaper to filter. // "message" requires always formatting the message, which is a waste of // cycles if it ends up being rejected. "format", // format string // used to format message text @@ -488,11 +488,11 @@ static OptionDefinition g_enable_option_table[] = { "a log message."}, {LLDB_OPT_SET_ALL, false, "category", 'c', OptionParser::eNoArgument, nullptr, nullptr, 0, eArgTypeNone, - "Include the category in the the message header when displaying " + "Include the category in the message header when displaying " "a log message."}, {LLDB_OPT_SET_ALL, false, "activity-chain", 'C', OptionParser::eNoArgument, nullptr, nullptr, 0, eArgTypeNone, - "Include the activity parent-child chain in the the message header " + "Include the activity parent-child chain in the message header " "when displaying a log message. The activity hierarchy is " "displayed as {grandparent-activity}:" "{parent-activity}:{activity}[:...]."}, @@ -615,7 +615,7 @@ public: source_flags_sp->AddBooleanItem("any-process", m_include_any_process); source_flags_sp->AddBooleanItem("debug-level", m_include_debug_level); - // The debug-level flag, if set, implies info-level. + // The debug-level flag, if set, implies info-level. source_flags_sp->AddBooleanItem("info-level", m_include_info_level || m_include_debug_level); source_flags_sp->AddBooleanItem("live-stream", m_live_stream); @@ -877,7 +877,7 @@ protected: plugin.SetEnabled(false); } else { result.SetStatus(eReturnStatusSuccessFinishNoResult); - // Our configuration succeeeded, so we're enabled/disabled per whichever + // Our configuration succeeded, so we're enabled/disabled per whichever // one this command is setup to do. plugin.SetEnabled(m_enable); } @@ -1461,7 +1461,7 @@ Status StructuredDataDarwinLog::FilterLaunchInfo(ProcessLaunchInfo &launch_info, // Darwin os_log() support automatically adds debug-level and info-level // messages when a debugger is attached to a process. However, with - // integrated suppport for debugging built into the command-line LLDB, the + // integrated support for debugging built into the command-line LLDB, the // user may specifically set to *not* include debug-level and info-level // content. When the user is using the integrated log support, we want to // put the kabosh on that automatic adding of info and debug level. This is diff --git a/lldb/source/Plugins/UnwindAssembly/InstEmulation/UnwindAssemblyInstEmulation.cpp b/lldb/source/Plugins/UnwindAssembly/InstEmulation/UnwindAssemblyInstEmulation.cpp index a8872533981..0878c0e7f34 100644 --- a/lldb/source/Plugins/UnwindAssembly/InstEmulation/UnwindAssemblyInstEmulation.cpp +++ b/lldb/source/Plugins/UnwindAssembly/InstEmulation/UnwindAssemblyInstEmulation.cpp @@ -159,7 +159,7 @@ bool UnwindAssemblyInstEmulation::GetNonCallSiteUnwindPlanFromAssembly( // If the offset of m_curr_row don't match with the offset we see // in saved_unwind_states then we have to update m_curr_row and - // m_register_values based on the saved values. It is happenning + // m_register_values based on the saved values. It is happening // after we processed an epilogue and a return to caller // instruction. if (it->second.first->GetOffset() != m_curr_row->GetOffset()) { @@ -206,7 +206,7 @@ bool UnwindAssemblyInstEmulation::GetNonCallSiteUnwindPlanFromAssembly( replace_existing); } - // We are starting a new conditional block at the catual offset + // We are starting a new conditional block at the actual offset condition_block_start_offset = current_offset; } @@ -242,7 +242,7 @@ bool UnwindAssemblyInstEmulation::GetNonCallSiteUnwindPlanFromAssembly( // instruction? if (m_curr_row_modified) { // Save the modified row if we don't already have a CFI row in - // the currennt address + // the current address if (saved_unwind_states.count( current_offset + inst->GetOpcode().GetByteSize()) == 0) { m_curr_row->SetOffset(current_offset + diff --git a/lldb/source/Target/TargetList.cpp b/lldb/source/Target/TargetList.cpp index 12307b6ac06..280e6e39ac7 100644 --- a/lldb/source/Target/TargetList.cpp +++ b/lldb/source/Target/TargetList.cpp @@ -102,7 +102,7 @@ Status TargetList::CreateTargetInternal( CommandInterpreter &interpreter = debugger.GetCommandInterpreter(); - // let's see if there is already an existing plaform before we go creating + // let's see if there is already an existing platform before we go creating // another... platform_sp = debugger.GetPlatformList().GetSelectedPlatform(); @@ -232,7 +232,7 @@ Status TargetList::CreateTargetInternal( } if (platform_ptr) { - // All platforms for all modules in the exectuable match, so we can + // All platforms for all modules in the executable match, so we can // select this platform platform_sp = platforms.front(); } else if (more_than_one_platforms == false) { diff --git a/lldb/source/Utility/Status.cpp b/lldb/source/Utility/Status.cpp index e686204f8c4..f6dc228391b 100644 --- a/lldb/source/Utility/Status.cpp +++ b/lldb/source/Utility/Status.cpp @@ -167,7 +167,7 @@ ErrorType Status::GetType() const { return m_type; } bool Status::Fail() const { return m_code != 0; } //---------------------------------------------------------------------- -// Set accesssor for the error value to "err" and the type to +// Set accessor for the error value to "err" and the type to // "eErrorTypeMachKernel" //---------------------------------------------------------------------- void Status::SetMachError(uint32_t err) { @@ -201,7 +201,7 @@ int Status::SetExpressionErrorWithFormat(lldb::ExpressionResults result, } //---------------------------------------------------------------------- -// Set accesssor for the error value and type. +// Set accessor for the error value and type. //---------------------------------------------------------------------- void Status::SetError(ValueType err, ErrorType type) { m_code = err; diff --git a/lldb/tools/debugserver/source/MacOSX/MachProcess.mm b/lldb/tools/debugserver/source/MacOSX/MachProcess.mm index 95565041e94..2703271ee99 100644 --- a/lldb/tools/debugserver/source/MacOSX/MachProcess.mm +++ b/lldb/tools/debugserver/source/MacOSX/MachProcess.mm @@ -1486,7 +1486,7 @@ bool MachProcess::Detach() { // Resume our task m_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 m_task.Clear(); // Clear out any notion of the process we once were @@ -1797,7 +1797,7 @@ bool MachProcess::DisableBreakpoint(nub_addr_t addr, bool remove) { break_op_size) { bool verify = false; if (bp->IsEnabled()) { - // Make sure we have the a breakpoint opcode exists at this address + // Make sure a breakpoint opcode exists at this address if (memcmp(curr_break_op, break_op, break_op_size) == 0) { break_op_found = true; // We found a valid breakpoint opcode at this address, now restore diff --git a/lldb/tools/debugserver/source/RNBServices.cpp b/lldb/tools/debugserver/source/RNBServices.cpp index 9f90f349f3a..b2f4910f885 100644 --- a/lldb/tools/debugserver/source/RNBServices.cpp +++ b/lldb/tools/debugserver/source/RNBServices.cpp @@ -80,7 +80,7 @@ int GetProcesses(CFMutableArrayRef plistMutableArray, bool all_users) { ::CFDictionarySetValue(appInfoDict.get(), DTSERVICES_APP_PID_KEY, pidCFNumber.get()); - // Set the a boolean to indicate if this is the front most + // Set a boolean to indicate if this is the front most ::CFDictionarySetValue(appInfoDict.get(), DTSERVICES_APP_FRONTMOST_KEY, kCFBooleanFalse); @@ -169,7 +169,7 @@ int ListApplications(std::string &plist, bool opt_runningApps, pidCFNumber.get()); } - // Set the a boolean to indicate if this is the front most + // Set a boolean to indicate if this is the front most if (sbsFrontAppID.get() && displayIdentifier && (::CFStringCompare(sbsFrontAppID.get(), displayIdentifier, 0) == kCFCompareEqualTo)) diff --git a/lldb/tools/lldb-mi/MICmnResources.cpp b/lldb/tools/lldb-mi/MICmnResources.cpp index b533e699ea8..e32a816fc9f 100644 --- a/lldb/tools/lldb-mi/MICmnResources.cpp +++ b/lldb/tools/lldb-mi/MICmnResources.cpp @@ -451,7 +451,7 @@ const CMICmnResources::SRsrcTextData "'print' error. The option '%s' not found"}, {IDS_CMD_ERR_EXPR_INVALID, "Failed to evaluate expression: %s"}, {IDS_CMD_ERR_ATTACH_FAILED, - "Command '%s'. Attach to processs failed: %s"}, + "Command '%s'. Attach to process failed: %s"}, {IDS_CMD_ERR_ATTACH_BAD_ARGS, "Command '%s'. Must specify either a PID or a Name"}}; diff --git a/lldb/tools/lldb-mi/MIReadMe.txt b/lldb/tools/lldb-mi/MIReadMe.txt index bc3d4a8d5e5..51316ed879c 100644 --- a/lldb/tools/lldb-mi/MIReadMe.txt +++ b/lldb/tools/lldb-mi/MIReadMe.txt @@ -9,7 +9,7 @@ For help information on using the MI driver type at the command line: lldb-mi --interpreter --help -A blog about the MI Driver is available on CodePlay's website. ALthough it may not be +A blog about the MI Driver is available on CodePlay's website. Although it may not be completely accurate after the recent changes in lldb-mi. http://www.codeplay.com/portal/lldb-mi-driver---part-1-introduction @@ -19,7 +19,7 @@ used to aid the debugging of the MI Driver. It also gives warnings about command's which do not support certain argument or options. Note any command or text sent to the MI Driver in MI mode that is not a command -registered in the MI Driver's Command Factory will be rejected and an error messsage +registered in the MI Driver's Command Factory will be rejected and an error message will be generated. All the files prefix with MI are specifically for the MI driver code only. @@ -29,8 +29,8 @@ File MIDriverMain.cpp contains the executables main() function. Current limitations: 1. Not all commands and their options have been implemented. Please see the source code for details. -2. LLDB-MI may have additinal arguments not used in GDB MI. Please see -MIExtesnsions.txt +2. LLDB-MI may have additional arguments not used in GDB MI. Please see +MIExtensions.txt ========================================================================= The MI Driver build configuration: diff --git a/lldb/www/remote.html b/lldb/www/remote.html index 1d0dc7b4b0f..bfd0b63e566 100644 --- a/lldb/www/remote.html +++ b/lldb/www/remote.html @@ -133,7 +133,7 @@ "<code>remote-</code>". For example, to debug a remote Linux application: <br> <code> - <br>(lldb) <b>patform select remote-linux</b> + <br>(lldb) <b>platform select remote-linux</b> </code> <p> @@ -215,7 +215,7 @@ <h4>Install and run by specifying a remote install path</h4> <p> If you want the "a.out" executable to be installed into - "/bin/a.out" instead of the platorm's current working directory, + "/bin/a.out" instead of the platform's current working directory, we can set the platform file specification using python: <br> <code> @@ -225,7 +225,7 @@ </code> <p> Now when you run your program, the program will be uploaded to - "/bin/a.out" instead of the the platform current working directory. + "/bin/a.out" instead of the platform current working directory. Only the main executable is uploaded to the remote system by default when launching the application. If you have shared libraries that should also be uploaded, then you can add the diff --git a/lldb/www/tutorial.html b/lldb/www/tutorial.html index 217ea17aac6..f3f80253cca 100755 --- a/lldb/www/tutorial.html +++ b/lldb/www/tutorial.html @@ -94,7 +94,7 @@ </code> <p>You can use the --name option multiple times to make a breakpoint on a set of functions as well. This is convenient - since it allows you to set commmon conditions or commands without having to specify them multiple times:</p> + since it allows you to set common conditions or commands without having to specify them multiple times:</p> <code> (lldb) breakpoint set --name foo --name bar |

