This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[commit#2+7.5] testsuite: valgrind-infcall.exp UNSUPPORTED update [Re: [commit+7.5] [patchv2] Write bpt at the ON_STACK bpt address]
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: gdb-patches at sourceware dot org
- Cc: Joel Brobecker <brobecker at adacore dot com>, "Maciej W. Rozycki" <macro at codesourcery dot com>, Philippe Waroquiers <philippe dot waroquiers at skynet dot be>, Pedro Alves <palves at redhat dot com>
- Date: Wed, 1 Aug 2012 11:07:05 +0200
- Subject: [commit#2+7.5] testsuite: valgrind-infcall.exp UNSUPPORTED update [Re: [commit+7.5] [patchv2] Write bpt at the ON_STACK bpt address]
- References: <5012B1B6.1030003@redhat.com> <1343339398.2258.119.camel@soleil> <20120727184633.GA14182@host2.jankratochvil.net> <20120731073643.GA18696@host2.jankratochvil.net>
On Tue, 31 Jul 2012 09:36:43 +0200, Jan Kratochvil wrote:
> On Fri, 27 Jul 2012 20:46:33 +0200, Jan Kratochvil wrote:
> > * gdb.base/valgrind-infcall.c: New file.
> > * gdb.base/valgrind-infcall.exp: New file.
Also checked in:
http://sourceware.org/ml/gdb-cvs/2012-08/msg00006.html
and for 7.5:
http://sourceware.org/ml/gdb-cvs/2012-08/msg00007.html
as with valgrind-3.6.0 on RHEL-6 the error message is slightly different
causing:
Running gdb/testsuite/gdb.base/valgrind-infcall.exp ...
PASS: gdb.base/valgrind-infcall.exp: spawn valgrind
ERROR: Process no longer exists
UNRESOLVED: gdb.base/valgrind-infcall.exp: valgrind started
Jan
http://sourceware.org/ml/gdb-cvs/2012-08/msg00006.html
--- src/gdb/testsuite/ChangeLog 2012/07/31 07:35:17 1.3314
+++ src/gdb/testsuite/ChangeLog 2012/08/01 09:02:50 1.3315
@@ -1,3 +1,8 @@
+2012-08-01 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * gdb.base/valgrind-infcall.exp: Relax the UNSUPPORTED check for more
+ valgrind versions.
+
2012-07-31 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.base/valgrind-infcall.c: New file.
--- src/gdb/testsuite/gdb.base/valgrind-infcall.exp 2012/07/31 07:33:16 1.1
+++ src/gdb/testsuite/gdb.base/valgrind-infcall.exp 2012/08/01 09:02:50 1.2
@@ -62,7 +62,7 @@
unsupported $test
return -1
}
- -re "valgrind: Bad option '--vgdb-error=0'" {
+ -re "valgrind: Bad option.*--vgdb-error=0" {
# valgrind is not >= 3.7.0.
unsupported $test
return -1