From owner-freebsd-hackers Fri Sep 29 14:37:50 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from goku.cl.msu.edu (goku.cl.msu.edu [35.8.3.20]) by hub.freebsd.org (Postfix) with ESMTP id 3E3FC37B503 for ; Fri, 29 Sep 2000 14:37:48 -0700 (PDT) Received: (from dervish@localhost) by goku.cl.msu.edu (8.11.0/8.11.0) id e8TLbir66737; Fri, 29 Sep 2000 17:37:44 -0400 (EDT) (envelope-from dervish) Date: Fri, 29 Sep 2000 17:37:44 -0400 From: Bush Doctor To: Marc Tardif Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: finding source to functions Message-ID: <20000929173744.A66583@goku.cl.msu.edu> Mail-Followup-To: Marc Tardif , freebsd-hackers@FreeBSD.ORG References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from intmktg@CAM.ORG on Fri, Sep 29, 2000 at 04:39:59PM -0400 X-Operating-System: FreeBSD 5.0-CURRENT i386 WWW-Home-Page: http://bantu.cl.msu.edu Organisation: Information Systems - Michigan State University Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Out of da blue Marc Tardif aka (intmktg@CAM.ORG) said: > How can I find the source to specific functions in /usr/src/sys? I tried > running ctags (find /usr/src/sys/ -type f -print | xargs ctags -w), but it > dumps core because it can't accept so many args. I then tried creating a > tags file for each subdirectory like so: > for i in /usr/src/sys/ > do > if test -d $i > then > cd $i > find ./ -type f -print | xargs ctags -w > cd .. > fi > done > > But that didn't work either. Any suggestions to make browsing the source > code easier? There's also cscope and cbrowser in the ports under /usr/ports/devel ... > > > #;^) -- f u cn rd ths, u cn gt a gd jb n cmptr prgrmmng. bush doctor To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message