2007-05-09 22:57:53

by Shahbaz Khan

[permalink] [raw]
Subject: What tools to use?

All the experts on this list plz let me know of any good cross
referencing tool for source code navigation. I have tried LXR but its
not easy to configure for a rookie like me. Anyother as good as LXR?

Thank you.


2007-05-09 23:08:40

by Randy Dunlap

[permalink] [raw]
Subject: Re: What tools to use?

On Thu, 10 May 2007 03:57:21 +0500 Shahbaz Khan wrote:

> All the experts on this list plz let me know of any good cross
> referencing tool for source code navigation. I have tried LXR but its
> not easy to configure for a rookie like me. Anyother as good as LXR?

It's not a web browser interface, but cscope works pretty well.

http://cscope.sourceforge.net/


---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***

2007-05-09 23:16:35

by Jesper Juhl

[permalink] [raw]
Subject: Re: What tools to use?

On 10/05/07, Shahbaz Khan <[email protected]> wrote:
> All the experts on this list plz let me know of any good cross
> referencing tool for source code navigation. I have tried LXR but its
> not easy to configure for a rookie like me. Anyother as good as LXR?
>
lxr is pretty good (glimpse on its own as well can be useful). If you
don't want to set it up yourself, then you could consider to use the
online version at http://lxr.linux.no/

Another good thing is "make ctags" in the kernel source dir - this
will let you quickly jump to declarations etc and back with a few
simple keystrokes in editors like vim.
http://www.faqs.org/docs/ldev/0130091154_64.htm
http://applications.linux.com/article.pl?sid=07/01/22/167212&tid=13&tid=47
http://cscope.sourceforge.net/cscope_vim_tutorial.html

"make cscope" is another good option. It'll generate an index usable
by the cscope tool (http://cscope.sourceforge.net/).

--
Jesper Juhl <[email protected]>
Don't top-post http://www.catb.org/~esr/jargon/html/T/top-post.html
Plain text mails only, please http://www.expita.com/nomime.html

2007-05-09 23:22:37

by Parag Warudkar

[permalink] [raw]
Subject: Re: What tools to use?

Shahbaz Khan wrote:
> All the experts on this list plz let me know of any good cross
> referencing tool for source code navigation. I have tried LXR but its
> not easy to configure for a rookie like me. Anyother as good as LXR?
>
> Thank you.

http://opensolaris.org/os/project/opengrok/ - Works well if you don't
mind the need for Java application server to run it. It is relatively
easy to setup.

There is an blog article on setting it up for use with Linux kernel -
http://uadmin.blogspot.com/2005/12/opengrok-zfs-linux-2612.html .

HTH
Parag