- 论坛徽章:
- 0
|
今天按照一篇博客进行了kgdb的安装和调试,地址如下http://blog.csdn.net/jie12310/archive/2009/09/18/4564853.aspx
但出现了如下两个问题:
1.在cilent端进行vmlinux调试,设置命令时,出现如下错误:
linux-ebia:/usr/src/linux-2.6.26 # gdb vmlinux
GNU gdb (GDB; openSUSE 11.1) 6.8.50.20081120-cvs
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i586-suse-linux".
For bug reporting instructions, please see:
<http://bugs.opensuse.org/>...
(gdb) set remotebaud 115200
(gdb) target remote /tmp/com_1
/tmp/com_1: Inappropriate ioctl for device.
(gdb) target remote /dev/ttyS0
Remote debugging using /dev/ttyS0
Ignoring packet error, continuing...
warning: unrecognized item "timeout" in "qSupported" response
自己也按照帖子中的方法安装了socat,用替换后的串口出现如下错误/tmp/com_1: Inappropriate ioctl for device.
还麻烦 做过的高手指点 谢谢了 |
|