Repository navigation
Conversation
pbabics
force-pushed
the
feature/python-gdb
branch
from
December 21, 2017 19:33
0fd8823 to
c81f274
Compare
pbabics
force-pushed
the
feature/python-gdb
branch
from
January 11, 2018 08:35
c81f274 to
0a95f5c
Compare
pbabics
force-pushed
the
feature/python-gdb
branch
from
January 11, 2018 08:46
0a95f5c to
e33e671
Compare
Member
|
Sorry for the delay. Are there other paths besides When you say "and even compile your own GDB" -- is that required for this to work? Does Debian's GDB not do the right thing? |
Author
|
There are more paths besides GDB may not work when installed from debian package, because it is compiled against python from debian packages. But compiling GDB is pretty simple, so I would leave this for people who need it. |
Member
|
Given that this is very complicated for us to get right, I'm going to (finally 🙇) close this for now, but I'll leave #89 open so that if/when we find a reasonable solution, this can be revisited. ❤️ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is PR for #89
When you want to use GDB with python docker images you have to create your own, because official does not have/support
python-gdbscript, it is removed during build time of image.This PR proproses to copy it to
/usr/lib/debug/...which is inauto-loadsafe path. This enables to use commands likepy-btand others in GDB.Note that to use GDB with
attachyou have to addSYS_PTRACEcapability to container and even compile your own GDB against python source / library.Closes #89