diff options
author | John Baldwin <jhb@FreeBSD.org> | 2022-04-09 00:25:14 +0000 |
---|---|---|
committer | John Baldwin <jhb@FreeBSD.org> | 2022-05-13 17:44:28 +0000 |
commit | 09f6d07bc99d46e7f1543fa94bb3af2e0c2aad5c (patch) | |
tree | 0a213e58faee3ae17f16288e9a029b3cf0d68906 | |
parent | 6aca4e6127e34b0994d3c945af8634fba3aaee40 (diff) | |
download | src-09f6d07bc99d46e7f1543fa94bb3af2e0c2aad5c.tar.gz src-09f6d07bc99d46e7f1543fa94bb3af2e0c2aad5c.zip |
Pass the computed enum of the correct type to dbg_setup_watchpoint.
The two sets of constants happen to have the same values, so this is
just a cosmetic fix.
(cherry picked from commit 533b6ecfdcae61a47740381193e050de91f1f430)
-rw-r--r-- | sys/arm/arm/debug_monitor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/arm/arm/debug_monitor.c b/sys/arm/arm/debug_monitor.c index b73249bedcf1..4fd8e73a053c 100644 --- a/sys/arm/arm/debug_monitor.c +++ b/sys/arm/arm/debug_monitor.c @@ -345,7 +345,7 @@ kdb_cpu_set_watchpoint(vm_offset_t addr, size_t size, int access) return (EINVAL); } - return (dbg_setup_watchpoint(addr, size, (enum dbg_access_t)access)); + return (dbg_setup_watchpoint(addr, size, dbg_access)); } int |