diff options
Diffstat (limited to 'arch/arm/Kconfig.debug')
-rw-r--r-- | arch/arm/Kconfig.debug | 23 |
1 files changed, 17 insertions, 6 deletions
diff --git a/arch/arm/Kconfig.debug b/arch/arm/Kconfig.debug index 192ee01a9ba2..a71fd941ade7 100644 --- a/arch/arm/Kconfig.debug +++ b/arch/arm/Kconfig.debug | |||
@@ -2,18 +2,29 @@ menu "Kernel hacking" | |||
2 | 2 | ||
3 | source "lib/Kconfig.debug" | 3 | source "lib/Kconfig.debug" |
4 | 4 | ||
5 | # RMK wants arm kernels compiled with frame pointers so hardwire this to y. | 5 | # RMK wants arm kernels compiled with frame pointers or stack unwinding. |
6 | # If you know what you are doing and are willing to live without stack | 6 | # If you know what you are doing and are willing to live without stack |
7 | # traces, you can get a slightly smaller kernel by setting this option to | 7 | # traces, you can get a slightly smaller kernel by setting this option to |
8 | # n, but then RMK will have to kill you ;). | 8 | # n, but then RMK will have to kill you ;). |
9 | config FRAME_POINTER | 9 | config FRAME_POINTER |
10 | bool | 10 | bool |
11 | default y | 11 | default y if !ARM_UNWIND |
12 | help | 12 | help |
13 | If you say N here, the resulting kernel will be slightly smaller and | 13 | If you say N here, the resulting kernel will be slightly smaller and |
14 | faster. However, when a problem occurs with the kernel, the | 14 | faster. However, if neither FRAME_POINTER nor ARM_UNWIND are enabled, |
15 | information that is reported is severely limited. Most people | 15 | when a problem occurs with the kernel, the information that is |
16 | should say Y here. | 16 | reported is severely limited. |
17 | |||
18 | config ARM_UNWIND | ||
19 | bool "Enable stack unwinding support" | ||
20 | depends on AEABI && EXPERIMENTAL | ||
21 | default y | ||
22 | help | ||
23 | This option enables stack unwinding support in the kernel | ||
24 | using the information automatically generated by the | ||
25 | compiler. The resulting kernel image is slightly bigger but | ||
26 | the performance is not affected. Currently, this feature | ||
27 | only works with EABI compilers. If unsure say Y. | ||
17 | 28 | ||
18 | config DEBUG_USER | 29 | config DEBUG_USER |
19 | bool "Verbose user fault messages" | 30 | bool "Verbose user fault messages" |
@@ -66,7 +77,7 @@ config DEBUG_ICEDCC | |||
66 | Say Y here if you want the debug print routines to direct their | 77 | Say Y here if you want the debug print routines to direct their |
67 | output to the EmbeddedICE macrocell's DCC channel using | 78 | output to the EmbeddedICE macrocell's DCC channel using |
68 | co-processor 14. This is known to work on the ARM9 style ICE | 79 | co-processor 14. This is known to work on the ARM9 style ICE |
69 | channel. | 80 | channel and on the XScale with the PEEDI. |
70 | 81 | ||
71 | It does include a timeout to ensure that the system does not | 82 | It does include a timeout to ensure that the system does not |
72 | totally freeze when there is nothing connected to read. | 83 | totally freeze when there is nothing connected to read. |