summaryrefslogtreecommitdiffstats
path: root/arch/riscv/Kconfig
diff options
context:
space:
mode:
authorVincent Chen <vincent.chen@sifive.com>2020-04-16 04:38:05 +0200
committerPalmer Dabbelt <palmerdabbelt@google.com>2020-05-18 20:38:10 +0200
commitfe89bd2be8667d4d876329dd534dd59158e33b1f (patch)
tree10a9128ca4f1c4772ce114d88160b499f018a11a /arch/riscv/Kconfig
parentkgdb: Add kgdb_has_hit_break function (diff)
downloadlinux-fe89bd2be8667d4d876329dd534dd59158e33b1f.tar.xz
linux-fe89bd2be8667d4d876329dd534dd59158e33b1f.zip
riscv: Add KGDB support
The skeleton of RISC-V KGDB port. Signed-off-by: Vincent Chen <vincent.chen@sifive.com> Reviewed-by: Palmer Dabbelt <palmerdabbelt@google.com> Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
Diffstat (limited to 'arch/riscv/Kconfig')
-rw-r--r--arch/riscv/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig
index 539cd444df06..51ad2ab4219c 100644
--- a/arch/riscv/Kconfig
+++ b/arch/riscv/Kconfig
@@ -68,6 +68,7 @@ config RISCV
select ARCH_HAS_GCOV_PROFILE_ALL
select HAVE_COPY_THREAD_TLS
select HAVE_ARCH_KASAN if MMU && 64BIT
+ select HAVE_ARCH_KGDB
config ARCH_MMAP_RND_BITS_MIN
default 18 if 64BIT