int cpu_breakpoint_remove(CPUState *cpu, vaddr pc, int flags)

{

#if defined(TARGET_HAS_ICE)

    CPUBreakpoint *bp;



    QTAILQ_FOREACH(bp, &cpu->breakpoints, entry) {

        if (bp->pc == pc && bp->flags == flags) {

            cpu_breakpoint_remove_by_ref(cpu, bp);

            return 0;

        }

    }

    return -ENOENT;

#else

    return -ENOSYS;

#endif

}

int cpu_breakpoint_remove(CPUState *cpu, vaddr pc, int flags)

{

#if defined(TARGET_HAS_ICE)

    CPUBreakpoint *bp;



    QTAILQ_FOREACH(bp, &cpu->breakpoints, entry) {

        if (bp->pc == pc && bp->flags == flags) {

            cpu_breakpoint_remove_by_ref(cpu, bp);

            return 0;

        }

    }

    return -ENOENT;

#else

    return -ENOSYS;

#endif

}

int FUNC_0(CPUState *VAR_0, vaddr VAR_1, int VAR_2)

{

#if defined(TARGET_HAS_ICE)

    CPUBreakpoint *bp;



    QTAILQ_FOREACH(bp, &VAR_0->breakpoints, entry) {

        if (bp->VAR_1 == VAR_1 && bp->VAR_2 == VAR_2) {

            cpu_breakpoint_remove_by_ref(VAR_0, bp);

            return 0;

        }

    }

    return -ENOENT;

#else

    return -ENOSYS;

#endif

}

int FUNC_0(CPUState *VAR_0, vaddr VAR_1, int VAR_2)
{ #if defined(TARGET_HAS_ICE)
CPUBreakpoint *bp; QTAILQ_FOREACH(bp, &VAR_0->breakpoints, entry) { if (bp->VAR_1 == VAR_1 && bp->VAR_2 == VAR_2) { cpu_breakpoint_remove_by_ref(VAR_0, bp); return 0; } } return -ENOENT; #else
return -ENOSYS; #endif
}