[testuite patch] Fix cross-arch .S testsuite files compatibility

Jan Kratochvil
2012-03-14T20:27:12Z

[-- Attachment #1: Type: text/plain, Size: 1238 bytes --]

Hi,

on top of:
[SH] gdb.dwarf2 tests: use .byte4 instead of .long
http://sourceware.org/ml/gdb-patches/2012-03/msg00447.html

some parts of this patch may not be required (such as
gdb.arch/amd64-entry-value.s does not need fixes for non-amd64 asm compilers)
but it has been made to make gdb_ari.sh quiet with its patch posting along).

No regressions on {x86_64,x86_64-m32,i686}-fedora17-linux-gnu.

Sorry for .gz but it was 587kB otherwise.

Thanks,
Jan

gdb/testsuite/
2012-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>

Fix build compatibility with non-x86* archs.
* gdb.arch/amd64-entry-value.s: Replace # by /**/, .long by .4byte,
.value by .2byte, drop #APP and #NO_APP.
* gdb.arch/amd64-prologue-xmm.s: Likewise.
* gdb.arch/gdb1291.s: Likewise.
* gdb.arch/gdb1431.s: Likewise.
* gdb.arch/i386-gnu-cfi-asm.S: Likewise.
* gdb.dwarf2/callframecfa.S: Likewise.
* gdb.dwarf2/clztest.S: Likewise.
* gdb.dwarf2/dw2-modula2-self-type.S: Likewise.
* gdb.dwarf2/implptr.S: Likewise.
* gdb.dwarf2/pieces.S: Likewise.
* gdb.dwarf2/typeddwarf-amd64.S: Likewise.
* gdb.dwarf2/typeddwarf.S: Likewise.
* gdb.dwarf2/valop.S: Likewise.
* gdb.dwarf2/watch-notconst2.S: Likewise.
* gdb.mi/mi2-amd64-entry-value.s: Likewise.

[-- Attachment #2: ari2b.patch.gz --]
[-- Type: application/x-gzip, Size: 52448 bytes --]