做 MIT 6.828 lab2 遇到的一个问题,求教!
- 0次
- 2021-06-23 14:53:42
- idczone
做 MIT 6.828 遇到的一个问题:
➜ lab git:(lab2) ✗ make qemu-nox-gdb
***
*** Now run 'make gdb'.
***
qemu-system-i386 -nographic -drive file=obj/kern/kernel.img,index=0,media=disk,format=raw -serial mon:stdio -gdb tcp::26000 -D qemu.log -S
6828 decimal is XXX octal!
Physical memory: 131072K available, base = 640K, extended = 130432K
check_page_free_list() succeeded!
check_page_alloc() succeeded!
6828 decimal is XXX octal!
Physical memory: 131072K available, base = 640K, extended = 130432K
check_page_free_list() succeeded!
check_page_alloc() succeeded!
6828 decimal is XXX octal!
Physical memory: 131072K available, base = 640K, extended = 130432K
check_page_free_list() succeeded!
check_page_alloc() succeeded!
6828 decimal is XXX octal!
Physical memory: 131072K available, base = 640K, extended = 130432K
check_page_free_list() succeeded!
check_page_alloc() succeeded!
6828 decimal is XXX octal!
Physical memory: 131072K available, base = 640K, extended = 130432K
check_page_free_list() succeeded!
check_page_alloc() succeeded!
6828 decimal is XXX octal!
我 gdb 定位到的问题是指令莫名其妙地执行到了以前地位置,所以反复答应之前的信息,不知道是不是我硬件地问题,不知道有没有同学遇到过相似地问题?我看了网上别人的答案,和我写得代码差不多,但是我这个问题就是很奇怪,好像别人也没有遇见过。。