.. | .. |
---|
626 | 626 | hw->address &= ~alignment_mask; |
---|
627 | 627 | hw->ctrl.len <<= offset; |
---|
628 | 628 | |
---|
629 | | - if (is_default_overflow_handler(bp)) { |
---|
| 629 | + if (uses_default_overflow_handler(bp)) { |
---|
630 | 630 | /* |
---|
631 | 631 | * Mismatch breakpoints are required for single-stepping |
---|
632 | 632 | * breakpoints. |
---|
.. | .. |
---|
798 | 798 | * Otherwise, insert a temporary mismatch breakpoint so that |
---|
799 | 799 | * we can single-step over the watchpoint trigger. |
---|
800 | 800 | */ |
---|
801 | | - if (!is_default_overflow_handler(wp)) |
---|
| 801 | + if (!uses_default_overflow_handler(wp)) |
---|
802 | 802 | continue; |
---|
803 | 803 | step: |
---|
804 | 804 | enable_single_step(wp, instruction_pointer(regs)); |
---|
.. | .. |
---|
811 | 811 | info->trigger = addr; |
---|
812 | 812 | pr_debug("watchpoint fired: address = 0x%x\n", info->trigger); |
---|
813 | 813 | perf_bp_event(wp, regs); |
---|
814 | | - if (is_default_overflow_handler(wp)) |
---|
| 814 | + if (uses_default_overflow_handler(wp)) |
---|
815 | 815 | enable_single_step(wp, instruction_pointer(regs)); |
---|
816 | 816 | } |
---|
817 | 817 | |
---|
.. | .. |
---|
886 | 886 | info->trigger = addr; |
---|
887 | 887 | pr_debug("breakpoint fired: address = 0x%x\n", addr); |
---|
888 | 888 | perf_bp_event(bp, regs); |
---|
889 | | - if (is_default_overflow_handler(bp)) |
---|
| 889 | + if (uses_default_overflow_handler(bp)) |
---|
890 | 890 | enable_single_step(bp, addr); |
---|
891 | 891 | goto unlock; |
---|
892 | 892 | } |
---|