Re: [問題] debugger
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
討論串 (同標題文章)
LinuxDev 近期熱門文章
PTT數位生活區 即時熱門文章