This is the mail archive of the archer-commits@sourceware.org mailing list for the Archer 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]

[SCM] archer-jankratochvil-vla: Fix one gdb.fortran/dynamic.exp FAIL for some arches (like ia64).


The branch, archer-jankratochvil-vla has been updated
       via  ea2f79177e3ad9aa09dc1d6df13e52a43781d2dd (commit)
      from  6a99d1b6ee4e8b351ed0464f0ebffaa310065388 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email.

- Log -----------------------------------------------------------------
commit ea2f79177e3ad9aa09dc1d6df13e52a43781d2dd
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Thu Apr 30 20:23:29 2009 +0200

    Fix one gdb.fortran/dynamic.exp FAIL for some arches (like ia64).
    
    gdb/testsuite/
    	* gdb.fortran/dynamic.exp (finish): Provide the same-caller-line
    	alternative.  Comment it.

-----------------------------------------------------------------------

Summary of changes:
 gdb/testsuite/gdb.fortran/dynamic.exp |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

First 500 lines of diff:
diff --git a/gdb/testsuite/gdb.fortran/dynamic.exp b/gdb/testsuite/gdb.fortran/dynamic.exp
index 77a1203..f89cf6b 100644
--- a/gdb/testsuite/gdb.fortran/dynamic.exp
+++ b/gdb/testsuite/gdb.fortran/dynamic.exp
@@ -119,7 +119,9 @@ gdb_test "p varw(3,1,1)=1" "\\$\[0-9\]* = 1"
 gdb_test "p varw" "\\$\[0-9\]* = \\( *\\( *\\( *6, *5, *1,\[()5, .\]*\\)" "p varw filled"
 # "up" works with GCC but other Fortran compilers may copy the values into the
 # outer function only on the exit of the inner function.
-gdb_test "finish" ".*call bar \\(y, x\\)"
+# We need both variants as depending on the arch we optionally may still be
+# executing the caller line or not after `finish'.
+gdb_test "finish" ".*(call bar \\(y, x\\)|call foo \\(x, z\\(2:6, 4:7, 6:8\\)\\))"
 gdb_test "p z(2,4,5)" "\\$\[0-9\]* = 3"
 gdb_test "p z(2,4,6)" "\\$\[0-9\]* = 6"
 gdb_test "p z(2,4,7)" "\\$\[0-9\]* = 5"


hooks/post-receive
--
Repository for Project Archer.


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