summaryrefslogtreecommitdiff
path: root/arch/riscv/Kconfig
diff options
context:
space:
mode:
authorVincent Chen <vincent.chen@sifive.com>2020-04-16 10:38:05 +0800
committerPalmer Dabbelt <palmerdabbelt@google.com>2020-05-18 11:38:10 -0700
commitfe89bd2be8667d4d876329dd534dd59158e33b1f (patch)
tree10a9128ca4f1c4772ce114d88160b499f018a11a /arch/riscv/Kconfig
parentf83b04d36e52cc3d941120ec859374fcda36eb31 (diff)
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