[Tarantool-patches] [PATCH] gdb: fix the extension to be loaded with Python 2

Oleg Babin olegrok at tarantool.org
Mon Jul 6 08:50:41 MSK 2020


Hi! Thanks for your patch!

I just add that problem appeared on CentOS 7 that is still popular.

But seems your patch solves a problem. LGTM.


On 04/07/2020 22:58, Igor Munkin wrote:
> There was a mystic error when the extension was loaded against old gdb
> versions build against Python 2:
> | (gdb) source luajit-gdb.py
> | Traceback (most recent call last):
> |   File "luajit-gdb.py", line 702, in <module>
> |     load(None)
> |   File "luajit-gdb.py", line 699, in load
> |     'lj-gc': LJGC,
> |   File "luajit-gdb.py", line 687, in init
> |     command(name)
> |   File "luajit-gdb.py", line 468, in __init__
> |     gdb.write('{} command initialized\n'.format(name))
> | ValueError: sequence.index(x): x not in sequence


More information about the Tarantool-patches mailing list