作者chungren (把握当下)
看板LinuxDev
标题[问题] Malformed response to offset query, timeout
时间Wed Oct 28 13:35:59 2009
我参考:
http://blogimg.chinaunix.net/blog/upfile2/071121190416.pdf
想要在使用 kgdb ethernet 来除错
在patch过文件中的patch後,我进入核心选单选了如下:
[*] KGDB: kernel debugging with remote gdb
│ │
│ [*] KGDB: Console messages through gdb
│ │
│ │ Method for KGDB communication (KGDB: On ethernet - in kernel) --->
之後再把编好的System.map和bzImage拷贝到Target Machine(ip:192.168.12.10)
在开机核心参数後加上
[email protected]/,@192.168.12.20/
重开机後Target Machine 画面停在 Uncompressing Linux... Ok, booting the kernel
在host进入linux-2.6.18.8输入
#gdb ./vmlinuz
(gdb) target remote udp:192.168.12.10:6443
就出现
Remote debugging using udp:192.168.12.10:6443
Ignoring packet error, continuing...
Ignoring packet error, continuing...
Ignoring packet error, continuing...
Malformed response to offset query, timeout
请问是有哪边没设定好吗??请各位大哥给点意见 谢谢!!
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 220.128.252.130