[Tarantool-patches] [PATCH v2 luajit 0/3] Introduce gdb extension for LuaJIT

Igor Munkin imun at tarantool.org
Thu Feb 27 13:13:10 MSK 2020


Sasha,

Thanks, I hope it was a copy-paste.

On 27.02.20, Alexander Turenko wrote:
> Typo: recieve -> receive.
> 
> $ ag recieve tools/tarantool/luajit/luajit-gdb.py 
> 492:The command recieves a pointer to <tv> (TValue address) and dumps
> 525:The command recieves a <gcr> of the corresponding GCstr object and dumps
> 544:The command recieves a GCtab adress and dumps the table contents:
> 589:The command recieves a lua_State address and dumps the given Lua
> 
> WBR, Alexander Turenko.

Fixed, squashed, force-pushed to the branch. Diff is below:

================================================================================

diff --git a/src/luajit-gdb.py b/src/luajit-gdb.py
index b6b3212..0ac0aaa 100644
--- a/src/luajit-gdb.py
+++ b/src/luajit-gdb.py
@@ -486,7 +486,7 @@ class LJDumpTValue(LJBase):
     '''
 lj-tv <TValue *>
 
-The command recieves a pointer to <tv> (TValue address) and dumps
+The command receives a pointer to <tv> (TValue address) and dumps
 the type and some info related to it.
 
 * LJ_TNIL: nil
@@ -519,7 +519,7 @@ class LJDumpString(LJBase):
     '''
 lj-str <GCstr *>
 
-The command recieves a <gcr> of the corresponding GCstr object and dumps
+The command receives a <gcr> of the corresponding GCstr object and dumps
 the payload, size in bytes and hash.
 
 *Caveat*: Since Python 2 provides no native Unicode support, the payload
@@ -538,7 +538,7 @@ class LJDumpTable(LJBase):
     '''
 lj-tab <GCtab *>
 
-The command recieves a GCtab adress and dumps the table contents:
+The command receives a GCtab adress and dumps the table contents:
 * Metatable address whether the one is set
 * Array part <asize> slots:
   <aslot ptr>: [<index>]: <tv>
@@ -583,7 +583,7 @@ class LJDumpStack(LJBase):
     '''
 lj-stack [<lua_State *>]
 
-The command recieves a lua_State address and dumps the given Lua
+The command receives a lua_State address and dumps the given Lua
 coroutine guest stack:
 
 <slot ptr> [<slot attributes>] <VALUE|FRAME>

================================================================================

-- 
Best regards,
IM


More information about the Tarantool-patches mailing list