aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/nat/loongarch-hw-point.h4
-rw-r--r--gdb/nat/loongarch-linux-hw-point.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/gdb/nat/loongarch-hw-point.h b/gdb/nat/loongarch-hw-point.h
index 3098752..3d3d2c1 100644
--- a/gdb/nat/loongarch-hw-point.h
+++ b/gdb/nat/loongarch-hw-point.h
@@ -33,8 +33,8 @@
Neither of these values may exceed the width of dr_changed_t
measured in bits. */
-#define LOONGARCH_HBP_MAX_NUM 8
-#define LOONGARCH_HWP_MAX_NUM 8
+#define LOONGARCH_HBP_MAX_NUM 14
+#define LOONGARCH_HWP_MAX_NUM 14
/* The maximum length of a memory region that can be watched by one
diff --git a/gdb/nat/loongarch-linux-hw-point.h b/gdb/nat/loongarch-linux-hw-point.h
index 3efc9a7..d8b8feb 100644
--- a/gdb/nat/loongarch-linux-hw-point.h
+++ b/gdb/nat/loongarch-linux-hw-point.h
@@ -32,7 +32,7 @@ struct loongarch_user_watch_state {
uint64_t mask;
uint32_t ctrl;
uint32_t pad;
- } dbg_regs[8];
+ } dbg_regs[14];
};