Separate the gdbstub from the debug core
authorJason Wessel <jason.wessel@windriver.com>
Fri, 2 Apr 2010 16:48:03 +0000 (11:48 -0500)
committerJason Wessel <jason.wessel@windriver.com>
Fri, 21 May 2010 02:04:19 +0000 (21:04 -0500)
commit53197fc49549240f6c6a963b2713a4cd9517964b
tree5a89c338ef8acd188e4aa1503370a4e928c33edd
parentc433820971ffa854feda6adc17f5f24201354f11
Separate the gdbstub from the debug core

Split the former kernel/kgdb.c into debug_core.c which contains the
kernel debugger exception logic and to the gdbstub.c which contains
the logic for allowing gdb to talk to the debug core.

This also created a private include file called debug_core.h which
contains all the definitions to glue the debug_core to any other
debugger connections.

CC: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
include/linux/kgdb.h
kernel/debug/Makefile
kernel/debug/debug_core.c
kernel/debug/debug_core.h [new file with mode: 0644]
kernel/debug/gdbstub.c [new file with mode: 0644]