aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2015-07-24 15:32:45 -0700
committerDoug Evans <dje@google.com>2015-07-24 15:32:45 -0700
commita97b16b8fcfc7ac818c43c9f9457966cfc47aed6 (patch)
treeea09d448807ddfa5690e799a26931764f64a6294 /gdb/testsuite/gdb.base
parent35baa57fcfb50f7db24f7850ec9e34f4bc25b45c (diff)
downloadbinutils-a97b16b8fcfc7ac818c43c9f9457966cfc47aed6.zip
binutils-a97b16b8fcfc7ac818c43c9f9457966cfc47aed6.tar.gz
binutils-a97b16b8fcfc7ac818c43c9f9457966cfc47aed6.tar.bz2
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.
Diffstat (limited to 'gdb/testsuite/gdb.base')
-rw-r--r--gdb/testsuite/gdb.base/watchpoint.exp3
1 files changed, 1 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.base/watchpoint.exp b/gdb/testsuite/gdb.base/watchpoint.exp
index b2924d7..fcc9a8d 100644
--- a/gdb/testsuite/gdb.base/watchpoint.exp
+++ b/gdb/testsuite/gdb.base/watchpoint.exp
@@ -464,12 +464,11 @@ proc test_complex_watchpoint {} {
pass $test
}
-re "can't compute CFA for this frame.*\r\n$gdb_prompt $" {
- global compiler_info no_hw
+ global no_hw
# GCC < 4.5.0 does not get LOCATIONS_VALID set by dwarf2read.c.
# Therefore epilogue unwinder gets applied which is
# incompatible with dwarf2_frame_cfa.
- verbose -log "compiler_info: $compiler_info"
if {$no_hw && ([test_compiler_info {gcc-[0-3]-*}]
|| [test_compiler_info {gcc-4-[0-4]-*}])} {
xfail "$test (old GCC has broken watchpoints in epilogues)"