This is the mail archive of the
gdb-testers@sourceware.org
mailing list for the GDB project.
[binutils-gdb] Big-endian targets: Fix implptrpiece.exp
- From: sergiodj+buildbot at sergiodj dot net
- To: gdb-testers at sourceware dot org
- Date: Tue, 14 Feb 2017 18:03:28 -0500
- Subject: [binutils-gdb] Big-endian targets: Fix implptrpiece.exp
- Authentication-results: sourceware.org; auth=none
*** TEST RESULTS FOR COMMIT 075beec08ae857d918890c30d290863abb3f7f57 ***
Author: Andreas Arnez <arnez@linux.vnet.ibm.com>
Branch: master
Commit: 075beec08ae857d918890c30d290863abb3f7f57
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.