aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Newsome <tim@sifive.com>2022-04-27 12:41:13 -0700
committerTim Newsome <tim@sifive.com>2022-04-27 12:41:13 -0700
commite8b05455e21079d0e0698235bf4b85bda6023875 (patch)
treeb08c416e59f9b245538ef1e0666a80461256ba64
parentbd266161ca0d8b99adc72320b2e2427993763f8a (diff)
downloadriscv-openocd-e8b05455e21079d0e0698235bf4b85bda6023875.zip
riscv-openocd-e8b05455e21079d0e0698235bf4b85bda6023875.tar.gz
riscv-openocd-e8b05455e21079d0e0698235bf4b85bda6023875.tar.bz2
Make watchpoint.unique_id a uint32_t
Now it matches breakpoint.unique_id. Change-Id: I06f24b2cede2ee56bdeac8666b5235f923b18659
-rw-r--r--src/target/breakpoints.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/target/breakpoints.h b/src/target/breakpoints.h
index 0a59495..fc5b50b 100644
--- a/src/target/breakpoints.h
+++ b/src/target/breakpoints.h
@@ -56,7 +56,7 @@ struct watchpoint {
bool is_set;
unsigned int number;
struct watchpoint *next;
- int unique_id;
+ uint32_t unique_id;
};
void breakpoint_clear_target(struct target *target);