Hi, this patch adds gdbserver support for sparc64 on Linux. I was able to test a hello world application, placing breakpoints, do step-by-step, single stepping, and stepping into glibc calls. Additionally, I ran the gdb dejagnu test suite, finding basically stuff that fails on sparc native or other gsbserver ports. This patch provides 64-bits support only; v8plus is not supported, since it would have required bi-arch support, thus undesirably extending the change scope to gdb as well. Background: v8plus is a 32-bits binary type that has some insns which modify the upper half of the 64-bits registers, therefore involving a 32/64 variable size registers in terms of gdb/gdbserver communication. Please refer to http://sourceware.org/ml/gdb-patches/2006-05/msg00268.html for further background information. Watchpoints are not supported by this patch. ------------- 2008-10-31 Daniel Gutson * configure.tgt (sparc64-*-linux*): added gdbserver support. * regformats/reg-sparc64.dat: New file. * gdbserver/Makefile.in (SFILES,CLEAN): Added sparc64 files. (reg-sparc64.o,reg-sparc64.c): New. * gdbserver/configure.srv (sparc*-*-linux*): New configuration. * gdbserver/linux-low.c (regsets_fetch_inferior_registers): ptrace syscall args. (regsets_store_inferior_registers): Likewise. * gdbserver/linux-sparc-low.c: New file. -- Daniel Gutson