Skip to contentSkip to conversation

Sources browsing tool?

parisc-linux [email protected] 4 participants 5 messages Jun 7, 2002 – Aug 24, 2002

lore
Share & tools
lore
#0 lore raw

Hi all,

Can you advise me some browsing tools which would allowing me to find quickly where a variable, a function is define; where is used,... in this big amount source which represent kernel now (find is not always easy).

I find well a work of reverse engineering (rigiedit) of the kernel but not for 2.4. And unfortunately sources (tcl/tk iirc) do not seems to be available to port on hppa.

Thanks a lot in advance,
Joel

-------------------------------------------------
This mail sent through Tiscali Webmail (http://webmail.tiscali.be)

#1 lore raw
Quoted 9 lines · On Fri, 2002-06-07 at 18:23, [email protected] wrote:

Hi all,

Can you advise me some browsing tools which would allowing me to find quickly where a variable, a function is define; where is used,... in this big amount source which represent kernel now (find is not always easy).

I find well a work of reverse engineering (rigiedit) of the kernel but not for 2.4. And unfortunately sources (tcl/tk iirc) do not seems to be available to port on hppa.

Try the Linux cross reference - http://lxr.linux.no

#2 lore raw
Quoted 10 lines
Quoted 7 lines

Hi all,
Can you advise me some browsing tools which would allowing me to find quickly where a variable, a function is define; where is used,... in this big amount source which represent kernel now (find is not always easy).
I find well a work of reverse engineering (rigiedit) of the kernel but not for 2.4. And unfortunately sources (tcl/tk iirc) do not seems to be available to port on hppa.

Try the Linux cross reference - http://lxr.linux.no

AAP Project has a good list:
http://www.a-a-p.org/tools_browse.html

And if you pray to emacs then 'ecb' will be of interest ;)
http://ecb.sourceforge.net/

c.

author
#3 lore raw
In reply to Alan Cox

Just for reminder in this ml

Quoted 5 lines · Alan Cox
Quoted 3 lines · On Fri, 2002-06-07 at 18:23, [email protected] wrote:

Hi all,

Can you advise me some browsing tools which would allowing me to find

quickly

Quoted 1 line
Quoted 1 line

where a variable, a function is define; where is used,... in this big

amount

Quoted 3 lines
Quoted 3 lines

source which represent kernel now (find is not always easy).

I find well a work of reverse engineering (rigiedit) of the kernel

but not for 2.4.

Quoted 1 line
Quoted 1 line

And unfortunately sources (tcl/tk iirc) do not seems to be available

to port on

Quoted 5 lines
Quoted 1 line

hppa.

Try the Linux cross reference - http://lxr.linux.no

I try to install it (from src, from tarball, from cvs): no way of success (install instruction not uptodate)
But on the same 'sf.net' I found my happyness: sourcenav (5.1.0).

An install of the Install:
./configure --prefix=/opt/sn
make
make install

(That is the first time that I had the opportunity to build a package with so few warning. It is very beautifull and easy to use :)

And the last but not least: it works fine on my own i386 as well as on my b2k :)
I am now impatient to test it on a big proj as linux-2.4.

Joel

#4 lore raw
In reply to [email protected]
Quoted 9 lines · [email protected] wrote:

Hi all,

Can you advise me some browsing tools which would allowing me to find quickly where a variable, a function is define; where is used,... in this big amount source which represent kernel now (find is not always easy).

I find well a work of reverse engineering (rigiedit) of the kernel but not for 2.4. And unfortunately sources (tcl/tk iirc) do not seems to be available to port on hppa.

If you are using Emacs as your editor, you could use TAGS to locate definitions, etc. This script may need editing:

##
# Build an ETAG file of the linux kernel sources.
ARCH=parisc

find arch/$ARCH drivers fs include/{asm-$ARCH,linux,net,scsi,video} \
init ipc kernel lib mm net -name '*.[chS]' -print | sort | etags -
##

I used this quite a while ago, when I was writing a driver. You will need to consult the emacs manual on how to use tags.

Signature · 1 line
    Rafael