From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id C7CC13858296; Wed, 7 Jun 2023 14:43:55 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C7CC13858296 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1686149035; bh=1XmePN+hqqKLnSXms9B6fvVg1/VNchRlFBQX+CHQDDo=; h=From:To:Subject:Date:In-Reply-To:References:From; b=niOHCPiix6E4Xb/b7NN2cvxxve+4LZ0v5xNr5jenm3iqwQDSWwDIWmT13jWPNqCCd GB7XfuUg92kURWj3xRE28lHPXDnoizXZv7/mNd7LrLKX23D6WrqKWhUhjsq9FrKYaW MjhGRiH3cUy/lrSCnuMbPwqnz3qIcDuSv+ZGSOrs= 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 14:43:55 +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 #6 from Matt Turner --- (In reply to Pedro Alves from comment #3) > > (gdb) info sharedlibrary > > Cannot access memory at address 0xfff80001002011e0 > > Cannot access memory at address 0xfff80001002011d8 > > Cannot access memory at address 0xfff80001002011d8 >=20 > Those addresses look suspiciously high for userspace. They are 64-bit > addresses, with the high bits set. When interpreted as signed, they'd be > negative. Are they really correct? Unsure, but with gdb from the commit prior to the bisection: (64-bit chroot) catbus ~ # gdb -q t Reading symbols from t... (gdb) start Temporary breakpoint 1 at 0x7b8: file t.c, line 4. Starting program: /root/t=20 [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". Temporary breakpoint 1, main () at t.c:4 4 printf("hello world\n"); (gdb) info sharedlibrary >From To Syms Read Shared Object Library 0xfff80001000010a0 0xfff8000100021f80 Yes (*) /lib64/ld-linux.so.2 0xfff800010032ae00 0xfff800010045ac80 Yes (*) /lib64/libc.so.6 (*): Shared library is missing debugging information. --=20 You are receiving this mail because: You are on the CC list for the bug.=