Fix typo in aarch64_linux_insert_hw_breakpoint
authorYao Qi <yao.qi@linaro.org>
Thu, 2 Jul 2015 13:03:54 +0000 (14:03 +0100)
committerYao Qi <yao.qi@linaro.org>
Thu, 2 Jul 2015 16:02:05 +0000 (17:02 +0100)
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.

gdb/ChangeLog
gdb/aarch64-linux-nat.c

index 5d0c7f5f73f07c72df726a175cc812b85685865b..97d00795da3f7200d6a36e859df03174ce256fe1 100644 (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.
index aae48538bc01f4eb54ca977719baa4f176b9e645..9959b81a2d4d18ee71fde322c455b7d95bba51e5 100644 (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;