lkml.org 
[lkml]   [2001]   [May]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: ctags
Date
I use cscope instead, and vim's front-end to it.
(Emacs fans: XEmacs has a similar support, see cscope page on sourceforge).

Much more powerful than plain tags,
because it allows also things like
"where are all the calls to this function",
but you still can jump about with ^T/^]

At top level of the kernel source tree (/usr/src/linux) do

find . -name '*.[hc]' -print > cscope.files
cscope -b -k -I/usr/src/linux/include

In the .vimrc used for kernel editing, do:
cscope add /usr/src/linux/cscope.out /usr/src/linux
set cstag

And do :help cscope to see what this thing is about...
Or, for a quick start, just do :cs

See also cscope on sourceforge.

HTH,
Vassilii

> -----Original Message-----
> From: Blesson Paul [mailto:blessonpaul@usa.net]
> Sent: Thursday, May 17, 2001 4:10 AM
> To: linux-kernel@vger.kernel.org
> Subject: ctags
>
>
>
> find -name '*.[ch]' | ctag -L- &
> echo "set tags-tags">>.vimrc
>
> Hi
> Thanks for the reply. To get the definition of the
> functions above is enough. Now if there are more than one
> definition of the
> same function how to get all the definitions
>
> by
> Blesson Paul
>
> ____________________________________________________________________
> Get free email and a permanent address at
> http://www.netaddress.com/?N=1
> -
> To unsubscribe from this list: send the line "unsubscribe
> linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:53    [W:0.043 / U:0.256 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site