From 2fd0f80d57e8437d70ba79921efd3ce02e755755 Mon Sep 17 00:00:00 2001 From: Yao Qi Date: Thu, 2 Jul 2015 14:03:54 +0100 Subject: [PATCH] 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 * 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(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 5d0c7f5f73..97d00795da 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2015-07-02 Yao Qi + + * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Fix + typo in the debugging message. + 2015-07-02 Markus Metzger * 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 aae48538bc..9959b81a2d 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; -- 2.34.1