From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtpng3.m.smailru.net (smtpng3.m.smailru.net [94.100.177.149]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id EB8D7469719 for ; Thu, 27 Feb 2020 13:18:31 +0300 (MSK) Date: Thu, 27 Feb 2020 13:13:10 +0300 From: Igor Munkin Message-ID: <20200227101310.GM404@tarantool.org> References: <20200226230427.p3ufx7thld6355mh@tkn_work_nb> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20200226230427.p3ufx7thld6355mh@tkn_work_nb> Subject: Re: [Tarantool-patches] [PATCH v2 luajit 0/3] Introduce gdb extension for LuaJIT List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alexander Turenko Cc: tarantool-patches@dev.tarantool.org 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 (TValue address) and dumps > 525:The command recieves a 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 -The command recieves a pointer to (TValue address) and dumps +The command receives a pointer to (TValue address) and dumps the type and some info related to it. * LJ_TNIL: nil @@ -519,7 +519,7 @@ class LJDumpString(LJBase): ''' lj-str -The command recieves a of the corresponding GCstr object and dumps +The command receives a 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 -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 slots: : []: @@ -583,7 +583,7 @@ class LJDumpStack(LJBase): ''' lj-stack [] -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: [] ================================================================================ -- Best regards, IM