This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[patch 5/5] [s390] testsuite: break-interp.exp: XFAIL libc/12067
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: gdb-patches at sourceware dot org
- Cc: Luis Machado <luisgpm at linux dot vnet dot ibm dot com>
- Date: Mon, 27 Sep 2010 21:07:58 +0200
- Subject: [patch 5/5] [s390] testsuite: break-interp.exp: XFAIL libc/12067
Hi,
there is a bug i glibc that crashes the inferior even without GDB:
PIE && prelink && -m31 = crash
http://sourceware.org/bugzilla/show_bug.cgi?id=12067
while some older glibc did not have this bug I have excluded running this
combination at all on 31bit s390 targets.
Thanks,
Jan
gdb/testsuite/
2010-09-27 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.base/break-interp.exp <s390 prelinked PIE>: New xfail
libc/12067.
--- a/gdb/testsuite/gdb.base/break-interp.exp
+++ b/gdb/testsuite/gdb.base/break-interp.exp
@@ -601,6 +601,12 @@ foreach ldprelink {NO YES} {
# It cannot be used for problem reproducibility after the
# testcase ends.
foreach binpie {NO YES ATTACH} {
+ if {$binprelink == "YES" && $binpie != "NO"
+ && [istarget s390*-*] && [is_ilp32_target]} {
+ xfail "libc/12067 s390 31bit prelinked PIE crash"
+ continue
+ }
+
set binname "BINprelink${binprelink}debug${binsepdebug}pie${binpie}"
set exec $binprefix-$binname