aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@ericsson.com>2016-01-26 16:30:03 -0500
committerSimon Marchi <simon.marchi@ericsson.com>2016-01-26 16:30:03 -0500
commit41548caa9b7ffba43e856bd288b98cc1ab8c3e8f (patch)
treea6aa43a01629ad4d8e83bbb5c88f8f0b94df5fcd /gdb
parent67ebd9cbb17cc45730c15f0def617afe37da8451 (diff)
downloadgdb-41548caa9b7ffba43e856bd288b98cc1ab8c3e8f.zip
gdb-41548caa9b7ffba43e856bd288b98cc1ab8c3e8f.tar.gz
gdb-41548caa9b7ffba43e856bd288b98cc1ab8c3e8f.tar.bz2
Fix function comments
Two obvious fixes. gdb/ChangeLog: * common/common-utils.c (skip_spaces): Fix comment. (skip_to_space_const): Likewise.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/common/common-utils.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 099c10c..64ac558 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2016-01-26 Simon Marchi <simon.marchi@ericsson.com>
+
+ * common/common-utils.c (skip_spaces): Fix comment.
+ (skip_to_space_const): Likewise.
+
2016-01-25 Yao Qi <yao.qi@linaro.org>
* arch/arm-get-next-pcs.c (thumb_deal_with_atomic_sequence_raw):
diff --git a/gdb/common/common-utils.c b/gdb/common/common-utils.c
index c1b5eea..33668f3 100644
--- a/gdb/common/common-utils.c
+++ b/gdb/common/common-utils.c
@@ -253,7 +253,7 @@ strtoulst (const char *num, const char **trailer, int base)
return result;
}
-/* See documentation in cli-utils.h. */
+/* See documentation in common-utils.h. */
char *
skip_spaces (char *chp)
@@ -277,7 +277,7 @@ skip_spaces_const (const char *chp)
return chp;
}
-/* See documentation in cli-utils.h. */
+/* See documentation in common-utils.h. */
const char *
skip_to_space_const (const char *chp)