-
Notifications
You must be signed in to change notification settings - Fork 197
Add drgn.Program.main_thread() #157
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
Conversation
osandov
left a comment
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.
Thanks for taking this! The scaffolding all looks right here, but I commented on where we should be getting the main TID from.
04241e6 to
2d69fd9
Compare
osandov
left a comment
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.
A few more minor things, thanks!
2d69fd9 to
bfa399b
Compare
osandov
left a comment
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.
Thanks, this all looks functionally correct, I just had a few final nitpicks.
bfa399b to
6888352
Compare
Currently only supported for user-space crash dumps. E.g. no support for live user-space application debugging or kernel debugging. Closes osandov#144. Signed-off-by: Mykola Lysenko <[email protected]>
osandov
left a comment
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.
I did some copy editing, added some trivial Linux kernel test cases that assert that main_thread() raises an exception, and added a reference to main_thread() to the user guide. Once the test cases pass, I'll merge this. Thanks!
Thanks a lot @osandov for the review and all the guidance! I have learned a lot |
Currently only supported for user-space crash dumps. E.g. no support
for live user-space application debugging of kernel debugging
Closes #144
Signed-off-by: Mykola Lysenko [email protected]