Skip to content

Initializing gdb modules on Python init #41 #43

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

Merged
merged 1 commit into from
Feb 7, 2025

Conversation

roddyrap
Copy link
Collaborator

@roddyrap roddyrap commented Feb 7, 2025

Loading the Python modules GDB loads on initialization, to support dependant commands, most notably pretty printer.

Closes #41

- Added the frozen_utils library to Python in order to expose the
  modules and submodules that were frozen with Python.
- Using frozen_utils in order to find the modules that GDB usually
  imports on init and importing them.
@roddyrap roddyrap force-pushed the fix-python-modules-on-init branch from b56526a to cd70d53 Compare February 7, 2025 10:15
@guyush1 guyush1 self-requested a review February 7, 2025 13:39
Copy link
Owner

@guyush1 guyush1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, i liked your approach to the fixup of auto-load :)

@guyush1 guyush1 changed the base branch from update-to-gdb-16.2 to develop February 7, 2025 13:40
@guyush1 guyush1 merged commit a67de84 into develop Feb 7, 2025
12 checks passed
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 this pull request may close these issues.

Pretty Printers
2 participants