通过cscope看hotspot代码
来源:互联网 发布:7723java 编辑:程序博客网 时间:2024/06/08 03:47
Somebody may have difficulty in reading source code of hotspot. I give my practice here:
1. get src from clearcase
2. cd $HOTSPOT/Src/src/
3. generate cscope.files:
find . -path '/./os/hp-ux/*' /
-o -path '/./os_cpu/hp-ux_ia64/*' /
-o -path '/./cpu/ia64/*' /
-o -path '/./share/*' /
| grep '/.[ch]p/?p/?$' > cscope.files
4. generate cscope.out:
cscope -b -q -k
-b: tells Cscope to just build the database, and not launch the Cscope GUI
-q: causes an additional, 'inverted index' file to be created, which makes searches run much faster for large databases.
-k: sets Cscope's 'kernel' mode--it will not look in /usr/include for any header files that are #included in your source files (this is mainly useful when you are using Cscope with operating system and/or C library source code, as we are here).
5. vim -t main
Reference:
http://cscope.sourceforge.net/cscope_vim_tutorial.html
- 通过cscope看hotspot代码
- 使用vim看代码:cscope
- 使用vim看代码:cscope
- 使用vim看代码:cscope
- fedora 14 cscope 看C/C++代码
- 通过代码看内部,一点点~
- Windows + emacs+cscope看源代码
- vim+cscope阅读代码
- emacs cscope浏览代码
- 通过代码看MAVLink协议 (一)
- 通过代码看MAVLink协议 (二)
- 通过代码看MAVLink协议 (二)
- 通过代码看MAVLink协议 (一)
- cscope+ctags+vim阅读代码
- ctags和cscope阅读代码
- 如何cscope查看python代码
- python 代码里使用 cscope
- cscope 精准定位代码位置
- 网站登录记忆跳转实现的一种方法
- 路由协议 RFC3561
- Python中动态添加类的属性或成员函数
- Silverlight 2.0 Beta1 控件一览!
- 网络英文文献检索技巧
- 通过cscope看hotspot代码
- asp.net最简单的邮件自动发送
- c#2.0类和对象学习系列之输出参数
- 对遗留系统组织重构项目
- inster数组
- CGI教学:CGI常用环境变量
- 在cxGird中显示行编号
- ASP.NET应用程序设计的10大技巧
- Windows Server 2003的DFS(分布式文件系统)