cscope 安装和使用
来源:互联网 发布:财务指标分析软件 编辑:程序博客网 时间:2024/05/01 20:23
1、安装cscope:
sudo apt-get install cscope
2、在工程目录project下运行:
find `pwd` -name *.h -o -name *.c -o -name *.cpp > cscope.filescscope -Rbqk -i cscope.files
生成cscope.files cscope.in.out cscope.out cscope.po.out
3、在工程目录下的任意目录内编辑任意文件vi file.c运行:
:cs add ..pathto../cscope.out
加载cscope数据库文件
4、
cscope 命令:add : 添加一个新的数据库 (Usage: add file|dir [pre-path] [flags])find : 查询一个模式 (Usage: find c|d|e|f|g|i|s|t name) c: Find functions calling this function d: Find functions called by this function e: Find this egrep pattern f: Find this file g: Find this definition i: Find files #including this file s: Find this C symbol t: Find this text stringhelp : 显示此信息 (Usage: help)kill : 结束一个连接 (Usage: kill #)reset: 重置所有连接 (Usage: reset)show : 显示连接 (Usage: show)
0 0
- cscope 安装和使用
- cscope 安装使用 指南
- cscope 安装与使用
- cscope安装与使用
- cscope & ctags安装使用
- 安装使用cscope
- cscope和Taglist安装
- cscope配置和使用
- cscope配置和使用
- Emacs cscope安装以及使用
- Vim/Cscope 安装及使用
- Ubuntu 安装 Cscope 和 Ctags
- CSCOPE 安装和使用方法总结
- Ubuntu 安装 cscope 和 ctags
- ctags和cscope的使用
- cscope和ctags的使用
- ctags,cscope安装及使用 详细
- linux下cscope的安装使用
- Android Service 服务(二)—— BroadcastReceiver .
- acm 电子钟
- android之Alarm
- C++多线程框架 (二)---------Mutex互斥和Sem信号量
- acm HNU Dwarf Tower
- cscope 安装和使用
- MySQL 中文设置
- 小儿出生
- ACM在线测评系统评测程序设计与python实现
- GCDAsyncSocket类库,IOS下TCP通讯使用心得
- Android常用代码
- 中国剩余定理
- HDUJ 1250 Hat's Fibonacci
- I/O上的等待事件 —— control file sequential read