diff options
author | Pekka Enberg <penberg@kernel.org> | 2012-02-02 20:58:25 +0200 |
---|---|---|
committer | Pekka Enberg <penberg@kernel.org> | 2012-02-02 21:09:32 +0200 |
commit | f0dd64599e39228886523952e4cb27eff3879704 (patch) | |
tree | ac1ca20cb14ce611ba4ccfbabe18acc189b6fd42 | |
parent | 1ec17799a1e5d685682a12857beacca4a5f09fdd (diff) | |
download | jato-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.h | 4 |
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 |