NetBSD-Bugs archive

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

toolchain/60362: gdb can not insert breakpoints on aarch64



>Number:         60362
>Category:       toolchain
>Synopsis:       gdb can not insert breakpoints on aarch64
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    toolchain-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jun 24 10:25:00 +0000 2026
>Originator:     Martin Husemann
>Release:        NetBSD 11.99.6
>Organization:
The NetBSD Foundation, Inc.
>Environment:
System: NetBSD out-of-the-silent-planet.aprisoft.de 11.99.6 NetBSD 11.99.6 (GENERIC64) #558: Wed Jun 10 10:10:05 CEST 2026 martin%seven-days-to-the-wolves.aprisoft.de@localhost:/work/src/sys/arch/evbarm/compile/GENERIC64 evbarm
Architecture: aarch64
Machine: evbarm
>Description:

Try to run a program under gdb with breakpoints:

 > gdb ls
gdb: warning: A handler for the OS ABI "NetBSD" is not built into this configuration
of GDB.  Attempting to continue with the default aarch64 settings.

GNU gdb (GDB) 17.1
[..]
Reading symbols from ls...
Reading symbols from /usr/libdata/debug/bin/ls.debug...
(gdb) break main
Breakpoint 1 at 0x4d40: file /work/src/bin/ls/main.c, line 48.
(gdb) run
Starting program: /bin/ls 
Warning:
Cannot insert breakpoint 1.
Cannot access memory at address 0x4d40


>How-To-Repeat:
s/a

>Fix:
n/a




Home | Main Index | Thread Index | Old Index