[PATCH 0/5] riscv: complement missing KGDB features and warning fixes

Vincent Chen vincent.chen at sifive.com
Tue Jun 23 01:36:33 EDT 2020


After comparing the KGDB port in 5.8-rc2 with my final KGDB port, I found
that some ports are missing, such as XML packet support and warning fixes.
This patch set is used to supplement missing ports.

Vincent Chen (5):
  kgdb: enable arch to support XML packet.
  riscv: enable the Kconfig prompt of STRICT_KERNEL_RWX
  riscv: Fix "no previous prototype" compile warning in kgdb.c file
  kgdb: Move the extern declaration kgdb_has_hit_break() to generic
    kgdb.h
  riscv: Avoid kgdb.h including gdb_xml.h to solve unused-const-variable
    warning

 arch/riscv/Kconfig               |  2 ++
 arch/riscv/include/asm/gdb_xml.h |  3 +--
 arch/riscv/include/asm/kgdb.h    |  5 +++--
 arch/riscv/kernel/kgdb.c         | 10 +++++-----
 include/linux/kgdb.h             | 12 ++++++++++++
 kernel/debug/gdbstub.c           | 13 +++++++++++++
 lib/Kconfig.kgdb                 |  5 +++++
 7 files changed, 41 insertions(+), 9 deletions(-)

-- 
2.7.4




More information about the linux-riscv mailing list