From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 96E013858C5F; Tue, 6 Jun 2023 19:19:21 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 96E013858C5F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1686079161; bh=WRhpRAbphW7SLRq4ie9rqv9O1a4ni3h1Z4xMV4/roqk=; h=From:To:Subject:Date:From; b=sigXJrZFzLBh7Qe3JUxyzkvQ1naMjnSLGBe1zoCg6f0QGO3pc8TmyGwHgn0zmCfYn LYHpqrv0iQZhIcfLsOZH6ZbUkCEg0daRW9zu+DLjFnz1NySbCy3Cn254JvM5tsw2le gNSjEb/ajUhMyYHLpJTRoFzm9u6YeLfNoLLiM30U= From: "mattst88 at gmail dot com" To: gdb-prs@sourceware.org Subject: [Bug gdb/30525] New: gdb cannot read shared libraries on SPARC64 Date: Tue, 06 Jun 2023 19:19:21 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new 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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: 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 Bug ID: 30525 Summary: gdb cannot read shared libraries on SPARC64 Product: gdb Version: HEAD Status: UNCONFIRMED Severity: normal Priority: P2 Component: gdb Assignee: unassigned at sourceware dot org Reporter: mattst88 at gmail dot com Target Milestone: --- Downstream bug: https://bugs.gentoo.org/907906 On sparc64 userland, gdb cannot read shared libraries: (64-bit chroot) catbus ~ # cat t.c #include int main(void) { printf("hello world\n"); return 0; } (64-bit chroot) catbus ~ # gcc -g t.c -o t (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 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. As a result, breakpoints in shared libraries don't work. --=20 You are receiving this mail because: You are on the CC list for the bug.=