在单步执行中看显示屏的变化

s命令不可以看到模拟显示屏变化的效果,n指令可以看到动态效果

bochs与gdb联合调试

Wed Mar 29 22:53:11 2017

编译时./config的选项

time ./configure --prefix=/home/ice/onlyVir/zhengGangOS/ --enable-gdb-stub --enable-disasm --enable-iodebug --enable-x86-debugger --with-x --with-x11

然后make && make install

编译好后

带gdb选项的配置文件

启动gdb

$gdb bochs/kernel.bin

(gdb) tartet remote localhost:1234

run 不能用,continue可用,好像只有next和step指令可以用,简写的s和n不太好用