Re: [osv-dev] GDB stub

2021-02-17 Thread Matias Vara
On Wed, 17 Feb 2021 at 06:04, Waldek Kozaczuk wrote: > Hi Matias, > > Good to hear from you. > > Are you saying that Toro has already implemented a gdb stub and we can > "steal" it (:-) or are you suggesting we work together to implement one? I > am all for that. > > Hahaha, I am currently

Re: [osv-dev] GDB stub

2021-02-16 Thread Waldek Kozaczuk
Hi Matias, Good to hear from you. Are you saying that Toro has already implemented a gdb stub and we can "steal" it (:-) or are you suggesting we work together to implement one? I am all for that. Can you point to any documentation on how such a stub can be implemented? Also, does gdb

Re: [osv-dev] GDB stub

2021-02-13 Thread Matias Vara
Hello everyone, I would like to step into this topic, maybe my experience may help and also you may help me too. A couple of months ago, I figured that I can't debug Toro KVM guests by using the QEMU built-in gdbstub. I tried hwbreak but that did not work either. The execution was not stopping on

Re: [osv-dev] GDB stub

2021-02-08 Thread Glauber Costa
On Mon., Feb. 8, 2021, 3:00 a.m. Nadav Har'El, wrote: > On Wed, Feb 3, 2021 at 1:18 AM Waldek Kozaczuk > wrote: > >> Currently, it is only possible to connect from gdb to a running instance >> of OSv on QEMU. But ideally, it would be nice to have a gdb stub in OSv >> that would let one connect

Re: [osv-dev] GDB stub

2021-02-08 Thread Nadav Har'El
On Wed, Feb 3, 2021 at 1:18 AM Waldek Kozaczuk wrote: > Currently, it is only possible to connect from gdb to a running instance > of OSv on QEMU. But ideally, it would be nice to have a gdb stub in OSv > that would let one connect from gdb to OSv running on any hypervisor. > > Per this fragment

[osv-dev] GDB stub

2021-02-02 Thread Waldek Kozaczuk
Currently, it is only possible to connect from gdb to a running instance of OSv on QEMU. But ideally, it would be nice to have a gdb stub in OSv that would let one connect from gdb to OSv running on any hypervisor. Per this fragment of this Wiki -