home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.software-eng:5104 alt.sources.d:1593 comp.sources.d:1492
- Newsgroups: comp.software-eng,alt.sources.d,comp.sources.d
- Path: sparky!uunet!panther!mothost!merlin.dev.cdx.mot.com!merlin.dev.cdx.mot.com!lezz
- From: lezz@merlin.dev.cdx.mot.com (Lezz Giles)
- Subject: Re: cscope? trus?
- Message-ID: <1992Dec21.171339.29927@merlin.dev.cdx.mot.com>
- Sender: news@merlin.dev.cdx.mot.com (USENET News System)
- Nntp-Posting-Host: fenric.dev.cdx.mot.com
- Reply-To: lezz@merlin.dev.cdx.mot.com (Lezz Giles)
- Organization: Motorola Codex, Canton, MA
- References: <BzH2K4.1uz4@austin.ibm.com> <1992Dec19.191727.1407@vpnet.chi.il.us>
- Date: Mon, 21 Dec 1992 17:13:39 GMT
- Lines: 44
-
- In article <1992Dec19.191727.1407@vpnet.chi.il.us>, hb@vpnet.chi.il.us (hank barta) writes:
- |>Jerry Heyman (jerry@austin.ibm.com) wrote:
- |>
- |>: A user has just approached me asking if we have (or can get access to) a
- |>: program called cscope. It is a file browsing tool which will index and load
- |>: files from a given directory and index based on the function names, identify
- |>: where it is called and give the use the ability to switch immediately into
- |>: that particular file/function call. I don't know if this is PD or a
- |>: commercial
- |>: product, but if anyone is familiar with this I'd be glad to hear about it.
- |>...
- |>: ... if
- |>: anyone is familiar with this I'd be glad to hear about them.
- |>
- |>: you can post here, or I would prefer e-mail to: jerry@austin.ibm.com
- |> 'cscope' shows up in the man pages of both SCO and ISC development
- |> kits w/out attribution to SCO, Microsoft or LPI, so I believe that
- |> it is probably part of the AT&T development tools. (And for this
- |> reason, may not work with ANSI code.)
-
- We use cscope a lot here - it is an excellent tool for code browsing for
- small and large amounts of code (to find 200 occurences of a specific symbol
- in approx 1 million lines of code = 5 seconds (DECstation 5000/133)).
- It is available from AT&T's toolchest (contact AT&T since I can't remember
- the phone number) for a relatively negligable cost. Cscope doesn't work
- perfectly with ANSI-C code - specifically it doesn't understand structures
- with fields that are pointers to functions - it gets confused about the
- symbols in the parameter list and whether they're global definitions or not.
- This is not a major problem, and even with this I'd put cscope up there
- with Gimpel's Flexelint as an essential piece of software for software
- development in C.
-
- BTW - cscope also understands $VPATH, as used by system V make and gnu make,
- which means you can construct a really neat development environment with
- sophisticated code-sharing for almost no money. For more details on this,
- simply send your job-offers to me via e-mail...
-
- Lezz "going to the highest bidder" Giles
-
- P.S. If you work for Motorola then you're allowed to use the copy of cscope
- that we already have - send me e-mail.
-
- P.P.S. If you work for Motorola then append this to that bit about the
- job-offers... ':-)'
-