Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GDB 12 has changed gdb.Value interface #61

Open
dmoody256 opened this issue Oct 11, 2022 · 1 comment · May be fixed by #62
Open

GDB 12 has changed gdb.Value interface #61

dmoody256 opened this issue Oct 11, 2022 · 1 comment · May be fixed by #62

Comments

@dmoody256
Copy link

See commit bminor/binutils-gdb@2988a36

This causes issues for

gdb.Value.__init__(value)

@juanrad
Copy link

juanrad commented Nov 9, 2022

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.

kubajal added a commit to kubajal/Boost-Pretty-Printer that referenced this issue Mar 11, 2023
@abbeyj abbeyj linked a pull request Aug 21, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants