How can I gdb a vfs module

Gerald (Jerry) Carter jerry at samba.org
Wed Apr 21 01:58:48 GMT 2004


Jagan wrote:
> I have a vfs module which is not working well. How can
> I gdb it. I did a gdb on smbd and couldnt get gdb to
> debug past the fork. When I place a breakpoint in a
> vfs module before a fork it does not work either.
> 
> I already have debug level turned onto 10.
> with best regards

You can either run smbd -i in gdb or attach ro a
running process after the fork().





cheers, jerry
----------------------------------------------------------------------
Hewlett-Packard            ------------------------- http://www.hp.com
SAMBA Team                 ---------------------- http://www.samba.org
GnuPG Key                  ---- http://www.plainjoe.org/gpg_public.asc
"...a hundred billion castaways looking for a home." ----------- Sting


More information about the samba-technical mailing list