aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorSergio Durigan Junior <sergiodj@redhat.com>2013-12-29 18:55:11 -0200
committerSergio Durigan Junior <sergiodj@redhat.com>2013-12-29 18:55:11 -0200
commitc248fc1d2638dc283f455b51b89bc7d5f81a2a8c (patch)
treea05fee3d101df26a189bc438210c53e43fceeea5 /gdb
parent46f2883cdf5b77f0fe929c0b2992971fab0ce11f (diff)
downloadgdb-c248fc1d2638dc283f455b51b89bc7d5f81a2a8c.zip
gdb-c248fc1d2638dc283f455b51b89bc7d5f81a2a8c.tar.gz
gdb-c248fc1d2638dc283f455b51b89bc7d5f81a2a8c.tar.bz2
Add comment describing arm_stap_is_single_operand
2013-12-29 Sergio Durigan Junior <sergiodj@redhat.com> * arm-linux-tdep.c (arm_stap_is_single_operand): Add comment describing function.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/arm-linux-tdep.c3
2 files changed, 8 insertions, 0 deletions
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)
{