Chinaunix

标题: 安装gdbserver需要注意的问题 [打印本页]

作者: hsq863    时间: 2009-08-05 11:12
标题: 安装gdbserver需要注意的问题
有用的网页:
http://blog.csdn.net/yinkaizhong/archive/2009/06/17/4275855.aspx
http://blog.chinaunix.net/u2/60011/showart_1007943.html
http://www.52rd.com/blog/Detail_RD.Blog_farsight2009_20565.html
http://linux.chinaunix.net/bbs/archiver/?tid-1055732.html
1.出现错误no termcap library found
去下载一个 termcap-1.3.1 的包,安装
2.编译时注意./configure的内容。需要编译两次,第一次是PC端的arm-linux-gdbserver,这时配置时,host=i686-linux target=arm-linux.第二次编译板子上的gdb,这时配置时,host=arm-linux target=arm-linux.
3.运行时注意,这里需要注意的是板子上运行gdbserver还需要libthread_db库,若你自己板子上的文件系统内没有这个库的话需要从交叉编译器内拷一个过去。
               
               
               

本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u3/93262/showart_2018316.html




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2