How can I gdb a vfs module

Jagan jaganra at yahoo.com
Wed Apr 21 20:36:11 GMT 2004


smbd -i works great- thank you. i still would want to get your answer on
that one.

-----Original Message-----
From: Gerald (Jerry) Carter [mailto:jerry at samba.org] 
Sent: Tuesday, April 20, 2004 6:59 PM
To: Jagan
Cc: samba-technical at lists.samba.org
Subject: Re: How can I gdb a vfs module

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