update gdb.base/info-program.exp to not fail with clang
authorBruno Larsen <blarsen@redhat.com>
Wed, 20 Jul 2022 19:44:31 +0000 (16:44 -0300)
committerBruno Larsen <blarsen@redhat.com>
Mon, 12 Sep 2022 12:07:32 +0000 (14:07 +0200)
commit8a0eb1994337e7140715bced108c92db06bef612
treedef7e28526d4cdee01fca09a5f4cd231487950b1
parente33020494502d0879c418d69d5a2fd6f6453863a
update gdb.base/info-program.exp to not fail with clang

The test specifically mentions that it doesn't care where the program
stops, however it was still testing for a specific location.  The clang
compiler emits different line information for epilogue, so GDB reports a
different stopping location, depending on the used compiler.  With this
patch the test works even with clang.
gdb/testsuite/gdb.base/info-program.exp