From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id B0BF23858C2B; Sat, 5 Nov 2022 10:56:08 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B0BF23858C2B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1667645768; bh=Rww///qUtfwg4W5UdXN46bXjSRxUFkiFuuo7yvmaWsE=; h=From:To:Subject:Date:In-Reply-To:References:From; b=bYB/mShZ6b5d7yOxonENpieL68zgXR3wjQQy9N3anZB9KyKCJdm4abudiZ2zDoKX1 cgXW9wtP7Bxh65Q0Xer+H8NoYAV17mCRQ/aQHyJlvdIzyE2blMBy2HIhg8ElucyOjl jiCc3E8gyBfNxRyGj00x3ZBA5bMeRnXqeo11VpyI= From: "vries at gcc dot gnu.org" To: gdb-prs@sourceware.org Subject: [Bug testsuite/16947] Fail to compile test case when board file local-remote-host.exp is used Date: Sat, 05 Nov 2022 10:56:05 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: testsuite X-Bugzilla-Version: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: vries at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D16947 --- Comment #3 from Tom de Vries --- Note btw that the originally mentioned test-case foll-exec.exp doesn't work with remote target, and needs: ... diff --git a/gdb/testsuite/gdb.base/foll-exec.exp b/gdb/testsuite/gdb.base/foll-exec.exp index 8cddfa52c3b..a3d1a8781e9 100644 --- a/gdb/testsuite/gdb.base/foll-exec.exp +++ b/gdb/testsuite/gdb.base/foll-exec.exp @@ -36,6 +36,10 @@ if { [gdb_compile "${srcdir}/${subdir}/${srcfile2}" "${binfile2}"=20 executable $c return -1 } +if { [is_remote target] } { + gdb_remote_download target $binfile2 +} + if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable $compile_options] !=3D "" } { untested "failed to compile" return -1 ... to get $binfile2 alongside $binfile on the remote target. --=20 You are receiving this mail because: You are on the CC list for the bug.=