[commit#2+7.5] testsuite: valgrind-infcall.exp UNSUPPORTED update [Re: [commit+7.5] [patchv2] Write bpt at the ON_STACK bpt address]

Jan Kratochvil
2012-08-01T09:08:02Z

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