728x90
* edit ~/.vimrc
--> set tags = tags,../tags,../../tags,../../../tags,../../../../tags
* tags
--> default tag file created by ctags
$ ctags -R /* make tags */
$ find . -name *.[ch] > list
$ cscope -i list /* make DB & invoke cscope */
$ cscope -d -p5
--> option d : do not update DB
--> option p5 : show 5 path components
ex모드 :tj 함수명 or 구조체명 (tj -> tags jump 약어)
:cs find {질의종류} {심벌}
ex) cs find s start_kernel
cscope 의 질의 종류
0 or s - > Find this C symbol
1 or g - > Find this definition
2 or d - > Find functions called by this function
3 or c - > Find functions calling this function
4 or t - > Find assignments to
6 or e - > Find this egrep pattern
7 or f - > Find this File
8 or i - > Find files #including this file
--> set tags = tags,../tags,../../tags,../../../tags,../../../../tags
* tags
--> default tag file created by ctags
$ ctags -R /* make tags */
$ find . -name *.[ch] > list
$ cscope -i list /* make DB & invoke cscope */
$ cscope -d -p5
--> option d : do not update DB
--> option p5 : show 5 path components
ex모드 :tj 함수명 or 구조체명 (tj -> tags jump 약어)
:cs find {질의종류} {심벌}
ex) cs find s start_kernel
cscope 의 질의 종류
0 or s - > Find this C symbol
1 or g - > Find this definition
2 or d - > Find functions called by this function
3 or c - > Find functions calling this function
4 or t - > Find assignments to
6 or e - > Find this egrep pattern
7 or f - > Find this File
8 or i - > Find files #including this file
728x90
'Research > Linux' 카테고리의 다른 글
Q: get_user() 함수와 put_user() 함수는 어떻게 사용합니까? (0) | 2005.08.26 |
---|---|
Linux, Clocks, and Time (0) | 2005.08.20 |
ftp root로 접속하기 (0) | 2005.08.20 |
TimeZone 변경하기 (0) | 2005.08.20 |
Syslog와 로그 파일들 (0) | 2005.08.10 |