• «
  • 1
  • 2
  • 3
  • »
  • Pages: 2/3     Go
主题 : 在mini2440上使用GDB远程调试 复制链接 | 浏览器收藏 | 打印
级别: 新手上路
UID: 10345
精华: 0
发帖: 12
金钱: 120 两
威望: 60 点
贡献值: 0 点
综合积分: 24 分
注册时间: 2009-11-01
最后登录: 2009-12-05
10楼  发表于: 2009-11-05 16:46

留个脚印
级别: 侠客
UID: 6350
精华: 2
发帖: 110
金钱: 895 两
威望: 486 点
贡献值: 2 点
综合积分: 260 分
注册时间: 2009-05-29
最后登录: 2016-10-11
11楼  发表于: 2009-11-07 00:21
good
级别: 新手上路
UID: 1428
精华: 0
发帖: 17
金钱: 110 两
威望: 33 点
贡献值: 0 点
综合积分: 34 分
注册时间: 2008-08-27
最后登录: 2011-03-31
12楼  发表于: 2009-11-21 12:15
这个帖子没问题??  大家照着做都通过了???
不会吧!!!    我从一开始看这个就觉得怎么没有指定交叉编译器  
默认的PC编译器编译出来的东西板子上可以跑??  
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
贡献值: 71 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
13楼  发表于: 2009-11-21 20:27

 回 12楼(caai) 的帖子

别人分享的是方法和概念,每个人的具体情况都不同,当然不能生搬硬套。如果你觉得哪里有问题,大可以提出来讨论。
"If you have an apple and I have an apple and we exchange apples, then you and I will
still each have one apple. But if you have an idea and I have an idea and we exchange
these ideas, then each of us will have two ideas."
级别: 新手上路
UID: 8568
精华: 0
发帖: 2
金钱: 15 两
威望: 6 点
贡献值: 0 点
综合积分: 4 分
注册时间: 2009-08-28
最后登录: 2017-09-13
14楼  发表于: 2009-12-14 17:48
正在找,谢谢
级别: 新手上路
UID: 4264
精华: 0
发帖: 43
金钱: 215 两
威望: 43 点
贡献值: 0 点
综合积分: 86 分
注册时间: 2009-03-07
最后登录: 2016-05-24
15楼  发表于: 2009-12-30 22:27
谢谢啦
级别: 新手上路
UID: 9151
精华: 0
发帖: 20
金钱: 150 两
威望: 57 点
贡献值: 0 点
综合积分: 40 分
注册时间: 2009-09-19
最后登录: 2013-10-10
16楼  发表于: 2009-12-31 23:43
多谢了!
级别: 新手上路
UID: 16649
精华: 0
发帖: 27
金钱: 145 两
威望: 29 点
贡献值: 0 点
综合积分: 54 分
注册时间: 2010-03-20
最后登录: 2016-05-24
17楼  发表于: 2010-04-20 07:45
gdbserver连接时为什么有这句话的出现
warning: Unable to find dynamic linker breakpoint function.
GDB will be unable to debug shared library initializers
and track explicitly loaded dynamic code.
然后一设置断点就会跳出来,有没有人能解决啊????
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
贡献值: 71 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
18楼  发表于: 2010-04-20 14:06
warning: Unable to find dynamic linker breakpoint function.
GDB will be unable to debug shared library initializers
and track explicitly loaded dynamic code.

这是可以接受的

然后一设置断点就会跳出来,有没有人能解决啊????

这个要看你是怎么做的,又是怎么跳出来的了
"If you have an apple and I have an apple and we exchange apples, then you and I will
still each have one apple. But if you have an idea and I have an idea and we exchange
these ideas, then each of us will have two ideas."
级别: 侠客
UID: 9105
精华: 0
发帖: 95
金钱: 755 两
威望: 307 点
贡献值: 0 点
综合积分: 190 分
注册时间: 2009-09-17
最后登录: 2017-09-13
19楼  发表于: 2010-09-22 13:53
我说一句 编译过程中可能出现
cc1: warnings being treated as errors
/root/tools/gdb-6.6/bfd/elf32-arm.c: In function 'find_thumb_glue':
/root/tools/gdb-6.6/bfd/elf32-arm.c:2452: error: ignoring return value of 'asprintf', declared with attribute warn_unused_result
/root/tools/gdb-6.6/bfd/elf32-arm.c: In function 'find_arm_glue':
/root/tools/gdb-6.6/bfd/elf32-arm.c:2485: error: ignoring return value of 'asprintf', declared with attribute warn_unused_result


这个由于返回值没有别接收 导致编译中断 太严了 呵呵

It's a good practice to make "-Werror" a default option of your program.

"-Werror" will make all warnings into errors. That means you cannot get you program compiled with even warnings.



bfd/Makefile:185:WARN_CFLAGS = -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror
opcodes/Makefile:175:WARN_CFLAGS = -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror
[ 此帖被hanfeng000在2010-09-22 13:59重新编辑 ]
  • «
  • 1
  • 2
  • 3
  • »
  • Pages: 2/3     Go