This repository has been archived by the owner on Apr 6, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 16
GDB netproxy restructured as a shim #40
Merged
Merged
Changes from 19 commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
348bb2e
rearchitect netproxy as shim
2b0bdbb
improved handling of gdbserver errors on load
62603a0
support direct communication to shim via socket
704c0a3
add support for receiving more signals than just SIGSEGV
280eb8e
provide signal value to exception error
7866fae
allow sigint to pause execution
affef2c
catch unlink errors
6dda14d
detach gdbserver spawn process, pipe stdin, and better sigint handling
1c0e450
improve paths
abb4d54
further generalize signal handling
335a379
improved signal error message grammar
b077644
improve comments
7933eda
add stale binary warning and flag to disable
49ae978
allow runner to specify socketpath, retry count and interval
25eb376
ctrl-c pauses execution if running, quits on pause
748c9fb
gdb evaluate make more robust against null frames
72a184f
gdbproxyservice make robust against unexpected socket disappearance
b119449
gdb shim dump queued stderr if gdbserver exits prematurely
c38a8fd
gdb shim pass along abnormal exit codes or signals from children to user
89b26d3
remove unnecessary socketfile unlink
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains 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
This file contains 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
Oops, something went wrong.
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.
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 am looking for a way to make writefile call on demand, and only when missing
would it be ok to write this to
~/.c9/bin/c9gdbshim-<md5>.js
instead, or is this supposed to be used from other places too?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.
MD5 or other versioning would be fine, so long as we have a symlink or some other mechanism that always points to the latest revision from a known path, e.g.,
~/.c9/bin/c9gdbshim.js
is a link for~/.c9/bin/c9gdbhim-<md5>.js
?