Open findstr opened 1 year ago
I use pstack to dump lua5.4 callstack in script
pstack
lua5.4
while true do print "" end
the pstack output as follow:
#8 0x000055e26798f041 in luaV_execute(L=1(0x1){r5}, ci=(null))+1584 in /home/zhoupy/silly/deps/lua/lua at lvm.c:1684
In fact, the L parameter is in rbx(r3).
L
The L parameter is incorrect, and the gdb can show the correct value.
gdb
I use
pstack
to dumplua5.4
callstack in scriptthe pstack output as follow:
In fact, the
L
parameter is in rbx(r3).The
L
parameter is incorrect, and thegdb
can show the correct value.