From: Jan Kratochvil Date: Fri, 24 Feb 2012 00:05:56 +0000 (+0000) Subject: gdb/testsuite/ X-Git-Tag: sid-snapshot-20120301~83 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=596ba13831fea861c6d1d02adea87e67bdde0e4a;p=platform%2Fupstream%2Fbinutils.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 ab3518a..57e3030 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 4082672..15da802 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 8d000f3..7d90ccc 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}