DragonFly BSD
DragonFly kernel List (threaded) for 2004-04
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

VFS - Attaching a debugger


From: "William M. Grim" <wgrim@xxxxxxxx>
Date: Wed, 14 Apr 2004 19:57:07 -0500

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




[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]