summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorBenjamin Walsh <benjamin.walsh@windriver.com>2016-04-11 17:44:11 -0400
committerAnas Nashif <nashif@linux.intel.com>2016-04-16 05:29:22 +0000
commit270d602efd93b1ded69ec3525d63bca8381c44dd (patch)
treef31a3823b95ecfcd23bde892df6c016e704ed277 /misc
parent45d9689dc8b23df3902ade78545219d19c81769a (diff)
debug/x86: add runtime info needed by target debuggers
Introduce an x86 interrupt stack frame that contains more information than the non-debug one, namely the caller-saved GPRs, as well as an API to retrieve it. Able to handle nested interrupts stack frames. Change-Id: If182aaa2f34e4714b16ca65ff79da63b72d962f7 Signed-off-by: Benjamin Walsh <benjamin.walsh@windriver.com>
Diffstat (limited to 'misc')
-rw-r--r--misc/debug/Kconfig14
1 files changed, 14 insertions, 0 deletions
diff --git a/misc/debug/Kconfig b/misc/debug/Kconfig
index 3a01a939b..ed58bedc9 100644
--- a/misc/debug/Kconfig
+++ b/misc/debug/Kconfig
@@ -63,3 +63,17 @@ config MEM_SAFE_NUM_EXTRA_REGIONS
memory outside of the image's boundaries.
endmenu
+
+#
+# Generic Debugging Options
+#
+
+config DEBUG_INFO
+ bool "Enable system debugging information"
+ default n
+ depends on X86 && !X86_IAMCU
+ help
+ This option enables the addition of various information that can be used
+ by debuggers in debugging the system.
+
+ NOTE: Does not currently work with the x86 IAMCU ABI.