作者n3oanderson (T. J.)
看板LinuxDev
标题Re: [问题] debugger
时间Fri May 2 07:21:14 2008
I assume you are going to debug kernel, for GNU/ Linux is not 'real mode'
only. User space programme runs in protected mode whereas kernel in real mode
( So far as I known). To debug kernel, there are several options you can
choose, including kprobe, kgdb and kdb. Each has their own advantage. You can
have a look it online.
※ 引述《SILee (打卡上班的日子)》之铭言:
: ※ [本文转录自 ASM 看板]
: 作者: SILee (打卡上班的日子) 看板: ASM
: 标题: [问题] debugger
: 时间: Thu Apr 10 22:38:57 2008
: 请问在Linux下有支援real mode program的x86 debugger或emulator吗?
: GDB似乎无法run real mode program
: 目前我都只能用VirtualBox看程式跑出来的结果对不对
: 但是没办法直接看到register和memory的值实在很麻烦
: thanks!!
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 87.194.42.127