diff options
author | zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-06-18 07:09:35 +0000 |
---|---|---|
committer | zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-06-18 07:09:35 +0000 |
commit | 3c2eabd20f5182c53f0bfb0c6f2a9f2595434e87 (patch) | |
tree | 0da04be2583bc38b8771216eef38d0d0b1fb3ac9 /src/target/breakpoints.c | |
parent | db7e77237c5a8104b527aeb23a2546b4bab92d8a (diff) | |
download | riscv-openocd-3c2eabd20f5182c53f0bfb0c6f2a9f2595434e87.zip riscv-openocd-3c2eabd20f5182c53f0bfb0c6f2a9f2595434e87.tar.gz riscv-openocd-3c2eabd20f5182c53f0bfb0c6f2a9f2595434e87.tar.bz2 |
Transform 'u32' to 'uint32_t' in src/target
- Replace '\([^_]\)u32' with '\1uint32_t'.
- Replace '^u32' with 'uint32_t'.
git-svn-id: svn://svn.berlios.de/openocd/trunk@2279 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/target/breakpoints.c')
-rw-r--r-- | src/target/breakpoints.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/target/breakpoints.c b/src/target/breakpoints.c index 55524a7..07fcb3a 100644 --- a/src/target/breakpoints.c +++ b/src/target/breakpoints.c @@ -39,7 +39,7 @@ static char *watchpoint_rw_strings[] = "access" }; -int breakpoint_add(target_t *target, u32 address, u32 length, enum breakpoint_type type) +int breakpoint_add(target_t *target, uint32_t address, uint32_t length, enum breakpoint_type type) { breakpoint_t *breakpoint = target->breakpoints; breakpoint_t **breakpoint_p = &target->breakpoints; @@ -115,7 +115,7 @@ static void breakpoint_free(target_t *target, breakpoint_t *breakpoint_remove) free(breakpoint); } -void breakpoint_remove(target_t *target, u32 address) +void breakpoint_remove(target_t *target, uint32_t address) { breakpoint_t *breakpoint = target->breakpoints; breakpoint_t **breakpoint_p = &target->breakpoints; @@ -147,7 +147,7 @@ void breakpoint_clear_target(target_t *target) } } -breakpoint_t* breakpoint_find(target_t *target, u32 address) +breakpoint_t* breakpoint_find(target_t *target, uint32_t address) { breakpoint_t *breakpoint = target->breakpoints; @@ -161,7 +161,7 @@ breakpoint_t* breakpoint_find(target_t *target, u32 address) return NULL; } -int watchpoint_add(target_t *target, u32 address, u32 length, enum watchpoint_rw rw, u32 value, u32 mask) +int watchpoint_add(target_t *target, uint32_t address, uint32_t length, enum watchpoint_rw rw, uint32_t value, uint32_t mask) { watchpoint_t *watchpoint = target->watchpoints; watchpoint_t **watchpoint_p = &target->watchpoints; @@ -234,7 +234,7 @@ static void watchpoint_free(target_t *target, watchpoint_t *watchpoint_remove) free(watchpoint); } -void watchpoint_remove(target_t *target, u32 address) +void watchpoint_remove(target_t *target, uint32_t address) { watchpoint_t *watchpoint = target->watchpoints; watchpoint_t **watchpoint_p = &target->watchpoints; |