On 08/11/06, Marcel Kilgus <[EMAIL PROTECTED]> wrote:
> Correct. It doesn't know anything at all about i386 segmentation.
Well, that explains it then, I guess. In that case I don't really see
a clean solution for it.
If I understand the problem, the clean solution is having the
debugging symbols at the right addresses: in code that runs with
paging enabled symbols should be at their virtual addresses and the
other symbols at physical addresses. Since the period from start to
enabling paging is usually short, I think most kernels generate only
virtual addresses for the symbols. I don't remember the ld option to
move text-base to the right address but see Linux. GDB works perfectly
for it. It doesn't need to know about segmentation if your symbols are
correct.
--
balrog 2oo6
_______________________________________________
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel