Remote Kernel Debugging

I finally got remote kernel debugging working ... sort of. If I attempt to set a breakpoint and then tell the kernel to continue, it SIGTRAPs for a reason I can't ascertain ... because gdb is convinced that the source code I've given it is newer than the symbol-laden kernel file I'm using ... and it shows the errant line of code ... which is a comment. Obviously, gdb is correct ... even though the version numbers match.

So, if I don't set a breakpoint, then I can tell the kernel to continue just fine, but since the bug I'm trying to fix doesn't cause a kernel panic, I have no recourse.

Aye yi yi.

I need to go to bed.

Subscribe to A garage sale for your mind

Don’t miss out on the latest posts. Sign up now to get access to the library of members-only posts.
[email protected]
Subscribe