ruediger/Boost-Pretty-Printer

GDB 12 has changed gdb.Value interface

dmoody256 opened this issue · 1 comments

See commit bminor/binutils-gdb@2988a36

This causes issues for

gdb.Value.__init__(value)

See commit bminor/binutils-gdb@2988a36

This causes issues for

gdb.Value.__init__(value)

I was getting the following error related to this issue

Python Exception <class 'TypeError'>: function missing required argument 'val' (pos 1)

I found a workaround, and it's simply change that line for

        gdb.Value.__init__(self, val=value)

as it seems coherent with the valpy_init function.