Hang while "Switching to gdb back-end"
Navdeep Parhar
nparhar at gmail.com
Thu Jul 2 16:38:43 UTC 2020
On Thu, Jul 02, 2020 at 05:57:58PM +0530, Arka Sharma wrote:
> Dear All,
>
> I have installed FreeBSD 12.1. I have set the "hint.uart.0.flags="0x90" in
> the /boot/device.hints file. I also have both ddb and gdb listed when I
> issue "sysctl debug.kdb.available". So when I launch db using "sysctl
> debug.kdb.enter=1" and issue gdb to change the mode to gdb it shows
> "Switching to gdb back-end" and doesn't respond to Ctrl+c. I have to reset
> the system in order to get the system up.
All this is expected behavior. You have to connect to the gdb backend
over the serial port using kgdb running on a different system after you
see the "Switching to gdb ..." message. Then debug as usual and detach
when done.
Regards,
Navdeep
More information about the freebsd-hackers
mailing list