summaryrefslogtreecommitdiff
path: root/src/target/breakpoints.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/target/breakpoints.c')
-rw-r--r--src/target/breakpoints.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/target/breakpoints.c b/src/target/breakpoints.c
index df797e37..16ab7e0c 100644
--- a/src/target/breakpoints.c
+++ b/src/target/breakpoints.c
@@ -157,7 +157,7 @@ void breakpoint_clear_target(struct target *target)
struct breakpoint *breakpoint;
LOG_DEBUG("Delete all breakpoints for target: %s",
- target_type_name(target));
+ target_name(target));
while ((breakpoint = target->breakpoints) != NULL)
{
breakpoint_free(target, breakpoint);
@@ -294,7 +294,7 @@ void watchpoint_clear_target(struct target *target)
struct watchpoint *watchpoint;
LOG_DEBUG("Delete all watchpoints for target: %s",
- target_type_name(target));
+ target_name(target));
while ((watchpoint = target->watchpoints) != NULL)
{
watchpoint_free(target, watchpoint);