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
The NetBSD Foundation, Inc.
System: NetBSD 9.99.10 NetBSD 9.99.10 (ERLITE) #22: Wed Sep 4 10:25:06 CEST 2019 evbmips
Architecture: mips64eb
Machine: evbmips

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


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 <>
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:
Find the GDB manual and other documentation resources online at:

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
Cannot insert breakpoint 1.
Cannot access memory at address 0x5120

Command aborted.


Home | Main Index | Thread Index | Old Index