aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/debug/proc/regs_linux_386.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkg/debug/proc/regs_linux_386.go')
-rw-r--r--src/pkg/debug/proc/regs_linux_386.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pkg/debug/proc/regs_linux_386.go b/src/pkg/debug/proc/regs_linux_386.go
index 6ba1b75180..7cebfa64a9 100644
--- a/src/pkg/debug/proc/regs_linux_386.go
+++ b/src/pkg/debug/proc/regs_linux_386.go
@@ -15,7 +15,7 @@ type _386Regs struct {
setter func(*syscall.PtraceRegs) os.Error
}
-var names = [...]string{
+var names = []string{
"eax",
"ebx",
"ecx",
@@ -55,7 +55,7 @@ func (r *_386Regs) SetSP(val Word) os.Error {
return r.setter(&r.PtraceRegs)
}
-func (r *_386Regs) Names() []string { return &names }
+func (r *_386Regs) Names() []string { return names }
func (r *_386Regs) Get(i int) Word {
switch i {