Kconfig.debug 2.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. menu "Kernel hacking"
  2. source "lib/Kconfig.debug"
  3. config CROSSCOMPILE
  4. bool "Are you using a crosscompiler"
  5. help
  6. Say Y here if you are compiling the kernel on a different
  7. architecture than the one it is intended to run on. This is just a
  8. convenience option which will select the appropriate value for
  9. the CROSS_COMPILE make variable which otherwise has to be passed on
  10. the command line from mips-linux-, mipsel-linux-, mips64-linux- and
  11. mips64el-linux- as appropriate for a particular kernel configuration.
  12. You will have to pass the value for CROSS_COMPILE manually if the
  13. name prefix for your tools is different.
  14. config CMDLINE
  15. string "Default kernel command string"
  16. default ""
  17. help
  18. On some platforms, there is currently no way for the boot loader to
  19. pass arguments to the kernel. For these platforms, you can supply
  20. some command-line options at build time by entering them here. In
  21. other cases you can specify kernel args so that you don't have
  22. to set them up in board prom initialization routines.
  23. config DEBUG_STACK_USAGE
  24. bool "Enable stack utilization instrumentation"
  25. depends on DEBUG_KERNEL
  26. help
  27. Enables the display of the minimum amount of free stack which each
  28. task has ever had available in the sysrq-T and sysrq-P debug output.
  29. This option will slow down process creation somewhat.
  30. config 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. config GDB_CONSOLE
  41. bool "Console output to GDB"
  42. depends on KGDB
  43. help
  44. If you are using GDB for remote debugging over a serial port and
  45. would like kernel messages to be formatted into GDB $O packets so
  46. that GDB prints them as program output, say 'Y'.
  47. config SB1XXX_CORELIS
  48. bool "Corelis Debugger"
  49. depends on SIBYTE_SB1xxx_SOC
  50. select DEBUG_INFO
  51. help
  52. Select compile flags that produce code that can be processed by the
  53. Corelis mksym utility and UDB Emulator.
  54. config RUNTIME_DEBUG
  55. bool "Enable run-time debugging"
  56. depends on DEBUG_KERNEL
  57. help
  58. If you say Y here, some debugging macros will do run-time checking.
  59. If you say N here, those macros will mostly turn to no-ops. See
  60. include/asm-mips/debug.h for debuging macros.
  61. If unsure, say N.
  62. config MIPS_UNCACHED
  63. bool "Run uncached"
  64. depends on DEBUG_KERNEL && !SMP && !SGI_IP27
  65. help
  66. If you say Y here there kernel will disable all CPU caches. This will
  67. reduce the system's performance dramatically but can help finding
  68. otherwise hard to track bugs. It can also useful if you're doing
  69. hardware debugging with a logic analyzer and need to see all traffic
  70. on the bus.
  71. endmenu