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:[EMAIL PROTECTED]]
> Sent: Thursday, May 17, 2001 4:10 AM
> To: [EMAIL PROTECTED]
> 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 [EMAIL PROTECTED]
> 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 [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/
  • ctags John Levon
    • ctags Blesson Paul
    • Khachaturov, Vassilii

Reply via email to