Fix ppc_collect/supply_ptrace_register() routines
authorEdjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
Mon, 8 Sep 2014 16:37:23 +0000 (13:37 -0300)
committerEdjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
Mon, 8 Sep 2014 16:37:23 +0000 (13:37 -0300)
commit2e4bb98a0e52acbb2da4ae441b89a568af26adf8
tree8891e52841fd5331f3b313bac1f9f9234ea2a996
parent22af555fc2a2fceb7c58e23a174a34a16af79221
Fix ppc_collect/supply_ptrace_register() routines

This patch fixes the routines to collect and supply ptrace registers on ppc64le
gdbserver. Originally written for big endian arch, they were causing several
issues on little endian. With this fix, the number of unexpected failures in
the testsuite dropped from 263 to 72 on ppc64le.

gdb/gdbserver/ChangeLog

* linux-ppc-low.c (ppc_collect_ptrace_register): Adjust routine to take
endianness into account.
(ppc_supply_ptrace_register): Likewise.
gdb/gdbserver/ChangeLog
gdb/gdbserver/linux-ppc-low.c
This page took 0.043412 seconds and 4 git commands to generate.