diff options
author | Marcin KoĆcielnicki <koriakin@0x04.net> | 2016-01-23 13:17:34 +0100 |
---|---|---|
committer | Marcin KoĆcielnicki <koriakin@0x04.net> | 2016-01-23 14:54:59 +0100 |
commit | dc29a1ce6a25233e608f90511e67af3c18e19a98 (patch) | |
tree | 8a5dd6e5c8d0597241184e781301eb14d6492a31 /bfd | |
parent | cc5fd9abe4980e48e2cc27b0225f3c6ba7c0756b (diff) | |
download | gdb-dc29a1ce6a25233e608f90511e67af3c18e19a98.zip gdb-dc29a1ce6a25233e608f90511e67af3c18e19a98.tar.gz gdb-dc29a1ce6a25233e608f90511e67af3c18e19a98.tar.bz2 |
gdb.trace: Fix unavailable-dwarf-piece.exp on big endian targets
The test constructs fake DWARF info for a C structure involving bitfields.
DWARF bitfields are always counted from LSB, while the order in which
bitfields are allocated in a C struct depends on the target endianness -
thus the generated DWARF marks different bitfields as unavailable when
target is big endian. Accordingly, we need different expected outputs.
Tested on s390 and s390x, no regression on x86_64.
gdb/testsuite/ChangeLog:
* gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
endian targets.
Diffstat (limited to 'bfd')
0 files changed, 0 insertions, 0 deletions