aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPekka Enberg <penberg@kernel.org>2012-02-02 20:58:25 +0200
committerPekka Enberg <penberg@kernel.org>2012-02-02 21:09:32 +0200
commitf0dd64599e39228886523952e4cb27eff3879704 (patch)
treeac1ca20cb14ce611ba4ccfbabe18acc189b6fd42
parent1ec17799a1e5d685682a12857beacca4a5f09fdd (diff)
downloadjato-f0dd64599e39228886523952e4cb27eff3879704.tar.gz
x86: Enable GDB hooks on 32-bit
This patch enables the GDB hooks on 32-bit x86 as well. See Documentation/debugging.txt for details how to set breakpoints in JIT'd code. Signed-off-by: Pekka Enberg <penberg@kernel.org>
-rw-r--r--arch/x86/include/arch/config_32.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/x86/include/arch/config_32.h b/arch/x86/include/arch/config_32.h
index 720ef4c7..1b8d8685 100644
--- a/arch/x86/include/arch/config_32.h
+++ b/arch/x86/include/arch/config_32.h
@@ -1,3 +1,7 @@
#define CONFIG_X86_32 1
#define CONFIG_32_BIT 1
#define ARCH_NAME "i386"
+
+#ifdef CONFIG_DEBUG
+# define CONFIG_GDB 1
+#endif