- 论坛徽章:
- 0
|
我的问题跟你一样,比你更糟糕!
[root@CoolB3 linux-2.6.27.6]# gdb vmlinux
GNU gdb Red Hat Linux (5.3post-0.20021129.18rh)
Copyright 2003 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 "i386-redhat-linux-gnu"...
(gdb)
(gdb)
(gdb) set remotebaud 115200
(gdb) target remote /dev/ttyS0
Remote debugging using /dev/ttyS0
0xc024a423 in ?? ()
warning: shared library handler failed to enable breakpoint
(gdb) bt
#0 0xc024a423 in ?? ()
#1 0xc024a461 in ?? ()
#2 0xc024aba8 in ?? ()
#3 0xc034613d in ?? ()
#4 0xc0634353 in ?? ()
#5 0xc020102a in ?? ()
#6 0xc061891d in ?? ()
(gdb) b storage_probe
Function "storage_probe" not defined.
(gdb) n
Cannot find bounds of current function
我是用的2.6.27.6内核,很奇怪.没有函数名字,而且不能设置断点...郁闷啊,找了篇文章好象是说我KGDB版本太旧,我是用红帽子9.0自带的,我升级到最新6.4好象也一样
不过可以设置断点了.
[ 本帖最后由 Aqie 于 2008-11-18 18:17 编辑 ] |
|