【Linux开发】【Qt开发】arm-linux-gnueabihf-gdb versus gdb-multiarch
来源:互联网 发布:photoshop cc mac破解 编辑:程序博客网 时间:2024/06/02 04:49
主要是说,在Ubuntu14.04 64bit的操作系统上,配置Qt的gdb和gcc的时候,在Qt build&run选项中,debugger中选中arm-linux-gnuabihf-gdb出现了32bit不兼容的情况,于是无法远程调试debug,只能运行。后来在Stack Overflow中找到gdb-multiarch,字面上理解好像是支持多个架构!然后尝试用apt-get install gdb-multiarch,然后居然成功了,在/usr/bin/路径下有了gdb-multiarch,设置过后能够正常识别,然后在Qt中可以实现断点调试了。
arm-linux-gnueabihf-gdb versus gdb-multiarch
I'm trying to perform cross platform remote debugging from my x86 computer to a remote ARM device. (ex: Beagle Bone Black)
I'm using Ubuntu 14.04 and Eclipse CDT.
I installed the package gcc-arm-linux-gnueabihf but the gdb debugger is not in that package. (http://packages.ubuntu.com/precise/gcc-arm-linux-gnueabihf)
Therefore, I'm wondering if I should use the Linaro toolchain (which include arm-linux-gnueabihf-gdb) or if I should install the gdb-multiarch package.
What is the difference between gdb-multiarch and arm-linux-gnueabihf-gdb ? Is it better to use gdb-multiarch ?
I received an answer from the linaro mailing list:
For Ubuntu hosts from 12.04 onwards, gdb-multiarch is used as gdb client for debugging. As name indicates it is a common client to any architecture and not restricted to ARM.
Generally, all gdb clients are architecture independent because architecture specific part is handled in gdbserver itself. So, other than the name arm-linux-gnueabihf-gdb, I am guessing it is same as gdb-multiarch.
I received another answer from the linaro mailing list:
The Linaro gdb release will generally be more up to date than the Ubuntu one. For example our latest release is 7.8, and that is only available in utopic, not trusty so if you plan to use an Ubuntu LTS release it might be better to use the Linaro shipped gdb. Linaro gdb also contains fixes and improvements that aren't in the upstream stable branch. Historically Ubuntu has often picked these changes up too but that may not always be the case.
gdb-multiarch obviously supports a range of other architectures besides ARM, so if that is something that would be useful for you then it might make sense to use that.
- 【Linux开发】【Qt开发】arm-linux-gnueabihf-gdb versus gdb-multiarch
- 【Linux开发】【Qt开发】交叉编译器 arm-linux-gnueabi 和 arm-linux-gnueabihf 的区别
- 使用DDD+GDB开发ARM Linux程序
- 使用DDD+GDB开发ARM Linux程序
- 使用DDD+GDB开发ARM Linux程序
- 【Linux开发】arm-linux-gnueabihf-gcc下载
- Linux GDB开发
- 嵌入式开发远程调试arm-linux-gdb的移植
- 转载_使用DDD+GDB开发ARM Linux程序
- linux-arm gdb调试
- arm-linux-gdb安装
- 编译arm-linux-gdb
- arm-linux-gdb安装
- 编译arm-linux-gdb
- 安装arm-linux-gdb
- linux应用开发-gdb调试
- linux开发工具之gdb
- Linux开发工具之gdb
- 03 ImageView 图片
- poj1039 Pipe
- linux重启tomcat 小脚本
- 剑指Offer_46_孩子们的游戏(圆圈中最后剩下的数)
- 简单的轮播图代码
- 【Linux开发】【Qt开发】arm-linux-gnueabihf-gdb versus gdb-multiarch
- 链表—约瑟夫环
- Activiti工作流引擎使用
- Jakob Jenkov多线程系列一一Java Volatile Keyword
- tarjan+缩点
- C++STL之string
- HDU1599:find the mincost route
- Redis实战经验及使用场景
- 蓝桥杯试题“饮料换购”和“猜字母”用数学方法