作者manchester77 (苦力)
看板LinuxDev
标题Re: [问题] 核心程式码
时间Tue Nov 28 21:51:53 2006
想请问大家如何去即时的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
1F:推 TroyLee:两台电脑用 null modem 11/28 22:32
2F:推 cole945:如果可以..就用module的方式吧@_@重载module就可以了~ 11/28 23:44
3F:推 cyu021:用模拟器吧, vmware, qemu都不错 11/29 01:05
4F:推 elpam:qemu直接支援gdb server哦加-s就开在port 1234 11/29 11:15