diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 6c1bbd78e5..56b6e60ad5 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,5 +1,8 @@ 2010-03-19 Doug Evans + * lib/gdb.exp (gdb_compile_test): Watch for "compiler not installed" + output from gcc. + * gdb.base/break-interp.exp (prelinkNO): Handle prelink binaries named /usr/sbin/prelink. diff --git a/gdb/testsuite/lib/gdb.exp b/gdb/testsuite/lib/gdb.exp index 6ed661ef2c..c62f706bfb 100644 --- a/gdb/testsuite/lib/gdb.exp +++ b/gdb/testsuite/lib/gdb.exp @@ -1267,6 +1267,8 @@ proc gdb_compile_test {src output} { unsupported "compilation [file tail $src]" } elseif { [regexp {.*: command not found[\r|\n]*$} $output] } { unsupported "compilation [file tail $src]" + } elseif { [regexp {.*: [^\r\n]*compiler not installed[^\r\n]*[\r|\n]*$} $output] } { + unsupported "compilation [file tail $src]" } else { verbose -log "compilation failed: $output" 2 fail "compilation [file tail $src]"