看板 LinuxDev 關於我們 聯絡資訊
我參考: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) 在開機核心參數後加上 kgdboe=@192.168.12.10/,@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