]> err.no Git - linux-2.6/blobdiff - arch/sh/Kconfig.debug
sh: Fix up default zImage target for sh32.
[linux-2.6] / arch / sh / Kconfig.debug
index ab2f9f3c354c27df9c54081d641c9aa11b67353d..89bc174f25c7a11e42d8f139316e1d9335d39565 100644 (file)
@@ -62,7 +62,7 @@ config DEBUG_BOOTMEM
 
 config DEBUG_STACKOVERFLOW
        bool "Check for stack overflows"
-       depends on DEBUG_KERNEL
+       depends on DEBUG_KERNEL && SUPERH32
        help
          This option will cause messages to be printed if free stack space
          drops below a certain limit.
@@ -88,7 +88,7 @@ config 4KSTACKS
 
 config IRQSTACKS
        bool "Use separate kernel stacks when processing interrupts"
-       depends on DEBUG_KERNEL
+       depends on DEBUG_KERNEL && SUPERH32
        help
          If you say Y here the kernel will use separate kernel stacks
          for handling hard and soft interrupts.  This can help avoid
@@ -124,12 +124,13 @@ config KGDB_NMI
 
 config SH_KGDB_CONSOLE
        bool "Console messages through GDB"
-       depends on !SERIAL_SH_SCI_CONSOLE
+       depends on !SERIAL_SH_SCI_CONSOLE && SERIAL_SH_SCI=y
        select SERIAL_CORE_CONSOLE
        default n
 
 config KGDB_SYSRQ
        bool "Allow SysRq 'G' to enter KGDB"
+       depends on MAGIC_SYSRQ
        default y
 
 comment "Serial port setup"
@@ -173,4 +174,29 @@ endchoice
 
 endmenu
 
+if SUPERH64
+
+config SH64_PROC_ASIDS
+       bool "Debug: report ASIDs through /proc/asids"
+       depends on PROC_FS
+
+config SH64_SR_WATCH
+       bool "Debug: set SR.WATCH to enable hardware watchpoints and trace"
+
+config POOR_MANS_STRACE
+       bool "Debug: enable rudimentary strace facility"
+       help
+         This option allows system calls to be traced to the console.  It also
+         aids in detecting kernel stack underflow.  It is useful for debugging
+         early-userland problems (e.g. init incurring fatal exceptions.)
+
+config SH_ALPHANUMERIC
+       bool "Enable debug outputs to on-board alphanumeric display"
+       depends on SH_CAYMAN
+
+config SH_NO_BSS_INIT
+       bool "Avoid zeroing BSS (to speed-up startup on suitable platforms)"
+
+endif
+
 endmenu