testsuite, fortran: Fix regression due to fix for ifort's 'start' behavior
authorIjaz, Abdul B <abdul.b.ijaz@intel.com>
Fri, 8 Sep 2023 20:56:18 +0000 (22:56 +0200)
committerIjaz, Abdul B <abdul.b.ijaz@intel.com>
Mon, 11 Sep 2023 15:14:29 +0000 (17:14 +0200)
commit2e2d1ccdc5b66fcb765c7efd2b6ba58c9932697e
treef1ed0e7cbd9a58997d39bb547b08fdb17b2312cb
parentcdda72c2fa1e47c566c7b5768f3831a1cc11d263
testsuite, fortran: Fix regression due to fix for ifort's 'start' behavior

Got a regression email due to merge of commit in CI config
tcwg_gdb_check/master-aarch64 :
https://sourceware.org/git/?p=binutils-gdb.git;a=commitdiff;h=41439185cd0075bbb1aedf9665685dba0827cfec

Begining of test "gdb.fortran/array-slices-bad.exp" was updated in above
commit to start the test from running to line with tag "First Breakpoint"
instead of "fortran_runto_main".  Reason of the regression is shared
libraries are still loaded after hitting the breakpoint as "nosharedlibrary"
is already called before hitting the breakpoint.

So now after this change test is updated accordingly to disable and unload
shared libraries symbols after hitting the first breakpoint.

Approved-By: Andrew Burgess <aburgess@redhat.com>
gdb/testsuite/gdb.fortran/array-slices-bad.exp