From c248fc1d2638dc283f455b51b89bc7d5f81a2a8c Mon Sep 17 00:00:00 2001 From: Sergio Durigan Junior Date: Sun, 29 Dec 2013 18:55:11 -0200 Subject: [PATCH] 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. --- gdb/ChangeLog | 5 +++++ gdb/arm-linux-tdep.c | 3 +++ 2 files changed, 8 insertions(+) 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) { -- 2.30.2