Use gdb_produce_source
authorYao Qi <yao@codesourcery.com>
Tue, 24 Sep 2013 09:52:27 +0000 (17:52 +0800)
committerYao Qi <yao@codesourcery.com>
Sun, 8 Dec 2013 07:20:18 +0000 (15:20 +0800)
commit11ec596510fcfa200cbfa1287d4b3620ae82d7b4
treebbb6a2e7782b455c6ef4c02060fc498e25905b49
parentbc58135abd36287d9df6c648afd81e8a54e4408b
Use gdb_produce_source

We added a new proc gdb_produce_source recently, and it can be used
more widely in lib/gdb.exp to generate source file.

gdb/testsuite:

2013-12-08  Yao Qi  <yao@codesourcery.com>

* lib/gdb.exp (support_complex_tests): Use gdb_produce_source.
(is_elf_target, is_ilp32_target, is_ilp64_target): Likewise.
(is_64_target, is_amd64_regs_target): Likewise.
(skip_altivec_tests, skip_vsx_tests, skip_btrace_tests): Likewise.
gdb/testsuite/ChangeLog
gdb/testsuite/lib/gdb.exp