summaryrefslogtreecommitdiff
path: root/src/target/breakpoints.c
diff options
context:
space:
mode:
authorzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-06-18 07:09:35 +0000
committerzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-06-18 07:09:35 +0000
commit3c2eabd20f5182c53f0bfb0c6f2a9f2595434e87 (patch)
tree0da04be2583bc38b8771216eef38d0d0b1fb3ac9 /src/target/breakpoints.c
parentdb7e77237c5a8104b527aeb23a2546b4bab92d8a (diff)
downloadopenocd+libswd-3c2eabd20f5182c53f0bfb0c6f2a9f2595434e87.tar.gz
openocd+libswd-3c2eabd20f5182c53f0bfb0c6f2a9f2595434e87.tar.bz2
openocd+libswd-3c2eabd20f5182c53f0bfb0c6f2a9f2595434e87.tar.xz
openocd+libswd-3c2eabd20f5182c53f0bfb0c6f2a9f2595434e87.zip
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.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/target/breakpoints.c b/src/target/breakpoints.c
index 55524a76..07fcb3ad 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;