2002-02-21 Elena Zannoni <ezannoni@redhat.com>
authorElena Zannoni <ezannoni@kwikemart.cygnus.com>
Thu, 21 Feb 2002 22:04:46 +0000 (22:04 +0000)
committerElena Zannoni <ezannoni@kwikemart.cygnus.com>
Thu, 21 Feb 2002 22:04:46 +0000 (22:04 +0000)
commit9abe5450465606a89c54e46263b023289c17b400
treeff10eb768dbf5508a785952ebc56ab2fd11dd407
parent27924826b5d3bd43e754c2eb9f03df66511336eb
2002-02-21  Elena Zannoni  <ezannoni@redhat.com>

* ppc-linux-nat.c (PTRACE_GETVRREGS, PTRACE_SETVRREGS): Define.
(have_ptrace_getvrregs): Define for run time checks.
(gdb_vrregset_t): New type for Altivec register handling.
(fetch_register, store_register): Fetch/store altivec register
when needed.
(fetch_altivec_register, store_altivec_register): New functions.
(supply_vrregset, fill_vrregset): New functions.
(fetch_altivec_registers, store_altivec_registers): New functions.
(fetch_ppc_registers, store_ppc_registers): Fetch/store altivec
registers as well.
gdb/ChangeLog
gdb/ppc-linux-nat.c