Debugging new OS

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
nigelren
Posts: 5
Joined: Thu Nov 29, 2012 4:13 pm

Debugging new OS

Post by nigelren »

I've started to work on some of the basic tutorials to start looking into developing an OS and found a few problems with breakpoints. I ended up finding it was down to having KVM running as I use QEMU to run the guest OS. So in gdb I had to set hardware breaks ( hbreak ) and couldn't get Eclipse to recognise them at all.

Is there a good way of getting to run Eclipse and a guest machine running in a debugging session, or will I have to keep on stopping KVM each time I want to use QEMU to do anything?

( The machine is running Ubuntu 12.04 64 bit desktop, Eclipse version - Juno ).

Thanks
Post Reply