pstack
pstack copied to clipboard
Incorrect parameter
I use pstack to dump lua5.4 callstack in script
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).
The L parameter is incorrect, and the gdb can show the correct value.