This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[commit/obvious] Add comment describing arm_stap_is_single_operand
- From: Sergio Durigan Junior <sergiodj at redhat dot com>
- To: GDB Patches <gdb-patches at sourceware dot org>
- Date: Sun, 29 Dec 2013 19:04:36 -0200
- Subject: [commit/obvious] Add comment describing arm_stap_is_single_operand
- Authentication-results: sourceware.org; auth=none
I've pushed this in. It adds a missing comment describing
arm_stap_is_single_operand.
--
Sergio
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 02db708..5c01e0a 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2013-12-29 Sergio Durigan Junior <sergiodj@redhat.com>
+
+ * arm-linux-tdep.c (arm_stap_is_single_operand): Add comment
+ describing function.
+
2013-12-28 Sergio Durigan Junior <sergiodj@redhat.com>
* arm-linux-tdep.c (arm_stap_is_single_operand): Accept "$" as a
diff --git a/gdb/arm-linux-tdep.c b/gdb/arm-linux-tdep.c
index 830b2eb..4b7bd67 100644
--- a/gdb/arm-linux-tdep.c
+++ b/gdb/arm-linux-tdep.c
@@ -1113,6 +1113,9 @@ arm_linux_displaced_step_copy_insn (struct gdbarch *gdbarch,
return dsc;
}
+/* Implementation of `gdbarch_stap_is_single_operand', as defined in
+ gdbarch.h. */
+
static int
arm_stap_is_single_operand (struct gdbarch *gdbarch, const char *s)
{