From: Jan Kratochvil Date: Fri, 24 Feb 2012 00:05:56 +0000 (+0000) Subject: gdb/testsuite/ X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=596ba13831fea861c6d1d02adea87e67bdde0e4a;p=binutils-gdb.git gdb/testsuite/ Fix false FAILs with glibc debug infos installed. * gdb.reverse/solib-precsave.exp (set debug-file-directory): New test. * gdb.reverse/solib-reverse.exp (set debug-file-directory): New test. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index ab3518ada66..57e3030cb90 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2012-02-24 Jan Kratochvil + + Fix false FAILs with glibc debug infos installed. + * gdb.reverse/solib-precsave.exp (set debug-file-directory): New test. + * gdb.reverse/solib-reverse.exp (set debug-file-directory): New test. + 2012-02-22 Sterling Augustine * gdb.base/watchpoint.exp (test_constant_watchpoint): Add test for diff --git a/gdb/testsuite/gdb.reverse/solib-precsave.exp b/gdb/testsuite/gdb.reverse/solib-precsave.exp index 4082672fb9e..15da8025873 100644 --- a/gdb/testsuite/gdb.reverse/solib-precsave.exp +++ b/gdb/testsuite/gdb.reverse/solib-precsave.exp @@ -48,6 +48,10 @@ if { [gdb_compile ${srcdir}/${subdir}/${srcfile} ${binfile} executable $exec_opt gdb_exit gdb_start + +# Clear it to never find any separate system debug infos. +gdb_test_no_output "set debug-file-directory" + gdb_reinitialize_dir $srcdir/$subdir gdb_load ${binfile} diff --git a/gdb/testsuite/gdb.reverse/solib-reverse.exp b/gdb/testsuite/gdb.reverse/solib-reverse.exp index 8d000f30c2a..7d90ccce987 100644 --- a/gdb/testsuite/gdb.reverse/solib-reverse.exp +++ b/gdb/testsuite/gdb.reverse/solib-reverse.exp @@ -47,6 +47,10 @@ if { [gdb_compile ${srcdir}/${subdir}/${srcfile} ${binfile} executable $exec_opt gdb_exit gdb_start + +# Clear it to never find any separate system debug infos. +gdb_test_no_output "set debug-file-directory" + gdb_reinitialize_dir $srcdir/$subdir gdb_load ${binfile}