xref: /linux/arch/mips/Kconfig.debug (revision 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2)
1menu "Kernel hacking"
2
3source "lib/Kconfig.debug"
4
5config CROSSCOMPILE
6	bool "Are you using a crosscompiler"
7	help
8	  Say Y here if you are compiling the kernel on a different
9	  architecture than the one it is intended to run on.
10
11config CMDLINE
12	string "Default kernel command string"
13	default ""
14	help
15          On some platforms, there is currently no way for the boot loader to
16          pass arguments to the kernel. For these platforms, you can supply
17          some command-line options at build time by entering them here.  In
18          other cases you can specify kernel args so that you don't have
19	  to set them up in board prom initialization routines.
20
21config DEBUG_STACK_USAGE
22	bool "Enable stack utilization instrumentation"
23	depends on DEBUG_KERNEL
24	help
25	  Enables the display of the minimum amount of free stack which each
26	  task has ever had available in the sysrq-T and sysrq-P debug output.
27
28	  This option will slow down process creation somewhat.
29
30config KGDB
31	bool "Remote GDB kernel debugging"
32	depends on DEBUG_KERNEL
33	select DEBUG_INFO
34	help
35	  If you say Y here, it will be possible to remotely debug the MIPS
36	  kernel using gdb. This enlarges your kernel image disk size by
37	  several megabytes and requires a machine with more than 16 MB,
38	  better 32 MB RAM to avoid excessive linking time. This is only
39	  useful for kernel hackers. If unsure, say N.
40
41config GDB_CONSOLE
42	bool "Console output to GDB"
43	depends on KGDB
44	help
45	  If you are using GDB for remote debugging over a serial port and
46	  would like kernel messages to be formatted into GDB $O packets so
47	  that GDB prints them as program output, say 'Y'.
48
49config SB1XXX_CORELIS
50	bool "Corelis Debugger"
51	depends on SIBYTE_SB1xxx_SOC
52	select DEBUG_INFO
53	help
54	  Select compile flags that produce code that can be processed by the
55	  Corelis mksym utility and UDB Emulator.
56
57config RUNTIME_DEBUG
58	bool "Enable run-time debugging"
59	depends on DEBUG_KERNEL
60	help
61	  If you say Y here, some debugging macros will do run-time checking.
62	  If you say N here, those macros will mostly turn to no-ops.  See
63	  include/asm-mips/debug.h for debuging macros.
64	  If unsure, say N.
65
66config MIPS_UNCACHED
67	bool "Run uncached"
68	depends on DEBUG_KERNEL && !SMP && !SGI_IP27
69	help
70	  If you say Y here there kernel will disable all CPU caches.  This will
71	  reduce the system's performance dramatically but can help finding
72	  otherwise hard to track bugs.  It can also useful if you're doing
73	  hardware debugging with a logic analyzer and need to see all traffic
74	  on the bus.
75
76endmenu
77