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
bpo-45637: Fix cframe-based fallback in the gdb helpers #29515
Conversation
| cframe = self._gdbframe.read_var('cframe') | ||
| if cframe is None: | ||
| return None | ||
| frame = PyFramePtr(cframe["current_frame"].dereference()) | ||
| frame = PyFramePtr(cframe["current_frame"]) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems more correct. What does it fix?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The pointer that we are getting was wrong. Seems that new versions of gdb still correct this fall and doesn't do anything if is a value and not a pointer, but old versions like the one FreeBSD get garbage
|
If you want to schedule another build, you need to add the " |
|
I am landing this as this fixes the FreeBSD buildbot |


https://bugs.python.org/issue45637