免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1473 | 回复: 0
打印 上一主题 下一主题

[高手指点] KGDB调试,无法正常显示symbol 的问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-02-14 10:32 |只看该作者 |倒序浏览
使用KGDBOE调试驱动,连接上target机后,设置断点能正常停下,但是bt看不到symbol,显示停在“sys_call_table () at include/linux/crypto.h:262”,有可能是什么原因啊?在load_module设置的断点,并且vmlinux是没有stripping的。望高手指点,先谢谢了。

log信息如下:

phil@phil2:~/WindRiver/workspace/wrlinux_prj/build/linux-2.6.14-small> gdb vmlinux
GNU gdb 6.4
Copyright 2005 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i586-suse-linux"...Using host libthread_db library "/lib/libthread_db.so.1".

(gdb) target remote udp:137.117.12.253:6443
warning: The remote protocol may be unreliable over UDP.
Some events may be lost, rendering further debugging impossible.
Remote debugging using udp:137.117.12.253:6443
0xc01daac0 in irq_stat ()
warning: shared library handler failed to enable breakpoint
(gdb) c
Continuing.
[New thread 32768]

Program received signal SIGTRAP, Trace/breakpoint trap.
0xc01daac0 in irq_stat ()
(gdb) bt
#0 0xc01daac0 in irq_stat ()
#1 0x00000001 in ?? ()
Previous frame inner to this frame (corrupt stack?)
(gdb) c
Continuing.

Program received signal SIGTRAP, Trace/breakpoint trap.
0xc01daac0 in irq_stat ()
(gdb) b load_module
Breakpoint 1 at 0xc004e4cc: file kernel/module.c, line 1543.
(gdb) c
Continuing.
[New thread 694]

Program received signal SIGTRAP, Trace/breakpoint trap.
[Switching to thread 694]
0xc001d248 in sys_call_table () at include/linux/crypto.h:262
262 {
……
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP