Install Insight(GDB with nice GUI)
来源:互联网 发布:清除数据后照片还在吗 编辑:程序博客网 时间:2024/05/29 13:23
Install Insight(GDB with nice GUI)
Function: REMOTE DEBUG
Target: arm-linux-insight[pc] + gdbserver[board]
========================================================================
1.insight
> Install tk8.4 & export PATH
> Download insight-6.8 & uncompress
> cd insight-6.8
> vim tk/generic/tk.h [line563~line567:LASTEvent<->MappingNotify]
> vim tk/generic/tkBind.c [line586-line587:#ifdef GenericEvent
/* GenericEvent */ 0,
#endif]
> vim gdb/i386-linux-nat.c [add #include "i386-tdep.h"]
> ./configure --target=arm-linux --disable-werror
> make -j4
> sudo make install
2.gdbserver
> cd gdb/gdbserver
> ./configure --target=arm-linux --host=arm-linux
> make
> cp gdbserver /nfsroot [6410board rootfs]
========================================================================
Usage:
##############
> The configuration file .gdbtkinit(PATH:~/) contained a lot of usefull
infomations(hostname, port, baudrate, etc.) which can be modified.
> First Run gdbserver[board], then Run insight[pc].
Example:
Assume that app hello needs DEBUG. Do following steps:
board:
# ./gdbserver serverIP:port hello
pc:
$ cd /nfsroot
$ arm-linux-insight ./hello
> File->Target Setting
target: CHOOSE Remote/Tcp
Host name: boardIP
Port: 1000
> Run->Connect to target
------------
board info
------------
Remote debugging from host serverIP
> Debug step
> View->Console
-------------
(gdb) b main [set breakpoint]
-------------
>
-------------
(gdb) c [continue]
-------------
> Reset gdbserver and insight when DEBUG finished.
Function: REMOTE DEBUG
Target: arm-linux-insight[pc] + gdbserver[board]
========================================================================
1.insight
> Install tk8.4 & export PATH
> Download insight-6.8 & uncompress
> cd insight-6.8
> vim tk/generic/tk.h [line563~line567:LASTEvent<->MappingNotify]
> vim tk/generic/tkBind.c [line586-line587:#ifdef GenericEvent
/* GenericEvent */ 0,
#endif]
> vim gdb/i386-linux-nat.c [add #include "i386-tdep.h"]
> ./configure --target=arm-linux --disable-werror
> make -j4
> sudo make install
2.gdbserver
> cd gdb/gdbserver
> ./configure --target=arm-linux --host=arm-linux
> make
> cp gdbserver /nfsroot [6410board rootfs]
========================================================================
Usage:
##############
> The configuration file .gdbtkinit(PATH:~/) contained a lot of usefull
infomations(hostname, port, baudrate, etc.) which can be modified.
> First Run gdbserver[board], then Run insight[pc].
Example:
Assume that app hello needs DEBUG. Do following steps:
board:
# ./gdbserver serverIP:port hello
pc:
$ cd /nfsroot
$ arm-linux-insight ./hello
> File->Target Setting
target: CHOOSE Remote/Tcp
Host name: boardIP
Port: 1000
> Run->Connect to target
------------
board info
------------
Remote debugging from host serverIP
> Debug step
> View->Console
-------------
(gdb) b main [set breakpoint]
-------------
>
-------------
(gdb) c [continue]
-------------
> Reset gdbserver and insight when DEBUG finished.
#######################个人笔记,出处已遗忘#########################
- Install Insight(GDB with nice GUI)
- Soho Schubert: 调试工具Insight (GDB GUI)
- Android NDK debugging with Insight GDB
- 用insight(GDB的GUI端)调试时传入参数
- Install insight
- insight +gdb
- Ubuntu 8.04 Install insight
- 安装 gdb insight
- insight - gdb图形界面
- Popup menu with nice title
- gdb与可视化gdb工具insight
- 安装gdb insight(6.8.1)
- ubuntu10.x 安装gdb insight
- Install VIM and GDB
- apt-get install gdb
- Why "Nice Guys" Fail With Women
- Creating Nice Reports with wxWidgets ZIP API
- Making Fabric Play Nice with RubyMotion
- 23种设计模式(9):访问者模式
- CISCO ASA5100 操作
- Memcache学习笔记(4)- memcache运行状态监控
- 《阿勇java建站教程》1.7-方便快捷的编码工具
- 发现一个比较好的source editor软件
- Install Insight(GDB with nice GUI)
- 【Android 开发教程】发送Email
- 定时器、队列的逻辑。
- MFC定时器的应用
- 兼容所有主流浏览器的图片上传本地预览(IE\FIREFOX\CHROME)
- 访问者模式讨论篇:java的动态绑定与双分派
- 使用wireshark分析网络流量实例
- 详解java类的生命周期
- innosetup 64bit 和32 bit