This is the mail archive of the gdb-cvs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[binutils-gdb] Fix typo in aarch64_linux_insert_hw_breakpoint


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=2fd0f80d57e8437d70ba79921efd3ce02e755755

commit 2fd0f80d57e8437d70ba79921efd3ce02e755755
Author: Yao Qi <yao.qi@linaro.org>
Date:   Thu Jul 2 14:03:54 2015 +0100

    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.

Diff:
---
 gdb/ChangeLog           | 5 +++++
 gdb/aarch64-linux-nat.c | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

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 aae4853..9959b81 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;


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]