i've already install grub in a floppy image, but i don't know how to debug my kernel?
i did search how to solve it but it didn't work.
does anyone help me?how did you debug your kernel?
im a newbie.

i know that.i use ubuntu now.bewing wrote:Are you going to be running the bochs on Linux, or on Windows?
First you need to "configure" the bochs download. Then you will need to compile it. Then you install it somewhere. Then you edit the .bochsrc file to tell it the name of your floppy image file. Then you run it, and it should pop up a couple of screens that show you a pretend computer booting your OS.
Is rebochs is able to boot WinXP for example ?Alternately, you can get my "rebochs" program. It does all the same things, but faster. You can get it at http://www.quokforge.org/projects/rebochs/files
It is much easier to set up than bochs.
vbe option is deprecated in latest svn tree and should not be used anymore.bewing wrote:I think the easiest thing to do is:
./configure --target=pentium \
--enable-all-optimizations \
--enable-cpu-level=6 \
--enable-disasm \
--enable-debugger \
--enable-debugger-gui \
--enable-pci \
--enable-vbe \
--disable-readline \
--with-x \
--enable-cpp
And then in the .bochsrc file, you say:
display_library: x, options="gui_debug"
Start reading manuals insteadj8long wrote:i add this line
display_library:x, options="gui_debug"
in bochsrc.but when i input bochs -f bochsrc
something is wrong with it.
Unknow x11 option "gui_debug"
what should i do?
im using ubuntu.stlw wrote:Start reading manuals insteadj8long wrote:i add this line
display_library:x, options="gui_debug"
in bochsrc.but when i input bochs -f bochsrc
something is wrong with it.
Unknow x11 option "gui_debug"
what should i do?
If you use win32, display_library:x is not a good option for you.
Stanislav
Make sure you use Bochs with GUI debugger. Latest releast is always a best good option.im using ubuntu.
i'll triy it out
it doesnt workstlw wrote:Make sure you use Bochs with GUI debugger. Latest releast is always a best good option.im using ubuntu.
i'll triy it out
Stanislav
it works now.Combuster wrote:"does not work" is never a valid description.
Code: Select all
./configure --enable-debugger --enable-disasm