diff options
Diffstat (limited to 'src/pkg/debug/proc/regs_linux_amd64.go')
| -rw-r--r-- | src/pkg/debug/proc/regs_linux_amd64.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pkg/debug/proc/regs_linux_amd64.go b/src/pkg/debug/proc/regs_linux_amd64.go index b070b77140..a9f3569d3a 100644 --- a/src/pkg/debug/proc/regs_linux_amd64.go +++ b/src/pkg/debug/proc/regs_linux_amd64.go @@ -124,7 +124,7 @@ func (r *amd64Regs) Get(i int) Word { case 23: return Word(r.Gs) } - panic("invalid register index ", strconv.Itoa(i)) + panic("invalid register index " + strconv.Itoa(i)) } func (r *amd64Regs) Set(i int, val Word) os.Error { @@ -178,7 +178,7 @@ func (r *amd64Regs) Set(i int, val Word) os.Error { case 23: r.Gs = uint64(val) default: - panic("invalid register index ", strconv.Itoa(i)) + panic("invalid register index " + strconv.Itoa(i)) } return r.setter(&r.PtraceRegs) } |
