[MIPS] Allow selection of KGDB only on platforms where it's supported.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
Ralf Baechle
2007-02-17 02:58:39 +00:00
parent 575d5e72aa
commit cc8010771d
2 changed files with 18 additions and 1 deletions

View File

@@ -39,7 +39,7 @@ config DEBUG_STACK_USAGE
config KGDB
bool "Remote GDB kernel debugging"
depends on DEBUG_KERNEL
depends on DEBUG_KERNEL && SYS_SUPPORTS_KGDB
select DEBUG_INFO
help
If you say Y here, it will be possible to remotely debug the MIPS
@@ -48,6 +48,9 @@ config KGDB
better 32 MB RAM to avoid excessive linking time. This is only
useful for kernel hackers. If unsure, say N.
config SYS_SUPPORTS_KGDB
bool
config GDB_CONSOLE
bool "Console output to GDB"
depends on KGDB