From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id B35403858C54; Wed, 7 Jun 2023 15:33:23 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B35403858C54 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1686152003; bh=VQB/dv29FAg1X8BKe7Di0pjtqglZ/cwaz3NqsQkKh+U=; h=From:To:Subject:Date:In-Reply-To:References:From; b=kKebWsSgr9ENhoERy1MpC2daLWXFrPjkWLNl0KwoM6QVwvlRC0mKNmkNlR8KgDMDG dQyk1pMDZb7ZBD5x9xFm5ksTNG8wXO0bExHMyfCuPYwr/t4doAEOnX3Dq2C0zGocHk PGNQ0piW8Gq1CEgXYU09Xh1zBRynNSSisGVwwxi8= From: "mattst88 at gmail dot com" To: gdb-prs@sourceware.org Subject: [Bug gdb/30525] gdb cannot read shared libraries on SPARC64 Date: Wed, 07 Jun 2023 15:33:23 +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: mattst88 at gmail dot com 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: 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 --- Comment #8 from Matt Turner --- (In reply to Pedro Alves from comment #5) > Created attachment 14922 [details] > Avoid pread64/pwrite64 for high memory addresses (v2) >=20 > The numeric limits thing was there because I initially thought about > incrementally lseeking in a loop with positive offsets until the high > address was reached. If we can do it in one lseek call only, then it isn= 't > needed. This slightly updated patch thus gets rid of the numeric limits = use. This patch does not fix it. Temporary breakpoint 1, main () at t.c:4 4 printf("hello world\n"); (gdb) info sharedlibrary Cannot access memory at address 0xfff80001002011e0 Cannot access memory at address 0xfff80001002011d8 Cannot access memory at address 0xfff80001002011d8 >From To Syms Read Shared Object Library 0xfff80001000010a0 0xfff8000100021f80 Yes (*) /lib64/ld-linux.so.2 (*): Shared library is missing debugging information. --=20 You are receiving this mail because: You are on the CC list for the bug.=