This is the mail archive of the archer@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]

[vla] [commit] Fix one gdb.fortran/dynamic.exp FAIL for somearches (like ia64).


commit ea2f79177e3ad9aa09dc1d6df13e52a43781d2dd

gdb/testsuite/
	* gdb.fortran/dynamic.exp (finish): Provide the same-caller-line
	alternative.  Comment it.
---
 gdb/testsuite/gdb.fortran/dynamic.exp |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

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"
-- 
1.6.2.2


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