This is the mail archive of the gdb-patches@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]

[commit/obvious] Add comment describing arm_stap_is_single_operand


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)
 {


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