So...
I'm trying to debug my kernel using gdb. But I can't see to get gdb to find the "boundaries" of my functions.
I notice that when i load my kernel with gdbtui (gdb -tui) it doesn't show my soruce files, what it does with a hello world program i tried.
So, messing around I found out that, if there is no main function gdb doesn't show the source files.
I'm currently using Ubuntu 8.10 with GDB 6.8. Anyone knows anything about it?
Also... I'm debugging with bochs, and when i connect to it i get an error in gdb: "warning: remote failure reply: Eff"
Ideas?
Cheers,
KM
GDB can't find symbols without main
- Khaoticmind
- Member
- Posts: 29
- Joined: Tue Nov 18, 2008 1:06 pm
- Location: Brazil