Page 2 of 2
Re:Bochs GDB stub
Posted: Wed Aug 17, 2005 1:05 am
by Kim
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
Posted: Wed Aug 17, 2005 12:05 pm
by Crazed123
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
Posted: Thu Aug 18, 2005 12:11 am
by AR
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.
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.
Re:Bochs GDB stub
Posted: Thu Aug 18, 2005 12:21 pm
by Crazed123
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.