This is the mail archive of the gdb-cvs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[binutils-gdb] compile-print.exp: xfail->kfail for '@' GDB array operator


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=d5eba19a654f31f7409bd17b0d3dd2e4c483280e

commit d5eba19a654f31f7409bd17b0d3dd2e4c483280e
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Thu Jun 4 21:35:43 2015 +0200

    compile-print.exp: xfail->kfail for '@' GDB array operator
    
    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.

Diff:
---
 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"
     }
 }


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]