aboutsummaryrefslogtreecommitdiff
path: root/sys/riscv/riscv
diff options
context:
space:
mode:
authorMitchell Horne <mhorne@FreeBSD.org>2021-03-08 15:27:19 +0000
committerMitchell Horne <mhorne@FreeBSD.org>2021-03-29 15:05:44 +0000
commit9d81dd5404b3ad7108059d7065814d56a722a96c (patch)
tree19229686a74488d8ae9f2a903743c3046301c42e /sys/riscv/riscv
parent5a2933d0bf9fb0018349b67a39fa85cbb3740779 (diff)
downloadsrc-9d81dd5404b3ad7108059d7065814d56a722a96c.tar.gz
src-9d81dd5404b3ad7108059d7065814d56a722a96c.zip
ddb: replace watchpoint set/clear functions
Use the new kdb variants. Print more specific error messages. Reviewed by: jhb, markj MFC after: 3 weeks Sponsored by: NetApp, Inc. Sponsored by: Klara, Inc. Differential Revision: https://reviews.freebsd.org/D29156
Diffstat (limited to 'sys/riscv/riscv')
-rw-r--r--sys/riscv/riscv/db_trace.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/sys/riscv/riscv/db_trace.c b/sys/riscv/riscv/db_trace.c
index b8421fa3aa7a..dbc2ba92bce3 100644
--- a/sys/riscv/riscv/db_trace.c
+++ b/sys/riscv/riscv/db_trace.c
@@ -58,20 +58,6 @@ db_md_list_watchpoints()
}
-int
-db_md_clr_watchpoint(db_expr_t addr, db_expr_t size)
-{
-
- return (0);
-}
-
-int
-db_md_set_watchpoint(db_expr_t addr, db_expr_t size)
-{
-
- return (0);
-}
-
static void
db_stack_trace_cmd(struct thread *td, struct unwind_state *frame)
{