Derek Parker
794d5b1e19
Revert errors.New change
2015-05-04 17:31:13 -05:00
Derek Parker
1ad66660a1
Prefer errors.New for unformatted errors
2015-05-01 16:27:29 -05:00
Derek Parker
f39e134d1d
Improve error for HW breakpoint
2015-03-06 08:53:55 -06:00
Derek Parker
2d2d70641e
(Mostly) working on OS X
2015-02-27 15:03:06 -06:00
Derek Parker
aa8ad88965
Improve documentation
2015-02-02 16:09:56 -05:00
Derek Parker
4f5bfc5ee8
Handle clearing HW breakpoints properly
2015-01-31 20:43:48 -06:00
Ellery D'Souza
d4097e3be9
Fixed missing header file "sys/types.h" to fix compiler error
2015-01-26 15:10:21 -06:00
Paul Sbarra
58de1f7c85
migrate to go.sys subrepository
...
As of go version 1.4 the standard library syscall package is "locked
down" and code outside of the standard library is recommended to migrate
to the go.sys subrepository.
Reference: https://golang.org/s/go1.4-syscall
2015-01-25 22:43:47 -06:00
Michael Gehring
0d08380555
Fix PtracePeekUser
2015-01-25 21:57:56 +01:00
Michael Gehring
2a66ecb10b
Some hw breakpoint fixes
...
Enable usage of dr1-dr3. Clear control bits when a breakpoint
is disabled. Use DR_LEN_1 instead of DR_LEN_8 so breakpoint work on
unaligned adresses.
Fixes #51 .
2015-01-24 11:10:42 +01:00
Paul Nasrat
46e5cfd399
proctl: propagate underlying error for failing hardware breakpoint.
...
Improves error message on systems that delve is failing on.
2015-01-22 17:10:48 -05:00
Derek Parker
87c3b0a7d3
Minor syntax cleanup
2015-01-14 17:43:34 -06:00
Derek Parker
fa62905a7e
Remove slight duplication
2015-01-14 17:36:35 -06:00
Derek Parker
bcc4943abd
Move breakpointIDCounter to DebuggedProcess struct
2015-01-14 09:01:36 -06:00
Derek Parker
fbbe9aaa5e
Implement usage of hardware breakpoints
...
Currently only works for amd64 processors.
2015-01-12 21:56:25 -06:00