Kernel debugging using Remote GDB on ARM

Dmitry Salychev via freebsd-arm <[email protected]>
Newsgroups gmane.os.freebsd.devel.arm,gmane.os.freebsd.devel.hackers
Message-ID <[email protected]>
Hi,

Is it possible to debug kernel with remote GDB on an ARM target? I'm talking
about BeagleBone Black. I've tried to compile with:

	options KDB
	options DDB
	options GDB

but there's only DDB available:

	# sysctl debug.kdb.available
	debug.kdb.available: ddb

I've also tried to follow [1], but never seen
"Next trap will enter GDB remote protocol mode". Am I missing something?

Regards,
Dmitry

[1] https://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/kerneldebug-online-gdb.html
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-arm
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.