Prev: [PATCH 06/25] kgdb,blackfin: Add in kgdb_arch_set_pc for blackfin
Next: [PATCH 21/25] kgdboc,kdb: Allow kdb to work on a non open console port
From: Jason Wessel on 18 May 2010 21:50 Move kgdb.c in preparation to separate the gdbstub from the debug core and exception handling. CC: Ingo Molnar <mingo(a)elte.hu> Signed-off-by: Jason Wessel <jason.wessel(a)windriver.com> --- kernel/Makefile | 2 +- kernel/debug/Makefile | 6 ++++++ kernel/{kgdb.c => debug/debug_core.c} | 0 3 files changed, 7 insertions(+), 1 deletions(-) create mode 100644 kernel/debug/Makefile rename kernel/{kgdb.c => debug/debug_core.c} (100%) diff --git a/kernel/Makefile b/kernel/Makefile index a987aa1..80b17ce 100644 --- a/kernel/Makefile +++ b/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/ diff --git a/kernel/debug/Makefile b/kernel/debug/Makefile new file mode 100644 index 0000000..5d78504 --- /dev/null +++ b/kernel/debug/Makefile @@ -0,0 +1,6 @@ +# +# Makefile for the linux kernel debugger +# + +obj-$(CONFIG_KGDB) += debug_core.o + diff --git a/kernel/kgdb.c b/kernel/debug/debug_core.c similarity index 100% rename from kernel/kgdb.c rename to kernel/debug/debug_core.c -- 1.6.3.3 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ |