From: Sergio Durigan Junior Date: Sun, 29 Dec 2013 20:55:11 +0000 (-0200) Subject: Add comment describing arm_stap_is_single_operand X-Git-Tag: hjl/linux/release/2.24.51.0.3~1^2~21^2~72 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c248fc1d2638dc283f455b51b89bc7d5f81a2a8c;p=thirdparty%2Fbinutils-gdb.git Add comment describing arm_stap_is_single_operand 2013-12-29 Sergio Durigan Junior * arm-linux-tdep.c (arm_stap_is_single_operand): Add comment describing function. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 02db7089e78..5c01e0afb51 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2013-12-29 Sergio Durigan Junior + + * arm-linux-tdep.c (arm_stap_is_single_operand): Add comment + describing function. + 2013-12-28 Sergio Durigan Junior * 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 830b2ebc7ac..4b7bd6794ba 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) {