Bochs GDB stub
Re:Bochs GDB stub
Why don't you enable paging and remove that GDT trick, setting the segments to a base of 0 and limit to 4gb.
Re:Bochs GDB stub
I'm going to, paging is the next thing to get done in my kernel. I just don't see why GDB shouldn't work with the segmentation.
Re:Bochs GDB stub
Very few compilers support segmentation, GCC isn't one of them and since GDB was intended for use with GCC, it wouldn't have been necessary to support it.Crazed123 wrote:I'm going to, paging is the next thing to get done in my kernel. I just don't see why GDB shouldn't work with the segmentation.
Re:Bochs GDB stub
So it does support paging? As far as I know the stub is in Bochs, so I don't see why the Bochs stub doesn't translate according to what Bochs knows is going on. Perhaps it has something to do with GDB's architecture.