* lib/gdb.exp (is_x86_like_target): New proc.
authorTom Tromey <tromey@redhat.com>
Fri, 13 May 2011 17:17:22 +0000 (17:17 +0000)
committerTom Tromey <tromey@redhat.com>
Fri, 13 May 2011 17:17:22 +0000 (17:17 +0000)
commit6edba76fe8b37bf2a8f7c84353aa0252724bf293
tree313599b4e9174126ed022a044c1823c8dd6f70dc
parent72fc29ff1236177b2be5f702ed40c7d327897e7e
* lib/gdb.exp (is_x86_like_target): New proc.
* gdb.dwarf2/watch-notconst.exp: Use is_x86_like_target.
* gdb.dwarf2/valop.exp: Use is_x86_like_target.
* gdb.dwarf2/typeddwarf.exp: Use is_x86_like_target.  Pass
-nostdlib to compiler.
* gdb.dwarf2/typeddwarf.S (_start): Rename from 'main'.
* gdb.dwarf2/pieces.exp: Use is_x86_like_target.
* gdb.dwarf2/implptr.exp: Use is_x86_like_target.
* gdb.dwarf2/dw2-restore.exp: Check for LP64.
* gdb.dwarf2/callframecfa.exp: Use is_x86_like_target.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.dwarf2/callframecfa.exp
gdb/testsuite/gdb.dwarf2/dw2-restore.exp
gdb/testsuite/gdb.dwarf2/implptr.exp
gdb/testsuite/gdb.dwarf2/pieces.exp
gdb/testsuite/gdb.dwarf2/typeddwarf.S
gdb/testsuite/gdb.dwarf2/typeddwarf.exp
gdb/testsuite/gdb.dwarf2/valop.exp
gdb/testsuite/gdb.dwarf2/watch-notconst.exp
gdb/testsuite/lib/gdb.exp