[OBV] Fix typo in aarch64_linux_insert_hw_breakpoint

Message ID 1435852891-11513-1-git-send-email-yao.qi@linaro.org
State New, archived
Headers

Commit Message

Yao Qi July 2, 2015, 4:01 p.m. UTC
  It should be "insert_hw_breakpoint" rather than "insert_hw_watchpoint".
I'll push it in.

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.
---
 gdb/ChangeLog           | 5 +++++
 gdb/aarch64-linux-nat.c | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)
  

Patch

diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 5d0c7f5..97d0079 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 7f169a6..2cd20d1 100644
--- a/gdb/aarch64-linux-nat.c
+++ b/gdb/aarch64-linux-nat.c
@@ -1358,7 +1358,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;