Thank you (for the quick response) and sorry if I was not as clear
as I should have been! what I meant and was hoping to find was
a source code debugger support, like gdb[1], where one can debug
a running kernel with full access to the source code in a gdb session
environment from a remote machine.

I'm new to OpenBSD and found kgdb(7)[2] manual from 6.1 describing
the process very similar to what I do daily with FreeBSD but (as I
mentioned earlier) the code seems to be removed since 6.2.

So, is there any alternative for remote debugging a running OpenBSD
kernel using gdb? anyhow, I appreciate it if one can point me to the
right direction and I don't mind any hard work in the process :-)

[1]: https://www.freebsd.org/doc/en/books/developers-handbook/kerneldebug-online-gdb.html
[2]: https://man.openbsd.org/OpenBSD-6.1/kgdb.7


On 01/27/18 21:00, Todd C. Miller wrote:
On Sat, 27 Jan 2018 20:46:18 +0330, bijan wrote:

does OpenBSD support on-line kernel debugging as FreeBSD does[1]?
Yes, see the ddb(4) manual page.

  - todd

Reply via email to