Search found 11 matches

by plato
Tue Sep 03, 2013 4:35 pm
Forum: Development Help
Topic: Re: Why dont debug it in GDB+QEMU
Replies: 2
Views: 7240

Re: Why dont debug it in GDB+QEMU

I set GDB in config.cmake to "true". after compiled, i load ntoskrnl.exe into gdb, but find it has not any debug symbols, why?

thanks!
by plato
Mon Sep 02, 2013 11:21 am
Forum: Development Help
Topic: Re: Why dont debug it in GDB+QEMU
Replies: 2
Views: 7240

Re: Why dont debug it in GDB+QEMU

0.3.15 dont debug with GDB+QEMU, how to debug it in GDB+QEMU?

thanks!
by plato
Tue Jul 21, 2009 2:03 pm
Forum: Chinese
Topic: 关于 boot 代码的几个疑点?
Replies: 8
Views: 47338

Re: 关于 boot 代码的几个疑点?

你的意思还要翻译成中文吗?

好的,我的意思是,我可以修改代码不做获取CD-ROM 驱动的参数和状态,但任然能够从光驱引导并安装,这段代码可以删除掉吗?
by plato
Tue Jul 21, 2009 7:29 am
Forum: Chinese
Topic: 关于 boot 代码的几个疑点?
Replies: 8
Views: 47338

Re: 关于 boot 代码的几个疑点?

I can skip the GET DRIVE PARAMETERS and GET STATUS, and I success boot and do the install from CD-ROM.So these codes can be removed realy?

thanks!
by plato
Mon Jul 20, 2009 2:54 pm
Forum: Chinese
Topic: 操作系统开发需要学些什么
Replies: 8
Views: 53283

Re: 操作系统开发需要学些什么

by return on 13 Jul 2009 14:29 要学习操作系统开发你可以看看毛德操的以ReactOS源代码来分析的《windows内核情景分析上,下册》,全书1500多页。其分析之精辟功力之深厚让我爱不释手,推荐你看看。还有一本中科院一高手翻译的《深入理解操作系统》,相信你读了以上资料会对你有帮助。不过很可惜内核分析一文没有E文版的,所以华人们有福了。另外楼上那位台湾省的朋友说的大陆教育制度的问题,个人认为的确有很多不另人满意的问题,但是它的确造就了很多人才,而且他们现在研究的课题和项目甚至是除美国以外没有哪个国家有能力研究的,包括软件大国印度(开发的再好核心技术也不是自己的)。...
by plato
Mon Jul 20, 2009 2:22 pm
Forum: Chinese
Topic: 关于 boot 代码的几个疑点?
Replies: 8
Views: 47338

关于 boot 代码的几个疑点?

(Translation done by Lone_Rifle) 最近刚刚研读boot部分代码,发现有几个疑点: (I've recently read through the boot part of the source, and have a few uncertainties:) 1. isobtrt.asm 这个文件的代码拿来干啥? (What is isobtrt for?) 我知道isoboot.asm 是引导光盘代码,fat32.asm 是硬盘引导区代码,dosmbr.asm 是mbr代码。但不知道isobtrt.asm他的作用。 2. isoboot.asm 的代码是否有冗...
by plato
Mon Jul 20, 2009 1:58 pm
Forum: Chinese
Topic: 中国人参与开发的人员太少,呼吁有兴趣的朋友参加开发工作
Replies: 18
Views: 83210

Re: 中国人参与开发的人员太少,呼吁有兴趣的朋友参加开发工作

plato wrote: 正在学习源码,希望有机会做点贡献 如果需要指导的话,请你上IRC跟我们有约。你可以在我们的Bugzilla寄你的patches, 但由于我们大部分的开发人员都讲英语,因此当你寄你的贡献时需要用英语。希望我们不久会收到你的贡献! If you need guidance feel free to find us on IRC, details found above. Please post your patches to Bugzilla; since most of the developers speak English, patch reports should...
by plato
Tue Jul 14, 2009 5:25 pm
Forum: Development Help
Topic: Why dont debug it in GDB+QEMU
Replies: 6
Views: 10117

Re: Why dont debug it in GDB+QENU

thanks hto for your help,

are we only debug boot code in bochs? I try it in GDB, buf find the assemble code is different as the origin.I guess GDB is 32bit protect mode, so the translate is wrong.
by plato
Mon Jul 13, 2009 3:19 pm
Forum: Development Help
Topic: Why dont debug it in GDB+QEMU
Replies: 6
Views: 10117

Re: Why dont debug it in GDB+QENU

I know why I can't list the source, I should add the source file,for example:
list mminit.c:20

then, it will brower this source code.

thank lone_rifle and hto for your help!

but i have another question, how i can debug this module(boot/freeldr), gdb dont loand it!
by plato
Sun Jul 12, 2009 1:38 am
Forum: Development Help
Topic: Why dont debug it in GDB+QEMU
Replies: 6
Views: 10117

Why dont debug it in GDB+QEMU

I create config.rbuild from config.template.rbuild and change it so that: <property name="KDBG" value="0" /> <property name="DBG" value="1" /> <property name="GDB" value="1" /> and I builder it with command line: make ROS_BUILDNOSTRIP=yes w...