Migrate dw2-ifort-parameter.exp to Dwarf::assemble
authorAndreas Arnez <arnez@linux.vnet.ibm.com>
Fri, 7 Mar 2014 11:52:54 +0000 (11:52 +0000)
committerAndreas Krebbel <krebbel@linux.vnet.ibm.com>
Wed, 12 Mar 2014 15:22:19 +0000 (16:22 +0100)
commit288c211f8c66a8d065cfd59f110e2fbc33ccce25
tree840101c4e3ea7e0952fb21e3162d0ec5c4a0bcac
parente0c0f156b4b0a32293c1a48c296d8035244e3951
Migrate dw2-ifort-parameter.exp to Dwarf::assemble

A "side effect" of the migration to Dwarf::assemble is that the DWARF
address size is now automatically adjusted to the target architecture.
The original assembler source hard-coded the DWARF address size to 4,
even on 64-bit architectures.  This address size mismatch caused a
test case failure on s390x due to a wrong result from DW_OP_deref.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.dwarf2/dw2-ifort-parameter-debug.S [deleted file]
gdb/testsuite/gdb.dwarf2/dw2-ifort-parameter.exp