Skip to content
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

Fix errors when thread disappears during attach #212

Merged
merged 2 commits into from Nov 3, 2016

Conversation

cuviper
Copy link
Contributor

@cuviper cuviper commented Oct 29, 2016

Fixes one of the issues reported in #208, following up on #211.

If a thread exited at the wrong point in the middle of attach PC would throw errors where it should have handled it gracefully.

The actual parsing has been rewritten to hopefully be more robust, in a more modern style.

mplegendre and others added 2 commits October 25, 2016 16:13
- The file is now opened with ifstream for RAII.
- The former paren_level logic is removed to instead scan for ") R ".
  (If there were parens in the command, they might not be balanced!)
@wrwilliams
Copy link
Member

Thanks, Josh; the comments really help.

@wrwilliams wrwilliams merged commit 08107c9 into dyninst:master Nov 3, 2016
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.

None yet

3 participants