public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug gdb/30525] New: gdb cannot read shared libraries on SPARC64
@ 2023-06-06 19:19 mattst88 at gmail dot com
  2023-06-06 19:19 ` [Bug gdb/30525] " mattst88 at gmail dot com
                   ` (17 more replies)
  0 siblings, 18 replies; 19+ messages in thread
From: mattst88 at gmail dot com @ 2023-06-06 19:19 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=30525

            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 <stdio.h>

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 

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.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2023-07-06 20:55 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-06 19:19 [Bug gdb/30525] New: gdb cannot read shared libraries on SPARC64 mattst88 at gmail dot com
2023-06-06 19:19 ` [Bug gdb/30525] " mattst88 at gmail dot com
2023-06-06 22:27 ` mattst88 at gmail dot com
2023-06-07  8:36 ` sam at gentoo dot org
2023-06-07  8:37 ` sam at gentoo dot org
2023-06-07  9:05 ` pedro at palves dot net
2023-06-07 10:19 ` pedro at palves dot net
2023-06-07 10:44 ` pedro at palves dot net
2023-06-07 14:43 ` mattst88 at gmail dot com
2023-06-07 15:18 ` mattst88 at gmail dot com
2023-06-07 15:33 ` mattst88 at gmail dot com
2023-06-07 22:11 ` pedro at palves dot net
2023-06-07 22:12 ` pedro at palves dot net
2023-06-07 23:57 ` mattst88 at gmail dot com
2023-06-14 23:42 ` mattst88 at gmail dot com
2023-06-15 10:39 ` pedro at palves dot net
2023-07-05 13:43 ` pedro at palves dot net
2023-07-06 16:58 ` cvs-commit at gcc dot gnu.org
2023-07-06 20:55 ` sam at gentoo dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).