From f39e134d1dfd735075cdf3c2bd80e2c9ce71b0cf Mon Sep 17 00:00:00 2001 From: Derek Parker Date: Fri, 6 Mar 2015 08:05:00 -0600 Subject: [PATCH] Improve error for HW breakpoint --- proctl/breakpoints_linux_amd64.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proctl/breakpoints_linux_amd64.go b/proctl/breakpoints_linux_amd64.go index 7f42c027..656a81e0 100644 --- a/proctl/breakpoints_linux_amd64.go +++ b/proctl/breakpoints_linux_amd64.go @@ -23,7 +23,7 @@ import "fmt" // DR0-DR3. Debug register 7 is the control register. func setHardwareBreakpoint(reg, tid int, addr uint64) error { if reg < 0 || reg > 3 { - return fmt.Errorf("invalid register value") + return fmt.Errorf("invalid debug register value") } var (