Date: Thu, 2 Jul 2020 09:38:29 -0700 From: Navdeep Parhar <nparhar@gmail.com> To: Arka Sharma <arka.sw1988@gmail.com> Cc: freebsd-hackers@freebsd.org Subject: Re: Hang while "Switching to gdb back-end" Message-ID: <20200702163829.GA3431@x270> In-Reply-To: <CAPO=kN0fXcXd5ezLT7G=A5C=oSxOGbb4ODtvjMUx%2BJWOTC_LfQ@mail.gmail.com> References: <CAPO=kN0fXcXd5ezLT7G=A5C=oSxOGbb4ODtvjMUx%2BJWOTC_LfQ@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20200702163829.GA3431>