Fix typo in aarch64_linux_insert_hw_breakpoint

It should be "insert_hw_breakpoint" rather than "insert_hw_watchpoint".

gdb:

2015-07-02  Yao Qi  <yao.qi@linaro.org>

	* aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Fix
	typo in the debugging message.
This commit is contained in:
Yao Qi 2015-07-02 14:03:54 +01:00
parent db49d3d041
commit 2fd0f80d57
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2015-07-02 Yao Qi <yao.qi@linaro.org>
* aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Fix
typo in the debugging message.
2015-07-02 Markus Metzger <markus.t.metzger@intel.com>
* btrace.c: Include gdbcmd.h, cli/cli-utils.h, and ctype.h.

View File

@ -1207,7 +1207,7 @@ aarch64_linux_insert_hw_breakpoint (struct target_ops *self,
= aarch64_get_debug_reg_state (ptid_get_pid (inferior_ptid));
aarch64_show_debug_reg_state (state,
"insert_hw_watchpoint", addr, len, type);
"insert_hw_breakpoint", addr, len, type);
}
return ret;