diff options
Diffstat (limited to 'arch/mn10300/Kconfig.debug')
| -rw-r--r-- | arch/mn10300/Kconfig.debug | 21 | 
1 files changed, 16 insertions, 5 deletions
diff --git a/arch/mn10300/Kconfig.debug b/arch/mn10300/Kconfig.debug index ce83c74b3fd..94efb3ed223 100644 --- a/arch/mn10300/Kconfig.debug +++ b/arch/mn10300/Kconfig.debug @@ -2,10 +2,6 @@ menu "Kernel hacking"  source "lib/Kconfig.debug" -config DEBUG_STACKOVERFLOW -	bool "Check for stack overflows" -	depends on DEBUG_KERNEL -  config DEBUG_DECOMPRESS_KERNEL  	bool "Using serial port during decompressing kernel"  	depends on DEBUG_KERNEL @@ -36,7 +32,7 @@ config KPROBES  config GDBSTUB  	bool "Remote GDB kernel debugging" -	depends on DEBUG_KERNEL +	depends on DEBUG_KERNEL && DEPRECATED  	select DEBUG_INFO  	select FRAME_POINTER  	help @@ -46,6 +42,9 @@ config GDBSTUB  	  RAM to avoid excessive linking time. This is only useful for kernel  	  hackers. If unsure, say N. +	  This is deprecated in favour of KGDB and will be removed in a later +	  version. +  config GDBSTUB_IMMEDIATE  	bool "Break into GDB stub immediately"  	depends on GDBSTUB @@ -54,6 +53,14 @@ config GDBSTUB_IMMEDIATE  	  possible, leaving the program counter at the beginning of  	  start_kernel() in init/main.c. +config GDBSTUB_ALLOW_SINGLE_STEP +	bool "Allow software single-stepping in GDB stub" +	depends on GDBSTUB && !SMP && !PREEMPT +	help +	  Allow GDB stub to perform software single-stepping through the +	  kernel.  This doesn't work very well on SMP or preemptible kernels as +	  it uses temporary breakpoints to emulate single-stepping. +  config GDB_CONSOLE  	bool "Console output to GDB"  	depends on GDBSTUB @@ -142,3 +149,7 @@ config GDBSTUB_ON_TTYSx  	default y  endmenu + +config KERNEL_DEBUGGER +	def_bool y +	depends on GDBSTUB || KGDB  | 
