diff options
-rw-r--r-- | gdb/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/testsuite/gdb.fortran/array-element.exp | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index c188719..ee963ee 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2021-05-11 Bhuvanendra Kumar <Bhuvanendra.KumarN@amd.com> + + * gdb.fortran/array-element.exp: Breakpoint location is modified. + 2021-05-10 Lancelot Six <lsix@lancelotsix.com> PR gdb/27614 diff --git a/gdb/testsuite/gdb.fortran/array-element.exp b/gdb/testsuite/gdb.fortran/array-element.exp index 28b0e6f..9518b87 100644 --- a/gdb/testsuite/gdb.fortran/array-element.exp +++ b/gdb/testsuite/gdb.fortran/array-element.exp @@ -31,8 +31,8 @@ if ![runto sub_] then { continue } -gdb_breakpoint [gdb_get_line_number "continue"] -gdb_continue_to_breakpoint "continue" +gdb_breakpoint [gdb_get_line_number "return"] +gdb_continue_to_breakpoint "return" gdb_test "print a(1)" ".*1 = 1.*" "print the first element of array a" gdb_test "print a(2)" ".*2 = 2.*" "print the second element of array a" |