today

eclipse3.7.1 M20110909-1335



2:install RSE(remote terminal) + rse runtime + rse useraction
3:install cdt-master 8.0.2
#4:PTP all ptp-master-ptp-master-5.0.7-201203231413




http://fenger-chui.iteye.com/category/173111 Jnative使用深入解析


http://www.motherboardpoint.com/arm-elf-gdb-hello-and-cygwin-t89285.html
http://wiki.eclipse.org/CDT/User/FAQ
http://help.eclipse.org/indigo/index.jsp?topic=%2Forg.eclipse.cdt.doc.isv%2Fguide%2Fcdt_build_system%2Fwhats_new%2F4.0%2Fwhats_new_CBS_40.html


GDB-调试命令
http://wangcong.org/articles/learning-gdb.cn.html#GDB_COMMAND_LINE_ARGS
MI调试命令
http://www.360doc.com/content/12/0109/21/8093902_178388902.shtml
http://sourceware.org/gdb/onlinedocs/gdb/GDB_002fMI-Stack-Manipulation.html

AN-要求分析
BD-基本设计
FD-结构设计
DD-详细设计
CD -编码
UT-单体测试
CT-组件测试
TT-结合测试
IT-集成测试
ST-系统测试
UAT-验收测试
OP-发布
xiejunfeng
123
!@#
-vmargs
-Xms512m
-Xmx512m
-Xmn128m
-XX:PermSize=256m 
-XX:MaxPermSize=256m
-Xverify:none 
-XX:+DisableExplicitGC 
-Xnoclassgc 
-XX:+UseParNewGC 
-XX:+UseConcMarkSweepGC 
-XX:CMSInitiatingOccupancyFraction=85

http://sourceware.org/gdb/onlinedocs/gdb/Files-soyatec!@#.html

1-应用程序图标:(windows/linux)
大小
16x16 像素 当视图为 Detail 或 Small Icons 模式时,它用在程序窗口的左上角,Windows 任务栏、“开始”菜单及 Windows 资源管理器或“我的电脑”中。
32x32 像素 当视图为 Icon 视图模式时,它用于 Windows 桌面和 Windows 资源管理器。
48x48 像素 当视图为 Large Icons 模式时使用它。
色深
8 位(256 色) 中品质,用于显示 16 位或更高的色深。
32 位(带有 8 位透明通道的 24 位全色) 高品质
2-启动界面:
s-o-y-a-tec



-1: jtag371"polling target failed"

-2: 可能是平台zip包解压后缺少了releng项目




openocd -f interface/openjtag.cfg -f target/Hi3716CV1XX/Hi3716CV1XX
D:\runtime-com.hisilicon.cross.ide.product\reference\debugger\arm-hisiv200-gdb.exe -q -nw -i mi -l 1200

cd D:\test-runtime\reference\openocd
openocd -f interface/openjtag.cfg -f target/Hi3716MV300/Hi3716MV300
---------------------------------启动GDB---------------------------------
D:\test-runtime\reference\debugger\arm-hisiv200-gdb.exe -q -nw -i mi -l 1200
--------------------------------初始化配置gdb----------------------------


-gdb-set confirm off

-gdb-set width 0

-gdb-set height 0

-interpreter-exec console echo

-gdb-show prompt

-gdb-set new-console on
--------------------------------远程连接到OpenOCD-----------------------
target remote localhost:3333
--------------------------------显示进程的概要信息-----------------------
info proc
--------------------------------停住单板---------------------------------
monitor halt
------------------------显示程序状态的信息:程序是在运行还是停止--------------
info program
------------------------显示进程中所有的线程的概要信息------------------------
info threads
------------------------显示寄存器名字------------------------
-data-list-register-names
------------------------显示堆栈深度------------------------
-stack-info-depth
------------------------显示栈幀------------------------
-stack-list-frames 0 1
------------------------反汇编------------------------
-data-disassemble -s 0x1b8 -e 0x274 -- 1

-data-disassemble -s 0x1b8 -e 0x274 -- 0
------------------------单步执行跳过------------------------
-exec-next-instruction 1
------------------------读取内存------------------------
-data-read-memory 440 x 1 1 100
------------------------写内存------------------------
-data-write-memory 440 x 4 0xe3ee0012
-----------------------变量赋值------------------------
-var-assign var3 0x10064
-----------------------显示值有变化的寄存器列表------------------------
-data-list-changed-registers
-----------------------更新变量值(根据内存或者寄存器重新计算值)------------------------
-var-update var3
------------------------插入断点-------------------
-break-insert *444
------------------------恢复执行------------------
-exec-continue

猜你喜欢

转载自huayu00.iteye.com/blog/1554943