elf - dwarf

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
User avatar
mcheung63
Member
Member
Posts: 175
Joined: Thu Jun 22, 2006 8:33 am
Location: Hong Kong
Contact:

elf - dwarf

Post by mcheung63 »

hi all
i want to add the "c level" single step trace for my peter-bochs , which is a bochs gui interface. Because bochs never know where we load the elf in memory, so I will add a button in my debugger. When you press it, it will ask you the memory address of the elf you have loaded to, and then it will ask you where is your elf file on host. Finally, when you catch the breakpoint in that address, you are able to single step trace your c source.
Is it helpful enough for os developer?
thanks
from Peter ([email protected])
User avatar
Owen
Member
Member
Posts: 1700
Joined: Fri Jun 13, 2008 3:21 pm
Location: Cambridge, United Kingdom
Contact:

Re: elf - dwarf

Post by Owen »

Perhaps - though GDB can be connected to both Bochs and QEMU
User avatar
mcheung63
Member
Member
Posts: 175
Joined: Thu Jun 22, 2006 8:33 am
Location: Hong Kong
Contact:

Re: elf - dwarf

Post by mcheung63 »

yes, but we need to compile our kernel in multiboot format. Is it call "multiboot format? I forget it.
Post Reply