瀏覽代碼

Move kernel/kgdb.c to kernel/debug/debug_core.c

Move kgdb.c in preparation to separate the gdbstub from the debug
core and exception handling.

CC: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Jason Wessel 16 年之前
父節點
當前提交
c433820971
共有 3 個文件被更改,包括 7 次插入1 次删除
  1. 1 1
      kernel/Makefile
  2. 6 0
      kernel/debug/Makefile
  3. 0 0
      kernel/debug/debug_core.c

+ 1 - 1
kernel/Makefile

@@ -75,7 +75,7 @@ obj-$(CONFIG_AUDITSYSCALL) += auditsc.o
 obj-$(CONFIG_GCOV_KERNEL) += gcov/
 obj-$(CONFIG_AUDIT_TREE) += audit_tree.o
 obj-$(CONFIG_KPROBES) += kprobes.o
-obj-$(CONFIG_KGDB) += kgdb.o
+obj-$(CONFIG_KGDB) += debug/
 obj-$(CONFIG_DETECT_SOFTLOCKUP) += softlockup.o
 obj-$(CONFIG_DETECT_HUNG_TASK) += hung_task.o
 obj-$(CONFIG_GENERIC_HARDIRQS) += irq/

+ 6 - 0
kernel/debug/Makefile

@@ -0,0 +1,6 @@
+#
+# Makefile for the linux kernel debugger
+#
+
+obj-$(CONFIG_KGDB) += debug_core.o
+

+ 0 - 0
kernel/kgdb.c → kernel/debug/debug_core.c