看板 LinuxDev 關於我們 聯絡資訊
想請問大家如何去即時的Run Time Debug,如何去用GDB去 Debug, 該不會每次編譯完核心都要重開機吧!! 是不是有比較好的方式去開發Linux核心? ※ 引述《egglet (拒收作業)》之銘言: : ※ 引述《cole945 (躂躂..)》之銘言ꄊ: : 文件的部份, : : 推 O'Reilly 的 Understaning the Linux Kernel : : 目前出了三版,分別對映到kernel 2.2、2.4、2.6, : : (自己玩的話,我會推玩新版本的, : : 一些有的沒的helper(像linked-list操作)比較多,寫出來比較輕鬆方便, : : 而且這些helper放得進kernel,應該不會有什麼嚴重的bug。) : : 這本主要是講大方向。 : : 細節的部份,是推看 O'Reilly 的 Linux Device Drivers, : : 像是會提到怎麼理處 PCI device、USB device、network device等等。 : : 如果是研究網網部份,還有另外兩本 : : Prentice Hall 的 The Linux Networking Architecture : : O'Reilly 的 Understanding Linux Network Internals : 我是因為工作關係,最近必需要去看 kernel source的東西 : 不過我是應屆畢業,工作剛滿一個月的菜鳥,所以也處於學習的階段 : 因此我推薦另一本入門書=>Linux Kernel Development,Robert Love : 我覺得比 Understaning the Linux Kernel這本還入門,也比較容易看下去 : 在 Understaning the Linux Kernel這本書後面,有建議可以先看這本 : 然後再去閱讀 Understaning the Linux Kernel這本書 : 而我自己是兩本一起配合著看,同時也要看原始碼 : 而我推薦的這本原文書,英文句子寫的都不難,很容易閱讀 : 但唯一的缺點是所介紹的核心版本沒有Understaning the Linux Kernel來的新 : 雖然每個人的閱讀經驗和資訊處理模式會不相同,但還是提供給各位參考^^.. -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 210.58.162.111
TroyLee:兩台電腦用 null modem 11/28 22:32
cole945:如果可以..就用module的方式吧@_@重載module就可以了~ 11/28 23:44
cyu021:用模擬器吧, vmware, qemu都不錯 11/29 01:05
elpam:qemu直接支援gdb server哦加-s就開在port 1234 11/29 11:15