diff options
author | Andreas Arnez <arnez@linux.vnet.ibm.com> | 2017-02-14 18:17:19 +0100 |
---|---|---|
committer | Andreas Arnez <arnez@linux.vnet.ibm.com> | 2017-02-14 18:17:19 +0100 |
commit | 075beec08ae857d918890c30d290863abb3f7f57 (patch) | |
tree | f9988140ee06ccbd45d91e7829aac45589cebf4a /bfd/elf32-mips.c | |
parent | bc303e5d6c2dd33086478f80fd1d3096d4e1bc01 (diff) | |
download | gdb-075beec08ae857d918890c30d290863abb3f7f57.zip gdb-075beec08ae857d918890c30d290863abb3f7f57.tar.gz gdb-075beec08ae857d918890c30d290863abb3f7f57.tar.bz2 |
Big-endian targets: Fix implptrpiece.exp
The test case implptrpiece.exp accesses the second byte of the short
integer number 1 and expects it to be zero. This is valid for
little-endian targets, but fails on big-endian targets.
This is fixed by distinguishing the expected value by endianness.
gdb/testsuite/ChangeLog:
* gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
Diffstat (limited to 'bfd/elf32-mips.c')
0 files changed, 0 insertions, 0 deletions