From: Jan Kratochvil <jan.kratochvil@redhat.com>
To: gdb-patches@sourceware.org
Cc: Phil Muldoon <pmuldoon@redhat.com>
Subject: [obv] compile-print.exp: xfail->kfail for '@' GDB array operator
Date: Thu, 04 Jun 2015 19:38:00 -0000 [thread overview]
Message-ID: <20150604193820.GA18453@host1.jankratochvil.net> (raw)
[-- Attachment #0: Type: message/rfc822, Size: 1973 bytes --]
From: Jan Kratochvil <jan.kratochvil@redhat.com>
Subject: [PATCH] compile-print.exp: xfail->kfail for '@' GDB array operator
Date: Thu, 4 Jun 2015 21:35:43 +0200
Patch implementing '@' GDB array operator in GCC has been rejected:
https://gcc.gnu.org/ml/gcc-patches/2015-06/msg00414.html
and so there is now a GDB tracker to implement it just in GDB:
https://sourceware.org/bugzilla/show_bug.cgi?id=18489
gdb/testsuite/ChangeLog
2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.compile/compile-print.exp (compile print *vararray@3)
(compile print *vararrayp@3): Change xfail to kfail compile/18489.
---
gdb/testsuite/ChangeLog | 5 +++++
gdb/testsuite/gdb.compile/compile-print.exp | 4 ++--
2 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 5ee74eb..246d6a8 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * gdb.compile/compile-print.exp (compile print *vararray@3)
+ (compile print *vararrayp@3): Change xfail to kfail compile/18489.
+
2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.compile/compile.exp (keep jit in memory): Rename to ...
diff --git a/gdb/testsuite/gdb.compile/compile-print.exp b/gdb/testsuite/gdb.compile/compile-print.exp
index 92c6240..de2f0e7 100644
--- a/gdb/testsuite/gdb.compile/compile-print.exp
+++ b/gdb/testsuite/gdb.compile/compile-print.exp
@@ -38,7 +38,7 @@ gdb_test_multiple $test $test {
pass $test
}
-re ": error: stray '@' in program\r\n.*\r\n$gdb_prompt $" {
- xfail "$test (gcc does not support '@')"
+ kfail compile/18489 "$test"
}
}
@@ -48,7 +48,7 @@ gdb_test_multiple $test $test {
pass $test
}
-re ": error: stray '@' in program\r\n.*\r\n$gdb_prompt $" {
- xfail "$test (gcc does not support '@')"
+ kfail compile/18489 "$test"
}
}
--
2.1.0
next reply other threads:[~2015-06-04 19:38 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-04 19:38 Jan Kratochvil [this message]
2015-06-05 9:35 ` Yao Qi
2015-06-05 12:40 ` Jan Kratochvil
2015-06-05 15:19 ` Doug Evans
2015-06-05 15:26 ` Jan Kratochvil
2015-06-05 16:13 ` Yao Qi
2015-06-05 21:23 ` Jan Kratochvil
2015-06-05 13:24 ` Jan Kratochvil
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20150604193820.GA18453@host1.jankratochvil.net \
--to=jan.kratochvil@redhat.com \
--cc=gdb-patches@sourceware.org \
--cc=pmuldoon@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox