xjdrew / lua-gdb

gdb extension for lua5.3+
117 stars 27 forks source link

不支持 python2 #2

Open samuelyao314 opened 4 years ago

samuelyao314 commented 4 years ago

gdb 编译的python 版本是2, 出现以下错误

File "lua-gdb.py", line 352 yield str(2*i), i SyntaxError: 'return' with argument inside generator

xjdrew commented 4 years ago

应该是支持python2的,我没有碰到这个错误;如果知道原因了,可以提个PR;

Dear-u commented 3 years ago

生成器的return 带了参数,"lua-gdb.py", line 429

Dear-u commented 3 years ago

另外,地址转换是用long替换int

xjdrew commented 3 years ago

提个PR?

Marskey commented 5 months ago

不支持python2