diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2007-02-16 21:58:39 -0500 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2007-02-19 20:26:41 -0500 |
commit | cc8010771d04af571eb16bee258d51dc8b620f7f (patch) | |
tree | 8cc223bb3389b24654632b800f792017960f0016 /arch/mips/Kconfig.debug | |
parent | 575d5e72aab57beb6d5fa2a7d66be9fc681a5e00 (diff) |
[MIPS] Allow selection of KGDB only on platforms where it's supported.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/Kconfig.debug')
-rw-r--r-- | arch/mips/Kconfig.debug | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/mips/Kconfig.debug b/arch/mips/Kconfig.debug index 9351f1c04a9d..d5e60a0c1ded 100644 --- a/arch/mips/Kconfig.debug +++ b/arch/mips/Kconfig.debug | |||
@@ -39,7 +39,7 @@ config DEBUG_STACK_USAGE | |||
39 | 39 | ||
40 | config KGDB | 40 | config KGDB |
41 | bool "Remote GDB kernel debugging" | 41 | bool "Remote GDB kernel debugging" |
42 | depends on DEBUG_KERNEL | 42 | depends on DEBUG_KERNEL && SYS_SUPPORTS_KGDB |
43 | select DEBUG_INFO | 43 | select DEBUG_INFO |
44 | help | 44 | help |
45 | If you say Y here, it will be possible to remotely debug the MIPS | 45 | If you say Y here, it will be possible to remotely debug the MIPS |
@@ -48,6 +48,9 @@ config KGDB | |||
48 | better 32 MB RAM to avoid excessive linking time. This is only | 48 | better 32 MB RAM to avoid excessive linking time. This is only |
49 | useful for kernel hackers. If unsure, say N. | 49 | useful for kernel hackers. If unsure, say N. |
50 | 50 | ||
51 | config SYS_SUPPORTS_KGDB | ||
52 | bool | ||
53 | |||
51 | config GDB_CONSOLE | 54 | config GDB_CONSOLE |
52 | bool "Console output to GDB" | 55 | bool "Console output to GDB" |
53 | depends on KGDB | 56 | depends on KGDB |