diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2020-07-11 19:22:46 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2020-07-11 19:22:46 -0700 |
commit | 9901a6bd157719f9f93186868c527c5ba5edf8e5 (patch) | |
tree | f424aaf90fba04b172ebba8d5459c8d80633b12a /lib | |
parent | 9599e9e7e3ee3a5afcdf00b05d4e86d256a98ae3 (diff) | |
parent | 70ee5731a40b1f07f151e52c3c4ed27d70d4f9fe (diff) | |
download | linux-9901a6bd157719f9f93186868c527c5ba5edf8e5.tar.gz linux-9901a6bd157719f9f93186868c527c5ba5edf8e5.tar.bz2 linux-9901a6bd157719f9f93186868c527c5ba5edf8e5.zip |
Merge tag 'riscv-for-linus-5.8-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux
Pull RISC-V fixes from Palmer Dabbelt:
"I have a few KGDB-related fixes. They're mostly fixes for build
warnings, but there's also:
- Support for the qSupported and qXfer packets, which are necessary
to pass around GDB XML information which we need for the RISC-V GDB
port to fully function.
- Users can now select STRICT_KERNEL_RWX instead of forcing it on"
* tag 'riscv-for-linus-5.8-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux:
riscv: Avoid kgdb.h including gdb_xml.h to solve unused-const-variable warning
kgdb: Move the extern declaration kgdb_has_hit_break() to generic kgdb.h
riscv: Fix "no previous prototype" compile warning in kgdb.c file
riscv: enable the Kconfig prompt of STRICT_KERNEL_RWX
kgdb: enable arch to support XML packet.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Kconfig.kgdb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/Kconfig.kgdb b/lib/Kconfig.kgdb index ffa7a76de086..256f2486f9bd 100644 --- a/lib/Kconfig.kgdb +++ b/lib/Kconfig.kgdb @@ -3,6 +3,11 @@ config HAVE_ARCH_KGDB bool +# set if architecture has the its kgdb_arch_handle_qxfer_pkt +# function to enable gdb stub to address XML packet sent from GDB. +config HAVE_ARCH_KGDB_QXFER_PKT + bool + menuconfig KGDB bool "KGDB: kernel debugger" depends on HAVE_ARCH_KGDB |