kdb: core for kgdb back end (2 of 2)
This patch contains the hooks and instrumentation into kernel which live outside the kernel/debug directory, which the kdb core will call to run commands like lsmod, dmesg, bt etc... CC: linux-arch@vger.kernel.org Signed-off-by: Jason Wessel <jason.wessel@windriver.com> Signed-off-by: Martin Hicks <mort@sgi.com>
This commit is contained in:
@@ -62,6 +62,7 @@
|
||||
#include <linux/sched.h>
|
||||
#include <linux/signal.h>
|
||||
#include <linux/idr.h>
|
||||
#include <linux/kdb.h>
|
||||
#include <linux/ftrace.h>
|
||||
#include <linux/async.h>
|
||||
#include <linux/kmemcheck.h>
|
||||
@@ -675,6 +676,7 @@ asmlinkage void __init start_kernel(void)
|
||||
buffer_init();
|
||||
key_init();
|
||||
security_init();
|
||||
kdb_init(KDB_INIT_FULL);
|
||||
vfs_caches_init(totalram_pages);
|
||||
signals_init();
|
||||
/* rootfs populating might need page-writeback */
|
||||
|
Reference in New Issue
Block a user