Wednesday, 7 March 2012

Debug Your Operating System(Eva Os)

tty2 screenshot

qemu -s -S -kernel /home/vishal/evaos/working/22/kernel -gdb tcp::50022 -vnc :0

(gdb) target remote
Remote debugging using
0x0000fff0 in ?? ()
(gdb) file /home/vishal/evaos/working/22/kernel
A program is being debugged already.
Are you sure you want to change the file? (y or n) y
Reading symbols from /home/vishal/evaos/working/22/kernel...(no debugging symbols found)...done.
(gdb) break eva
Note: breakpoint 1 also set at pc 0x100032.
Breakpoint 2 at 0x100032


So that's how you can debug your own operating system .I known it gets really frustrating if some error occur and you dont known its location or how to remove it .I hope this will help you out to get out of such situations.

//please feel free to comment //


Post a Comment