Clean up testsuite compiler_info support.
authorDoug Evans <dje@google.com>
Fri, 24 Jul 2015 22:32:45 +0000 (15:32 -0700)
committerDoug Evans <dje@google.com>
Fri, 24 Jul 2015 22:32:45 +0000 (15:32 -0700)
commita97b16b8fcfc7ac818c43c9f9457966cfc47aed6
treeea09d448807ddfa5690e799a26931764f64a6294
parent35baa57fcfb50f7db24f7850ec9e34f4bc25b45c
Clean up testsuite compiler_info support.

gdb/testsuite/ChangeLog:

* gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
compiler_info references.
* gdb.cp/temargs.exp: Ditto.
* lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
(get_compiler_info): Early exit if already computed.  Set compiler_info
to "unknown" if there was a problem.
(test_compiler_info): Add function comment.  Call get_compiler_info.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/watchpoint.exp
gdb/testsuite/gdb.cp/temargs.exp
gdb/testsuite/lib/gdb.exp