I was trying to create a new debug server in qemu, but it is failed, there are so many pieces of code are twitted with GDB, so a new debug server is unable to make it work. Now I changed my direction, because on gdb communication protocol, i extend it to fit for peter-bochs (will rename to GKD). In gdb, there are some weak points, such as we can view the control registers (CR0, CR2, etc…), even we can view them in qemu monitor, we still have no way to modify its value. These are the reasons I create JLibGDB https://github.com/mcheung63/JLibGDB .
So far it seems working, i will port all the peter-bochs’ debug commands on that.
read count : 548