Date: Sat, 30 Sep 2000 14:38:20 -0500 From: Arindum Mukerji <rmukerji@execpc.com> To: Marc Tardif <intmktg@CAM.ORG> Cc: freebsd-hackers@freebsd.org Subject: Re: finding source to functions Message-ID: <20000930143820.A18501@earth.execpc.com> In-Reply-To: <Pine.LNX.4.10.10009291637130.17580-100000@Gloria.CAM.ORG> References: <Pine.LNX.4.10.10009291637130.17580-100000@Gloria.CAM.ORG>
next in thread | previous in thread | raw e-mail | index | archive | help
* Marc Tardif <intmktg@CAM.ORG> [000929 15:37]: > 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? > The ctags utility that comes with vim (http://www.vim.org/) accepts an argument of "-R" for recursive ctag-ing. I find it most useful in indexing my tree. -- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000930143820.A18501>