From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 5113D3858C50; Wed, 4 Jan 2023 01:39:13 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5113D3858C50 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1672796353; bh=HmmykzE94fRVKWCNy75/nK1N2PbwscHq2Qx7sVbn2KQ=; h=From:To:Subject:Date:In-Reply-To:References:From; b=DYDtH5Q2rr76DV/MvvTuX/pv57o5FT/37WJid+lQARkHpTjO4GARhajEFCLlWJy/3 vYM7rJOs65Usn6bOqFzNS2ax8fANFp5yhJOEPrXXmZVWVSRDm7OX5/bOrO3ANMINDW SGH1CV0j1OCU4ja/3C7BTquCceUfg6CZcwjkBMqU= From: "tromey at sourceware dot org" To: gdb-prs@sourceware.org Subject: [Bug remote/28489] Allow caching of remote objfiles Date: Wed, 04 Jan 2023 01:39:12 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: remote X-Bugzilla-Version: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: tromey at sourceware dot 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=3D28489 --- Comment #7 from Tom Tromey --- It occurred to me that to make this work, we'll need a new protocol extension (no big deal) and gdbserver will have to know how to extract the build id (a bigger deal). I guess a different idea would be to construct a cached directory tree that works like a sysroot, and use the existing remote protocol stat capability to decide when to update a file. In this approach, build ids just would not be used (or, rather, would be used to locate remote debuginfo files). --=20 You are receiving this mail because: You are on the CC list for the bug.=