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

Palmer Dabbelt palmer at dabbelt.com
Fri Jul 10 13:30:17 EDT 2020


On Mon, 22 Jun 2020 22:36:33 PDT (-0700), vincent.chen at sifive.com wrote:
> 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(-)

These are on fixes.  Thanks!



More information about the linux-riscv mailing list