Re: Remote kernel debugging with kgdb and vmm

2018-05-14 Thread Xavier Guerin
On Sun, 2018-05-13 at 22:22 +0300, IL Ka wrote:
> AFAIK kgdb (remote debug) is not supported:
> http://openbsd-archive.7691.n7.nabble.com/on-line-kernel-debugging-tt
> 335833.html#a341551
> 
> You can debug running kernel but functionality is limited.

Thanks. Looks like using QEmu gdbserver[1] us my best option then.

[1] https://bit.ly/2KYiTA4



Re: Remote kernel debugging with kgdb and vmm

2018-05-13 Thread IL Ka
AFAIK kgdb (remote debug) is not supported:
http://openbsd-archive.7691.n7.nabble.com/on-line-kernel-
debugging-tt335833.html#a341551

You can debug running kernel but functionality is limited.


Remote kernel debugging with kgdb and vmm

2018-05-12 Thread Xavier Guerin
Hello,

I'd like to dive into the bridge driver and I am trying to setup a
kernel debugging environment.

I chose to use VMM to do that but I don't seem to find a way to connect
my local gdb to the VMM console. I guess I would need another serial
device for KGDB, but I have not found how to do that in the man.

Is anyone using VMM for this? Or plain old QEMU?

Thanks,
Xavier