Hi,
 
I have a question about breakpoint_find function from breakpoints.c, line 382:
```
struct breakpoint *breakpoint_find(struct target *target, target_addr_t address)
{
    struct breakpoint *breakpoint = target->breakpoints;
 
    while (breakpoint) {
        if (breakpoint->address == address)
            return breakpoint;
        breakpoint = breakpoint->next;
    }
 
    return NULL;
}
```
Does this function work correctly with software breakpoints in SMP targets? I think it's not, because software (internal) breakpoints are placed only to one target from group.
P.S. Also i don't understand idea about setting a software breakpoints in case of SMP targets only to one target, why we can't just add it to all of them (just like hw breakpoints)?
-- 
Kirill Radkin
kirill.rad...@syntacore.com
 


Reply via email to