From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 02CBC3858404; Wed, 7 Jun 2023 10:44:58 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 02CBC3858404 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1686134699; bh=3tl49bgsqGQoleymGgMh6Jx+8FpY/Jei0Q+hY4OL3HM=; h=From:To:Subject:Date:In-Reply-To:References:From; b=ouUUwbNGz8/7swAA/bIfIg7uXfaXFhL84CjPPTMfKtqXtwwVgnEE3Lir70zdiJWtb NsocQryD6CRuhjU4r3NLVXgb8FBQVKuzlbbeUn5hiBWmq+w/W1cGQCCHpTPxWi/P1M 0My+QvlVOgIJfjWwMqm2AUyyrsk610qoumJiqNl0= From: "pedro at palves dot net" To: gdb-prs@sourceware.org Subject: [Bug gdb/30525] gdb cannot read shared libraries on SPARC64 Date: Wed, 07 Jun 2023 10:44:58 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: gdb X-Bugzilla-Version: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: pedro at palves dot net X-Bugzilla-Status: UNCONFIRMED 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: attachments.isobsolete attachments.created 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=3D30525 Pedro Alves changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #14921|0 |1 is obsolete| | --- Comment #5 from Pedro Alves --- Created attachment 14922 --> https://sourceware.org/bugzilla/attachment.cgi?id=3D14922&action=3Ded= it Avoid pread64/pwrite64 for high memory addresses (v2) The numeric limits thing was there because I initially thought about incrementally lseeking in a loop with positive offsets until the high addre= ss was reached. If we can do it in one lseek call only, then it isn't needed.= =20 This slightly updated patch thus gets rid of the numeric limits use. --=20 You are receiving this mail because: You are on the CC list for the bug.=