dbx コマンドによるデバッグ

機械命令レベルでブレークポイントを設定する

機械命令レベルでブレークポイントを設定するには、stopi コマンドを使用します。 stopi 次の構文を使用して event_specification を受け入れます。


stopi event-specification [modifier]

一般的に使用される stopi コマンドの書式は次のとおりです。


stopi [at address] [if cond]
stopi in function [-if cond]

あるアドレスにブレークポイントを設定する

特定のアドレスにブレークポイントを設定するには、コマンドペインで次のように入力します。


(dbx) stopi at address

例 :


(dbx) nexti
stopped in hand::ungrasp at 0x12638
(dbx) stopi at &hand::ungrasp
(3) stopi at &hand::ungrasp
(dbx)