2001-12-20 Elena Zannoni <ezannoni@redhat.com>
authorElena Zannoni <ezannoni@kwikemart.cygnus.com>
Thu, 20 Dec 2001 23:31:27 +0000 (23:31 +0000)
committerElena Zannoni <ezannoni@kwikemart.cygnus.com>
Thu, 20 Dec 2001 23:31:27 +0000 (23:31 +0000)
commit45229ea46c0dc45182c4de2720e4ccf0b0148d6f
treef8cc6bf3f5eb5f9244492969dde2ae9b3886c03b
parent2a18e3d9a9945171c6bacb18bbfe251e3666a237
2001-12-20  Elena Zannoni  <ezannoni@redhat.com>

* ppc-linux-nat.c (ppc_ptrace_cannot_fetch_store_register):
New function.
(fetch_register): New function.
(fetch_ppc_registers): New function.
(fetch_inferior_registers): New function.
(store_register): New function.
(store_ppc_registers): New function.
(store_inferior_registers): New function.
(ppc_register_u_addr): Eliminate ustart parameter and its
uses. Make static.
(PT_READ_U, PT_WRITE_U, PTRACE_XFER_TYPE): Define if needed.
Include sys/ptrace.h.

* config/powerpc/nm-linux.h (FETCH_INFERIOR_REGISTERS): Define.
(U_REGS_OFFSET, REGISTER_U_ADDR): Delete.

* config/powerpc/linux.mh (NATDEPFILES): Delete core-aout.o.
gdb/ChangeLog
gdb/config/powerpc/linux.mh
gdb/config/powerpc/nm-linux.h
gdb/ppc-linux-nat.c