Difference between revisions of "KGDB"
From ArmadeusWiki
(creation) |
|||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{Under_Construction}} | {{Under_Construction}} | ||
+ | |||
+ | ==Configuration== | ||
+ | <pre class="host"> | ||
+ | $ make linux-menuconfig | ||
+ | </pre> | ||
+ | |||
+ | <pre class="config"> | ||
+ | General setup ---> | ||
+ | [*] Prompt for development and/or incomplete code/drivers | ||
+ | ... | ||
+ | Kernel hacking ---> | ||
+ | ... | ||
+ | [*] Kernel debugging | ||
+ | ... | ||
+ | [*] Compile the kernel with debug info | ||
+ | [ ] Reduce debugging information | ||
+ | .... | ||
+ | [*] KGDB: kernel debugger ---> | ||
+ | --- KGDB: kernel debugger | ||
+ | <*> KGDB: use kgdb over the serial console | ||
+ | [ ] KGDB: internal test suite (NEW) | ||
+ | [ ] KGDB_KDB: include kdb frontend for kgdb (NEW) | ||
+ | </pre> | ||
==Links== | ==Links== | ||
− | * [http://www.unixgarden.com/index.php/ | + | * [[Magic SysRq Key]] |
+ | * [[GDB|GDB, for userspace debugging]] | ||
+ | * [http://www.unixgarden.com/index.php/gnu-linux-magazine-hs/debogage-du-noyau-linux-avec-kgdb Article KGDB dans Linux Mag] [[Image:FrenchFlag.png]] | ||
+ | * [http://www.unixgarden.com/index.php/gnu-linux-magazine/debogage-dans-l-espace-noyau-de-linux-avec-kgdb Article 2 KGDB dans Linux Mag] [[Image:FrenchFlag.png]] | ||
+ | |||
+ | [[Category:Debug]] |
Latest revision as of 11:56, 8 December 2011
Page under construction... Informations on this page are not guaranteed !!
Configuration
$ make linux-menuconfig
General setup ---> [*] Prompt for development and/or incomplete code/drivers ... Kernel hacking ---> ... [*] Kernel debugging ... [*] Compile the kernel with debug info [ ] Reduce debugging information .... [*] KGDB: kernel debugger ---> --- KGDB: kernel debugger <*> KGDB: use kgdb over the serial console [ ] KGDB: internal test suite (NEW) [ ] KGDB_KDB: include kdb frontend for kgdb (NEW)