NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

bin/55908: gdb does not work for mips64 with 32bit userland



>Number:         55908
>Category:       bin
>Synopsis:       gdb does not work for mips64 with 32bit userland
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jan 04 17:00:01 +0000 2021
>Originator:     Martin Husemann
>Release:        NetBSD 9.99.77
>Organization:
The NetBSD Foundation, Inc.
>Environment:
System: NetBSD supremacy.duskware.de 9.99.77 NetBSD 9.99.77 (OCTEON) #2: Sun Jan 3 14:18:28 CET 2021 martin%seven-days-to-the-wolves.aprisoft.de@localhost:/work/src/sys/arch/evbmips/compile/OCTEON evbmips
Architecture: mips64eb
Machine: evbmips
>Description:

On an ELRIT3 (mips64 with 32bit userland) gdb is not mapping text addresses
correctly:

GNU gdb (GDB) 11.0.50.20200914-git
[..]
Reading symbols from dhcpcd...
Reading symbols from /usr/libdata/debug//sbin/dhcpcd.debug...
(gdb) set verbose
(gdb) run -6
Starting program: /sbin/dhcpcd -6
Using PIE (Position Independent Executable) displacement 0x10000 for "/sbin/dhcpcd".
Reading symbols from /libexec/ld.elf_so...
Reading symbols from /usr/libdata/debug//libexec/ld.elf_so.debug...
Reading in symbols for /work/src/libexec/ld.elf_so/rtld.c...

Program received signal SIGSEGV, Segmentation fault.
0x785f9f20 in ?? (warning: GDB can't find the start of the function at 0x785f9f20.



>How-To-Repeat:
s/a

>Fix:
n/a



Home | Main Index | Thread Index | Old Index