Bochs GDB stub
Posted: Sun Aug 14, 2005 11:00 pm
I've compiled and set up Bochs correctly to run its GDB stub and have remotely attached GDB to Bochs running my kernel successfully. The issue comes when I try to debug the kernel. GDB only seems to understand certain source code lines as being such, when I break at the beginning of main I can stepi as far as a I want, but if I enter "next" to go to the next source line or "step" GDB just runs the kernel as though I'd said "continue". Also, whenever I look up the value of a variable it reports a value of 0xffffffff.
What's going on with this thing? It reports being able to read the symbols from my kernel correctly!
What's going on with this thing? It reports being able to read the symbols from my kernel correctly!