This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[commit] testsuite: gdb.reverse/ false FAILs with *-debuginfo pkgs
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: gdb-patches at sourceware dot org
- Date: Fri, 24 Feb 2012 01:07:49 +0100
- Subject: [commit] testsuite: gdb.reverse/ false FAILs with *-debuginfo pkgs
Hi,
with Fedora 17 glibc-debuginfo.x86_64 installed gdb.reverse/* had some false
FAILs. Fixed it:
reverse-step
-__sleep (seconds=<optimized out>) at ../sysdeps/unix/sysv/linux/sleep.c:148
-148 }
-(gdb) FAIL: gdb.reverse/solib-reverse.exp: reverse-step third sleep
+39 sleep (0); /* sleep three */
+(gdb) PASS: gdb.reverse/solib-reverse.exp: reverse-step third sleep
Checked in.
Thanks,
Jan
http://sourceware.org/ml/gdb-cvs/2012-02/msg00150.html
--- src/gdb/testsuite/ChangeLog 2012/02/22 18:20:37 1.3089
+++ src/gdb/testsuite/ChangeLog 2012/02/24 00:05:56 1.3090
@@ -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
--- src/gdb/testsuite/gdb.reverse/solib-precsave.exp 2012/01/04 08:27:54 1.6
+++ src/gdb/testsuite/gdb.reverse/solib-precsave.exp 2012/02/24 00:05:56 1.7
@@ -48,6 +48,10 @@
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}
--- src/gdb/testsuite/gdb.reverse/solib-reverse.exp 2012/01/04 08:27:54 1.6
+++ src/gdb/testsuite/gdb.reverse/solib-reverse.exp 2012/02/24 00:05:56 1.7
@@ -47,6 +47,10 @@
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}