OSDN Git Service

* linux-low.h (struct linux_target_ops): Replace left_pad_xfer field
authorUlrich Weigand <uweigand@de.ibm.com>
Wed, 27 Feb 2008 03:33:07 +0000 (03:33 +0000)
committerUlrich Weigand <uweigand@de.ibm.com>
Wed, 27 Feb 2008 03:33:07 +0000 (03:33 +0000)
commit5f8482be87d0ad43323618576bef96d98d9086c7
treef6c83fbd2f162c3aae8a64b3f6bcf44ba609108e
parent5c856ad70c736af8ce32e59c9dcd91022bc79fe2
* linux-low.h (struct linux_target_ops): Replace left_pad_xfer field
by collect_ptrace_register and supply_ptrace_register hooks.
* linux-low.c (fetch_register): Use supply_ptrace_register callback
instead of checking for the_low_target.left_pad_xfer.
(usr_store_inferior_registers): Use collect_ptrace_register callback
instead of checking for the_low_target.left_pad_xfer.

* linux-s390-low.c (s390_collect_ptrace_register): New function.
(s390_supply_ptrace_register): Likewise.
(s390_fill_gregset): Call s390_collect_ptrace_register.
(the_low_target): Update.

* linux-ppc64-low.c (ppc_collect_ptrace_register): New function.
(ppc_supply_ptrace_register): Likewise.
(the_low_target): Update.

* linux-i386-low.c (the_low_target): Update.
* linux-x86-64-low.c (the_low_target): Update.
gdb/gdbserver/ChangeLog
gdb/gdbserver/linux-i386-low.c
gdb/gdbserver/linux-low.c
gdb/gdbserver/linux-low.h
gdb/gdbserver/linux-ppc64-low.c
gdb/gdbserver/linux-s390-low.c
gdb/gdbserver/linux-x86-64-low.c