Search found 4 matches

by Areal Person
Sun Nov 22, 2009 1:45 am
Forum: English
Topic: Loading Kernel symbols in GBD
Replies: 3
Views: 4791

Re: Loading Kernel symbols in GBD

Ok, Now I just found this... "It's not possible at the moment. GDB does not understand the .fas format so you first need to convert the .fas file to DWARF, but no such converter exists. Tomasz has asked for help with format converters so if you feel you're up for the task you should give it a s...
by Areal Person
Sun Nov 22, 2009 12:46 am
Forum: English
Topic: Loading Kernel symbols in GBD
Replies: 3
Views: 4791

Re: Loading Kernel symbols in GBD

Ok, I've kinda figured it out, You must use FASM to create the symbol file by changing the fasm line in build.bat to this... "fasm -m 65536 kernel.asm bin\kernel.mnt -s kos.sym" where -s kos.sym is the name of the symbol file you want. However, when I try to load in in GDB like this... (gd...
by Areal Person
Sat Nov 21, 2009 8:22 pm
Forum: English
Topic: Loading Kernel symbols in GBD
Replies: 3
Views: 4791

Loading Kernel symbols in GBD

Hi, I'm new to all this stuff. I've set up QEMU to run KolibriOS, and GBD on Windows XP and I can connect the GBD debugger to QEMU using the "target remote :1234" command. But I don't know how to load the symbols for the Kernel. Can someone tell me what symbol file to use. I know the comma...
by Areal Person
Mon Nov 16, 2009 8:57 pm
Forum: English
Topic: Tracing the kernel code and debugging
Replies: 1
Views: 2630

Tracing the kernel code and debugging

Hi, I'm new to assembly language, I love this OS. It's really nice ! I'm using Windows Vista and QEMU. QUESTIONS (1) Could someone please tell me the first kernal function that is executed inside Kernel.asm at boot? I'm booting from floppy, It looks like boot_fat12.asm is loading the kernel, but I c...