忍者ブログ
趣味+メモ用のブログです。 GNU/Linux関連、OSS関連情報、調査事項になるでしょうが、何を書くか分かりません。
[100] [99] [98] [97] [96] [95] [94] [93] [92] [91] [90]
×

[PR]上記の広告は3ヶ月以上新規記事投稿のないブログに表示されています。新しい記事を書く事で広告が消えます。

カーネルデバッグ用の設定をしてみました。


カーネルをmenuconfig 

<pre>
・Enable dynamic printk() support =y
 CONFIG_DYNAMIC_DEBUG:
 Symbol: DYNAMIC_DEBUG [=y]
 Type  : boolean
 Prompt: Enable dynamic printk() support
  Location:
   -> Kernel hacking
    -> printk and dmesg options

・Stack backtrace support =y
 CONFIG_STACKTRACE:
 Symbol: STACKTRACE [=y]
 Type  : boolean
 Prompt: Stack backtrace support
 Location:
  -> Kernel hacking  

・Compile the kernel with debug info =y
 CONFIG_DEBUG_INFO:
 Symbol: DEBUG_INFO [=y]
 Type  : boolean
 Prompt: Compile the kernel with debug info
 Location:
  -> Kernel hacking
   -> Compile-time checks and compiler options  
・KGDB: kernel debugger
 CONFIG_KGDB:
 Symbol: KGDB [=y]
 Type  : boolean
 Prompt: KGDB: kernel debugger
  Location:
   -> Kernel hacking 




・Export kernel pagetable layout to userspace via debugfs
 CONFIG_ARM_PTDUMP:
 Symbol: ARM_PTDUMP [=y]
 Type  : boolean
 Prompt: Export kernel pagetable layout to userspace via debugfs
 Location:
  -> Kernel hacking 

</pre>
※ 参考:ttps://sites.google.com/site/kandamotohiro/linux/kgdb


PR


忍者ブログ [PR]
カレンダー
04 2024/05 06
S M T W T F S
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31
フリーエリア
最新コメント
最新トラックバック
プロフィール
HN:
一乗寺 又兵衛
性別:
男性
職業:
コンパイル
趣味:
コンパイル
バーコード
ブログ内検索