* linux-nat.c (linux_nat_do_thread_registers): Use section size
authorUlrich Weigand <uweigand@de.ibm.com>
Wed, 7 Jul 2010 12:28:32 +0000 (12:28 +0000)
committerUlrich Weigand <uweigand@de.ibm.com>
Wed, 7 Jul 2010 12:28:32 +0000 (12:28 +0000)
commit2f2241f14651e177f430128c5d22755628a7d91d
treeac595c3b2b60b437ba98bf2b2451141e6ecbdc72
parent9176f4dfdcdd71ae2179d676244e1609b9962447
* linux-nat.c (linux_nat_do_thread_registers): Use section size
from gdbarch_core_regset_sections also for .reg if present.

* amd64-linux-tdep.c (amd64_linux_regset_sections): Fix incorrect
section size for .reg.
* ppc-linux-tdep.c (ppc_linux_vsx_regset_sections): Likewise.
(ppc_linux_vmx_regset_sections): Likewise.
(ppc_linux_fp_regset_sections): Likewise.
(ppc64_linux_vsx_regset_sections): New variable.
(ppc64_linux_vmx_regset_sections): Likewise.
(ppc64_linux_fp_regset_sections): Likewise.
(ppc_linux_init_abi): Install core_regset_section lists appropriate
for current word size.
gdb/ChangeLog
gdb/amd64-linux-tdep.c
gdb/linux-nat.c
gdb/ppc-linux-tdep.c