8 Commits

Author SHA1 Message Date
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
0d08380555 Fix PtracePeekUser 2015-01-25 21:57:56 +01:00
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
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
87c3b0a7d3 Minor syntax cleanup 2015-01-14 17:43:34 -06:00
fa62905a7e Remove slight duplication 2015-01-14 17:36:35 -06:00
bcc4943abd Move breakpointIDCounter to DebuggedProcess struct 2015-01-14 09:01:36 -06:00
fbbe9aaa5e Implement usage of hardware breakpoints
Currently only works for amd64 processors.
2015-01-12 21:56:25 -06:00