summaryrefslogtreecommitdiffstats
path: root/kernel/debug/Makefile
diff options
context:
space:
mode:
authorJason Wessel2010-04-02 18:48:03 +0200
committerJason Wessel2010-05-21 04:04:19 +0200
commit53197fc49549240f6c6a963b2713a4cd9517964b (patch)
tree5a89c338ef8acd188e4aa1503370a4e928c33edd /kernel/debug/Makefile
parentMove kernel/kgdb.c to kernel/debug/debug_core.c (diff)
downloadkernel-qcow2-linux-53197fc49549240f6c6a963b2713a4cd9517964b.tar.gz
kernel-qcow2-linux-53197fc49549240f6c6a963b2713a4cd9517964b.tar.xz
kernel-qcow2-linux-53197fc49549240f6c6a963b2713a4cd9517964b.zip
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>
Diffstat (limited to 'kernel/debug/Makefile')
-rw-r--r--kernel/debug/Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/kernel/debug/Makefile b/kernel/debug/Makefile
index 5d7850415266..fd4dc6e7782c 100644
--- a/kernel/debug/Makefile
+++ b/kernel/debug/Makefile
@@ -2,5 +2,4 @@
# Makefile for the linux kernel debugger
#
-obj-$(CONFIG_KGDB) += debug_core.o
-
+obj-$(CONFIG_KGDB) += debug_core.o gdbstub.o