LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   Doubt regarding cscope (https://www.linuxquestions.org/questions/programming-9/doubt-regarding-cscope-293320/)

subu_s 02-22-2005 04:29 AM

Doubt regarding cscope
 
Hi,
I am not sure if this is the right place for this type of doubt.
Still, I will go ahead :)

I use cscope extensively.
I first create a source files path list by 'find . -name *.c > cscope.files'
Then I use cscope -i cscope.files
A cscope.out file gets created. However I do not know how to reuse that file for further invocations of cscope.
Hence everytime I have to use a "cscope -i cscope.files"
which takes a long time to build the symbol database.

Is there any way to use the cscope.out that was built the first time cscope.out was invoked?


Regds,
Subu

zeropash 02-22-2005 08:47 AM

if no files have been updated you can use cscope -d
if files have been updated use cscope This will update the cross references for files which have changed
if your cscope.out is in some other directory then use cscope -f pathToCscope.out

subu_s 02-25-2005 01:02 AM

Thanks Zeropash(I m sorry, I do not know your actual name)

Ur method helped

Regds,
Subu


All times are GMT -5. The time now is 02:53 PM.