NetBSD-Bugs archive

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

port-amd64/57224: NVMM regression, breakpoints no longer work



>Number:         57224
>Category:       port-amd64
>Synopsis:       NVMM regression, breakpoints no longer work
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-amd64-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Feb 10 12:25:00 +0000 2023
>Originator:     Reinoud Zandijk
>Release:        NetBSD 9.99.107
>Organization:
NetBSD
	
>Environment:
	
	
System: NetBSD gorilla.13thmonkey.org 9.99.107 NetBSD 9.99.107 (GENERIC) #0: Sun Dec 18 17:14:55 CET 2022 reinoud%gorilla.13thmonkey.org@localhost:/tmp/obj-bisect/sys/arch/amd64/compile/GENERIC amd64
Architecture: x86_64
Machine: amd64
>Description:
Without NVMM, Qemu allows for setting breakpoints on a kernel that boots. With
NVMM it allows the breakpoint setting but ignores it on running. IIRC it used to work fine.

	
>How-To-Repeat:
Running Qemu with :
qemu-system-x86_64 -m 1024
        -drive file=$FS,format=raw
        -smp cores=2 $ACCEL
        -snapshot
        -nographic -s -S
        -serial mon:telnet:127.0.0.1:2223,server,wait
....
and then
sleep 1
xfce4-terminal -e "telnet localhost 2223" &
sleep 1
/usr/bin/gdb
        -ex "target remote localhost:1234"
        -ex "break main"
        -ex "break subr_prf.c:279" -ex "continue"
        $KERNEL/netbsd.gdb

	
>Fix:
Run without -accell nvmm

	

>Unformatted:
 	
 	



Home | Main Index | Thread Index | Old Index