VFS - Attaching a debugger

William M. Grim wgrim at siue.edu
Wed Apr 14 17:57:07 PDT 2004


Hey fellow DF users.

I finally got my system converted over to DF after an issue with 
ip_input.c being out of sync after a cvsup (causing natd to fatally trap).

However, I was wondering I could connect GDB to the VFS subsystem?  I'd 
like to step through some code to sort of see how the code works and get 
a sense for the flow of events.

Do you guys have tips on how I could do this?  Do I just run gdb against 
/kernel and set a breakpoint at something like "ip_input" (I know that's 
different than the VFS)?

Any tips would be appreciated.

-Mike






More information about the Kernel mailing list