summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYao Qi <yao.qi@linaro.org>2015-07-02 14:03:54 +0100
committerYao Qi <yao.qi@linaro.org>2015-07-02 17:02:05 +0100
commit2fd0f80d57e8437d70ba79921efd3ce02e755755 (patch)
tree954beca4a215e7b6c478a7ad45dd997a9f0e0da4
parentdb49d3d0414173fe8907dcae1cab0067d46c44cd (diff)
downloadbinutils-gdb-2fd0f80d57e8437d70ba79921efd3ce02e755755.tar.gz
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.
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/aarch64-linux-nat.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 5d0c7f5f73f..97d00795da3 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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.
diff --git a/gdb/aarch64-linux-nat.c b/gdb/aarch64-linux-nat.c
index aae48538bc0..9959b81a2d4 100644
--- a/gdb/aarch64-linux-nat.c
+++ b/gdb/aarch64-linux-nat.c
@@ -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;