I know Bhyve supports kgdb debugging of a FreeBSD guest, but I've been
looking for a system-level debugging capability to let me debug the
system before FreeBSD boots. However, I'm having problems with the -G
option to bhyve (e.g. -G 1234): gdb shows "(bad)" in the assembly
listing, reports not being able to access memory in some stack frames,
and ended up crashing after a while. e.g.:


set architecture i386:x86-64:intel

target remote localhost:1234


>0xfffcd3e1 
(bad)                                                                           
                                                                
│
│   0xfffcd3e2 
(bad)                                                                           
                                                                
│
│   0xfffcd3e3 
(bad)                                                                           
                                                                
│
│   0xfffcd3e4 
(bad)                                                                           
                                                                
│
│   0xfffcd3e5  (bad) 


Should this work?


-- 
Rebecca Cran

(null)
_______________________________________________
freebsd-virtualization@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
"freebsd-virtualization-unsubscr...@freebsd.org"

Reply via email to