Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [PATCH v2 0/2] RISC-V hardware breakpoint/watchpoint support
@ 2026-04-09  2:45 Zane Leung
  2026-04-09  2:45 ` [PATCH v2 1/2] gdb: riscv: Add support for hardware breakpoints/watchpoints Zane Leung
  2026-04-09  2:45 ` [PATCH v2 2/2] gdbserver: " Zane Leung
  0 siblings, 2 replies; 4+ messages in thread
From: Zane Leung @ 2026-04-09  2:45 UTC (permalink / raw)
  To: gdb-patches; +Cc: zhuangqiubin

From: liangzhen <zhen.liang@spacemit.com>

This series implements hardware breakpoint and watchpoint support for RISC-V
architecture on Linux. It requires corresponding Linux kernel support.

Based on Himanshu's work:
https://lore.kernel.org/all/20260223044918.1359983-2-himanshu.chauhan@oss.qualcomm.com

Changes since v1:
- Fixed some code style.
- Add gdbserver support.

liangzhen (2):
  gdb: riscv: Add support for hardware breakpoints/watchpoints
  gdbserver: riscv: Add support for hardware breakpoints/watchpoints

 gdb/Makefile.in                |   3 +
 gdb/configure.nat              |   3 +-
 gdb/nat/riscv-hw-point.c       | 244 ++++++++++++++++++++++++
 gdb/nat/riscv-hw-point.h       |  89 +++++++++
 gdb/nat/riscv-linux-hw-point.c | 192 +++++++++++++++++++
 gdb/nat/riscv-linux-hw-point.h | 122 ++++++++++++
 gdb/nat/riscv-linux.c          |  82 ++++++++
 gdb/nat/riscv-linux.h          |  39 ++++
 gdb/riscv-linux-nat.c          | 333 +++++++++++++++++++++++++++++++++
 gdbserver/configure.srv        |   3 +
 gdbserver/linux-riscv-low.cc   | 239 +++++++++++++++++++++++
 include/elf/common.h           |   2 +
 12 files changed, 1350 insertions(+), 1 deletion(-)
 create mode 100644 gdb/nat/riscv-hw-point.c
 create mode 100644 gdb/nat/riscv-hw-point.h
 create mode 100644 gdb/nat/riscv-linux-hw-point.c
 create mode 100644 gdb/nat/riscv-linux-hw-point.h
 create mode 100644 gdb/nat/riscv-linux.c
 create mode 100644 gdb/nat/riscv-linux.h

-- 
2.34.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-04-09  4:49 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-04-09  2:45 [PATCH v2 0/2] RISC-V hardware breakpoint/watchpoint support Zane Leung
2026-04-09  2:45 ` [PATCH v2 1/2] gdb: riscv: Add support for hardware breakpoints/watchpoints Zane Leung
2026-04-09  2:45 ` [PATCH v2 2/2] gdbserver: " Zane Leung
2026-04-09  4:49   ` liangzhen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox