From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2205) id 02618385B507; Tue, 7 Mar 2023 14:45:50 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 02618385B507 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1678200350; bh=biODZedv0/n6LGpdF3oKRmpK8X7rHtVOy1Qa4o1g/GQ=; h=From:To:Subject:Date:From; b=KGggyNPiiqJCISpzUUwslh0rktzjCjCGUHL6A8dzeC53pWVIfuWRkO41siszALVNN pvzeKYq6aKRinm9IEyNEu6POgZ8Qfewd/mfeeas03QQShQzyc4kOSBSxnOTUEFaREG oAJFITnLJcJFt4wLNg+vb5eBmckFTOEVYc3PXq2Q= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Tom de Vries To: gdb-cvs@sourceware.org Subject: [binutils-gdb] [gdb/testsuite] Fix gdb.base/skip-solib.exp for remote target X-Act-Checkin: binutils-gdb X-Git-Author: Tom de Vries X-Git-Refname: refs/heads/master X-Git-Oldrev: e06f6174c01db6eb9533beb2121daaaf01a49d6a X-Git-Newrev: e9f59c6f6c02242c272171e28dd6dfec2fcf7a1c Message-Id: <20230307144550.02618385B507@sourceware.org> Date: Tue, 7 Mar 2023 14:45:50 +0000 (GMT) List-Id: https://sourceware.org/git/gitweb.cgi?p=3Dbinutils-gdb.git;h=3De9f59c6f6c02= 242c272171e28dd6dfec2fcf7a1c commit e9f59c6f6c02242c272171e28dd6dfec2fcf7a1c Author: Tom de Vries Date: Tue Mar 7 15:45:47 2023 +0100 [gdb/testsuite] Fix gdb.base/skip-solib.exp for remote target =20 Fix test-case gdb.base/skip-solib.exp for target board remote-gdbserver-on-localhost using gdb_load_shlib. =20 Tested on x86_64-linux. Diff: --- gdb/testsuite/gdb.base/skip-solib.exp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gdb/testsuite/gdb.base/skip-solib.exp b/gdb/testsuite/gdb.base= /skip-solib.exp index f01196c3fed..9caf7e09dac 100644 --- a/gdb/testsuite/gdb.base/skip-solib.exp +++ b/gdb/testsuite/gdb.base/skip-solib.exp @@ -61,6 +61,7 @@ if {[gdb_compile "${binfile_main}.o" "${binfile_main}" ex= ecutable \ with_test_prefix "ignoring solib file" { =20 clean_restart ${executable_main} + gdb_load_shlib $binfile_lib =20 gdb_test "skip file ${srcfile_lib}" \ "File ${srcfile_lib} will be skipped when stepping." \ @@ -87,6 +88,7 @@ with_test_prefix "ignoring solib file" { # with_test_prefix "ignoring solib function" { clean_restart ${executable_main} + gdb_load_shlib $binfile_lib =20 gdb_test "skip function multiply" \ "Function multiply will be skipped when stepping\\." \