From: Lancelot SIX Date: Sun, 21 Nov 2021 01:50:26 +0000 (+0000) Subject: gdb/testsuite: Remove duplicates from gdb.base/unload.exp X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bfc9663f9b74060f64a70a443b05afb2e6585b7a;p=binutils-gdb.git gdb/testsuite: Remove duplicates from gdb.base/unload.exp When running the testsuite, I have: Running .../gdb/testsuite/gdb.base/unload.exp ... DUPLICATE: gdb.base/unload.exp: continuing to unloaded libfile Fix by adjusting the test name. Tested on x86_64-linux. --- diff --git a/gdb/testsuite/gdb.base/unload.exp b/gdb/testsuite/gdb.base/unload.exp index a041dde4b32..6033203bfb8 100644 --- a/gdb/testsuite/gdb.base/unload.exp +++ b/gdb/testsuite/gdb.base/unload.exp @@ -119,7 +119,7 @@ gdb_breakpoint "$testfile.c:[gdb_get_line_number "y-set-1" $testfile.c]" tempora gdb_test "continue" \ "Continuing.*warning: Temporarily disabling breakpoints for.*${lib_syms}.*y-set-1.*" \ -"continuing to unloaded libfile" +"continuing to unloaded libfile, two" set unloadshr_line2 [gdb_get_line_number "unloadshr2 break" ${libsrcfile2}]