diff options
author | Chris Metcalf <cmetcalf@tilera.com> | 2013-08-28 19:53:17 -0400 |
---|---|---|
committer | Chris Metcalf <cmetcalf@tilera.com> | 2013-09-03 14:51:26 -0400 |
commit | 8157107b13099d6eb2e8ccd00b9aba009c698c38 (patch) | |
tree | 960e84859e05071a00a1e755b023dfbf3da939f0 /arch/tile/Kconfig | |
parent | b5c6c1a72afcc416c11ad932589054dcd3125782 (diff) | |
download | linux-8157107b13099d6eb2e8ccd00b9aba009c698c38.tar.gz linux-8157107b13099d6eb2e8ccd00b9aba009c698c38.tar.bz2 linux-8157107b13099d6eb2e8ccd00b9aba009c698c38.zip |
tilegx: support KGDB
Enter kernel debugger at boot with:
--hvd UART_1=1 --hvx kgdbwait --hvx kgdboc=ttyS1,115200
or at runtime with:
echo ttyS1,115200 > /sys/module/kgdboc/parameters/kgdboc
echo g > /proc/sysrq-trigger
Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
Diffstat (limited to 'arch/tile/Kconfig')
-rw-r--r-- | arch/tile/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/tile/Kconfig b/arch/tile/Kconfig index 616e2344ec6a..de599c14c4f2 100644 --- a/arch/tile/Kconfig +++ b/arch/tile/Kconfig @@ -127,6 +127,7 @@ config TILEGX select HAVE_FTRACE_MCOUNT_RECORD select HAVE_KPROBES select HAVE_KRETPROBES + select HAVE_ARCH_KGDB config TILEPRO def_bool !TILEGX |