NetBSD-Bugs archive

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

toolchain/54524: gdb is not working with 32 bit userland on mips64



>Number:         54524
>Category:       toolchain
>Synopsis:       gdb is not working with 32 bit userland on mips64
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    toolchain-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Sep 04 09:00:00 +0000 2019
>Originator:     Martin Husemann
>Release:        NetBSD 9.99.10
>Organization:
The NetBSD Foundation, Inc.
>Environment:
System: NetBSD supremacy.duskware.de 9.99.10 NetBSD 9.99.10 (ERLITE) #22: Wed Sep 4 10:25:06 CEST 2019 martin%seven-days-to-the-wolves.aprisoft.de@localhost:/work/src/sys/arch/evbmips/compile/ERLITE evbmips
Architecture: mips64eb
Machine: evbmips
>Description:

Something is completely not working with (32 bit) gdb on mips64-eb
(symptoms remind of the aux vector lossage on sparc64).

>How-To-Repeat:

On an ERLITE with default installation + debug sets:

 > gdb ls
GNU gdb (GDB) 8.3
Copyright (C) 2019 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "mips64--netbsd".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from ls...
Reading symbols from /usr/libdata/debug//bin/ls.debug...
(gdb) break main
Breakpoint 1 at 0x5120: file /work/src/bin/ls/main.c, line 46.
(gdb) run
Starting program: /bin/ls 

Suspended (tty output)
 > fg
gdb ls
Warning:
Cannot insert breakpoint 1.
Cannot access memory at address 0x5120

Command aborted.


>Fix:
n/a



Home | Main Index | Thread Index | Old Index