This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
remote debug
- From: horseriver <horserivers at gmail dot com>
- To: gdb at sourceware dot org
- Date: Thu, 14 Feb 2013 03:52:15 +0800
- Subject: remote debug
hi:)
I am using bochs gdbstub to debug kernel with gdb side ,communicating with remote protocol.
I can not solve my problem ,described as below:
When paging switch is off,at the gdb side ,the data stream from address 0x100055 is :
0xeb 0x00 0xb8 0x5e 0x00 0x10 0xc0 0xff, these data are right!
But after switch the paging on , at the gdb side ,the data stream from address 0x100055 change to:
0xc0 0xc0 0xc0 0xc0 0xc0 0xc0 0xc0 0xc0 , these data are wrong.
I suspect this linear address is not right dealed with. Is this gdb's problem or the bochs's problem?
Is there advice here?
thanks!