Hi.. > The following patch is useful for whole-system mode debugging and breakpoint > setting on i386 QEMU. It seems like both breakpoints and memory examination > used semi-physical addresses, in that neither took account of segment > translation. This patch (relative to 0.9.1) adds segment translation. > > I'm not sure this is the right way to do it (in fact, I'm sure that the memory > examination patch is the WRONG way to do it) and would appreciate pointers or > advice.
I believe (IIRC) jasson wessel had fixed such problem about a year ago..but I agree that it seems qemu doesn't take segmentation into account (zero based segment start address, like most OS does these days I think). In this case, i think your patch does the right thing. regards, Mulyadi.