-
Notifications
You must be signed in to change notification settings - Fork 50
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
Add thread tracking extension to myst-gdb #1418
Conversation
a2e83ec
to
8a363c9
Compare
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 adding this, looks good!
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.
We also need to make sure that the hook functions are compiled with debug information, and aren't optimized out.
Do we expect the debugger extension to work in a RelWithDebInfo build of Mystikos?
This extension tracks all threads created inside Enclave, and report their pid, tid to facilitate debugging.
This extension also tracks all command-line arguments that a process runs.
Example usage: tests/dotnet-lib-5
make gdb-runner