Debugging an Operating System

前端 未结 6 624
刺人心
刺人心 2021-01-30 22:46

I was going through some general stuff about operating systems and struck on a question. How will a developer debug when developing an operating system i.e. debug the OS itself?

6条回答
  •  孤街浪徒
    2021-01-30 23:17

    You can use a VM: eg. debug ring0 code with bochs/gdb or Debugging NetBSD kernel with qemu

    or a serial line with something like KDB.

提交回复
热议问题