diff options
author | ian <ian@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-05-31 18:15:14 +0000 |
---|---|---|
committer | ian <ian@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-05-31 18:15:14 +0000 |
commit | 84bedf9a205c3718abe04f66ea060bcc423afbee (patch) | |
tree | 68d55c4af530099f6e9b317c86b67ba416c80d51 /libgo | |
parent | 05be03c5cacd1c4605daf9cb4275a12d7a527ee4 (diff) | |
download | gcc-84bedf9a205c3718abe04f66ea060bcc423afbee.tar.gz |
libgo: Define PtraceRegs for Alpha GNU/Linux.
From Uros Bizjak.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@174502 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgo')
-rw-r--r-- | libgo/syscalls/syscall_linux_alpha.go | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/libgo/syscalls/syscall_linux_alpha.go b/libgo/syscalls/syscall_linux_alpha.go index 35259b27fe7..d58f8eb13a5 100644 --- a/libgo/syscalls/syscall_linux_alpha.go +++ b/libgo/syscalls/syscall_linux_alpha.go @@ -6,6 +6,38 @@ package syscall +type PtraceRegs struct { + R0 uint64 + R1 uint64 + R2 uint64 + R3 uint64 + R4 uint64 + R5 uint64 + R6 uint64 + R7 uint64 + R8 uint64 + R19 uint64 + R20 uint64 + R21 uint64 + R22 uint64 + R23 uint64 + R24 uint64 + R25 uint64 + R26 uint64 + R27 uint64 + R28 uint64 + Hae uint64 + Trap_a0 uint64 + Trap_a1 uint64 + Trap_a2 uint64 + Ps uint64 + Pc uint64 + Gp uint64 + R16 uint64 + R17 uint64 + R18 uint64 +} + func (r *PtraceRegs) PC() uint64 { return r.Pc; } |