]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EmulatorPkg/Unix/lldbefi.py
EmulatorPkg/Unix: Fix various typos
[mirror_edk2.git] / EmulatorPkg / Unix / lldbefi.py
index 7f99a7f83fcc313e74daf4197df7ee28da2521a0..c3fb2675cbc1d092389bea5edeea42acb94d9883 100755 (executable)
@@ -1,7 +1,7 @@
 #!/usr/bin/python\r
 \r
 #\r
-#  Copyright 2014 Apple Inc. All righes reserved.\r
+#  Copyright 2014 Apple Inc. All rights reserved.\r
 #\r
 #  SPDX-License-Identifier: BSD-2-Clause-Patent\r
 #\r
@@ -278,7 +278,7 @@ def EFI_DEVICE_PATH_PROTOCOL_TypeSummary (valobj,internal_dict):
 \r
     Address = long ("%d" % valobj.addr)\r
     if (Address == lldb.LLDB_INVALID_ADDRESS):\r
-      # Need to reserach this, it seems to be the nested struct case\r
+      # Need to research this, it seems to be the nested struct case\r
       ExprStr = ""\r
     elif (Type & 0x7f == 0x7f):\r
       ExprStr = "End Device Path" if SubType == 0xff else "End This Instance"\r
@@ -304,7 +304,7 @@ def EFI_DEVICE_PATH_PROTOCOL_TypeSummary (valobj,internal_dict):
 \r
 def TypePrintFormating(debugger):\r
     #\r
-    # Set the default print formating for EFI types in lldb.\r
+    # Set the default print formatting for EFI types in lldb.\r
     # seems lldb defaults to decimal.\r
     #\r
     category = debugger.GetDefaultCategory()\r
@@ -390,7 +390,7 @@ def LoadEmulatorEfiSymbols(frame, bp_loc , internal_dict):
     FileName = frame.thread.process.ReadCStringFromMemory (FileNamePtr, FileNameLen, Error)\r
     if not Error.Success():\r
         print "!ReadCStringFromMemory() did not find a %d byte C string at %x" % (FileNameLen, FileNamePtr)\r
-        # make breakpoint command contiue\r
+        # make breakpoint command continue\r
         return False\r
 \r
     debugger = frame.thread.process.target.debugger\r
@@ -410,12 +410,12 @@ def LoadEmulatorEfiSymbols(frame, bp_loc , internal_dict):
                 if not target.RemoveModule (SBModule):\r
                     print "!lldb.target.RemoveModule (%s) FAILED" % SBModule\r
 \r
-    # make breakpoint command contiue\r
+    # make breakpoint command continue\r
     return False\r
 \r
 def GuidToCStructStr (guid, Name=False):\r
   #\r
-  # Convert a 16-byte bytesarry (or bytearray compat object) to C guid string\r
+  # Convert a 16-byte bytesarray (or bytearray compat object) to C guid string\r
   # { 0xB402621F, 0xA940, 0x1E4A, { 0x86, 0x6B, 0x4D, 0xC9, 0x16, 0x2B, 0x34, 0x7C } }\r
   #\r
   # Name=True means lookup name in GuidNameDict and us it if you find it\r
@@ -522,7 +522,7 @@ def __lldb_init_module (debugger, internal_dict):
             if len(data) >= 2:\r
                 guid_dict[data[0].upper()] = data[1].strip('\n')\r
 \r
-    # init EFI specific type formaters\r
+    # init EFI specific type formatters\r
     TypePrintFormating (debugger)\r
 \r
 \r