Uros Bizjak <ubiz...@gmail.com> writes: > On Sat, Apr 2, 2011 at 1:09 AM, Ian Lance Taylor <i...@google.com> wrote: >> On Wed, Mar 30, 2011 at 12:58 PM, Uros Bizjak <ubiz...@gmail.com> wrote: >>> >>> Attached ports go to ALPHA architecture. >> >> Thanks! >> >> Committed. >> >> >>> b) alpha doesn't define "struct user_regs_struct" from which "type >>> PtraceRegs" is derived. I have manually created PtraceRegs from >>> pt_regs structure and patched generated libgo/sysinfo.go in build >>> directory after the build broke. However - the comment from sys/user.h >>> says that this file is for GDB and GDB only... >> >> libgo uses it to support ptrace, which in effect is the same as what >> gdb does. If mksysinfo.sh is unable to provide any definition for the >> structure, then the choices are either to patch up mksysinfo.sh so >> that it works, or to simply define the structure in >> libgo/syscalls/syscall_linux_alpha.go. it is unlikely to change so >> the latter seems acceptable if patching mksysinfo is too hard. > > Attached patch implements this suggestion and builds libgo without problems.
Committed. Thanks. Ian