aboutsummaryrefslogtreecommitdiff
path: root/gprof/bb_exit_func.c
diff options
context:
space:
mode:
authorYao Qi <yao.qi@linaro.org>2015-07-23 11:22:34 +0100
committerYao Qi <yao.qi@linaro.org>2015-07-23 11:22:34 +0100
commitc2fbdc5901a9220d0953f14c27760c3d3ae13074 (patch)
treebdf1407b9eff8671755ab2ddbf299e73fd36712f /gprof/bb_exit_func.c
parent070fe95d07c78349f0c8f0fa90aeb92d05248483 (diff)
downloadgdb-c2fbdc5901a9220d0953f14c27760c3d3ae13074.zip
gdb-c2fbdc5901a9220d0953f14c27760c3d3ae13074.tar.gz
gdb-c2fbdc5901a9220d0953f14c27760c3d3ae13074.tar.bz2
Return zero in aarch64_linux_can_use_hw_breakpoint if target doesn't support HW watchpoint/breakpoint
Nowadays aarch64_linux_can_use_hw_breakpoint always return one, but it can be smarter, say, if GDB knows target doesn't support HW watchpoint or breakpoint because HW watchpoint/breakpoint is disabled in linux kernel, for example, it can safely return zero. gdb: 2015-07-23 Yao Qi <yao.qi@linaro.org> * aarch64-linux-nat.c (aarch64_linux_can_use_hw_breakpoint): If TYPE is watchpoint, return zero if aarch64_num_wp_regs is zero. If TYPE is breakpoint, return zero if arch64_num_bp_regs is zero.
Diffstat (limited to 'gprof/bb_exit_func.c')
0 files changed, 0 insertions, 0 deletions