diff options
author | Jan Kratochvil <jan.kratochvil@redhat.com> | 2012-02-24 00:05:56 +0000 |
---|---|---|
committer | Jan Kratochvil <jan.kratochvil@redhat.com> | 2012-02-24 00:05:56 +0000 |
commit | 596ba13831fea861c6d1d02adea87e67bdde0e4a (patch) | |
tree | 63020960f4eb63f8dcb1e1618807b6ec52d09441 /gdb/testsuite | |
parent | c1aed0593f3a8ac248ff8c2146047cece6dc5235 (diff) | |
download | gdb-596ba13831fea861c6d1d02adea87e67bdde0e4a.zip gdb-596ba13831fea861c6d1d02adea87e67bdde0e4a.tar.gz gdb-596ba13831fea861c6d1d02adea87e67bdde0e4a.tar.bz2 |
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.
Diffstat (limited to 'gdb/testsuite')
-rw-r--r-- | gdb/testsuite/ChangeLog | 6 | ||||
-rw-r--r-- | gdb/testsuite/gdb.reverse/solib-precsave.exp | 4 | ||||
-rw-r--r-- | gdb/testsuite/gdb.reverse/solib-reverse.exp | 4 |
3 files changed, 14 insertions, 0 deletions
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 <jan.kratochvil@redhat.com> + + 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 <saugustine@google.com> * 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} |