| Age | Commit message (Collapse) | Author | Files | Lines | |
|---|---|---|---|---|---|
| 2012-03-20 | kdb: remove the second argument of k[un]map_atomic() | Cong Wang | 1 | -2/+2 | |
| Signed-off-by: Cong Wang <[email protected]> | |||||
| 2011-12-11 | kdb: Make KDB use the new is_idle_task() API | Paul E. McKenney | 1 | -1/+1 | |
| Change from direct comparison of ->pid with zero to is_idle_task(). Signed-off-by: Paul E. McKenney <[email protected]> Signed-off-by: Paul E. McKenney <[email protected]> Cc: Jason Wessel <[email protected]> Reviewed-by: Josh Triplett <[email protected]> | |||||
| 2011-03-31 | Fix common misspellings | Lucas De Marchi | 1 | -1/+1 | |
| Fixes generated by 'codespell' and manually reviewed. Signed-off-by: Lucas De Marchi <[email protected]> | |||||
| 2010-08-16 | kdb: fix compile error without CONFIG_KALLSYMS | Jason Wessel | 1 | -2/+2 | |
| If CONFIG_KGDB_KDB is set and CONFIG_KALLSYMS is not set the kernel will fail to build with the error: kernel/built-in.o: In function `kallsyms_symbol_next': kernel/debug/kdb/kdb_support.c:237: undefined reference to `kdb_walk_kallsyms' kernel/built-in.o: In function `kallsyms_symbol_complete': kernel/debug/kdb/kdb_support.c:193: undefined reference to `kdb_walk_kallsyms' The kdb_walk_kallsyms needs a #ifdef proper header to match the C implementation. This patch also fixes the compiler warnings in kdb_support.c when compiling without CONFIG_KALLSYMS set. The compiler warnings are a result of the kallsyms_lookup() macro not initializing the two of the pass by reference variables. Signed-off-by: Jason Wessel <[email protected]> Reported-by: Michal Simek <[email protected]> | |||||
| 2010-05-20 | kdb: core for kgdb back end (1 of 2) | Jason Wessel | 1 | -0/+927 | |
| This patch contains only the kdb core. Because the change set was large, it was split. The next patch in the series includes the instrumentation into the core kernel which are mainly helper functions for kdb. This work is directly derived from kdb v4.4 found at: ftp://oss.sgi.com/projects/kdb/download/v4.4/ The kdb internals have been re-organized to make them mostly platform independent and to connect everything to the debug core which is used by gdbstub (which has long been known as kgdb). The original version of kdb was 58,000 lines worth of changes to support x86. From that implementation only the kdb shell, and basic commands for memory access, runcontrol, lsmod, and dmesg where carried forward. This is a generic implementation which aims to cover all the current architectures using the kgdb core: ppc, arm, x86, mips, sparc, sh and blackfin. More archictectures can be added by implementing the architecture specific kgdb functions. [[email protected]: Compile fix with hugepages enabled] [[email protected]: Clean breakpoint code renaming kdba_ -> kdb_] [[email protected]: fix new line after printing registers] [[email protected]: Remove the concept of global vs. local breakpoints] [[email protected]: Rework kdb_si_swapinfo to use more generic name] [[email protected]: fix the information dump macros, remove 'arch' from the names] [[email protected]: include fixup to include linux/slab.h] CC: [email protected] Signed-off-by: Jason Wessel <[email protected]> Signed-off-by: Martin Hicks <[email protected]> | |||||