Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Oct 2020 21:21:00 +0100
From:      Dmitry Salychev <dsl@mcusim.org>
To:        freebsd-hackers@freebsd.org
Cc:        freebsd-arm@freebsd.org
Subject:   Kernel debugging using Remote GDB on ARM
Message-ID:  <20201030202100.GA87402@x230.ds>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20201030202100.GA87402>