+2015-03-06 Yao Qi <yao.qi@linaro.org>
+
+ * linux-aarch64-low.c (aarch64_insert_point): Use
+ show_debug_regs as a boolean.
+ (aarch64_remove_point): Likewise.
+
2015-03-05 Pedro Alves <palves@redhat.com>
* lynx-low.c (lynx_target_ops): Install NULL hooks for
ret =
aarch64_handle_breakpoint (targ_type, addr, len, 1 /* is_insert */);
- if (show_debug_regs > 1)
+ if (show_debug_regs)
aarch64_show_debug_reg_state (aarch64_get_debug_reg_state (),
"insert_point", addr, len, targ_type);
ret =
aarch64_handle_breakpoint (targ_type, addr, len, 0 /* is_insert */);
- if (show_debug_regs > 1)
+ if (show_debug_regs)
aarch64_show_debug_reg_state (aarch64_get_debug_reg_state (),
"remove_point", addr, len, targ_type);