diff options
Diffstat (limited to 'arch/mips/Kconfig.debug')
-rw-r--r-- | arch/mips/Kconfig.debug | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/arch/mips/Kconfig.debug b/arch/mips/Kconfig.debug index 5d6afb52d904..d5e60a0c1ded 100644 --- a/arch/mips/Kconfig.debug +++ b/arch/mips/Kconfig.debug | |||
@@ -22,10 +22,10 @@ config CMDLINE | |||
22 | string "Default kernel command string" | 22 | string "Default kernel command string" |
23 | default "" | 23 | default "" |
24 | help | 24 | help |
25 | On some platforms, there is currently no way for the boot loader to | 25 | On some platforms, there is currently no way for the boot loader to |
26 | pass arguments to the kernel. For these platforms, you can supply | 26 | pass arguments to the kernel. For these platforms, you can supply |
27 | some command-line options at build time by entering them here. In | 27 | some command-line options at build time by entering them here. In |
28 | other cases you can specify kernel args so that you don't have | 28 | other cases you can specify kernel args so that you don't have |
29 | to set them up in board prom initialization routines. | 29 | to set them up in board prom initialization routines. |
30 | 30 | ||
31 | config DEBUG_STACK_USAGE | 31 | config DEBUG_STACK_USAGE |
@@ -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 |