This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
[binutils-gdb] Update comment of linespec_lexer_lex_keyword.
- From: Keith Seitz <kseitz at sourceware dot org>
- To: gdb-cvs at sourceware dot org
- Date: 23 Mar 2015 20:32:41 -0000
- Subject: [binutils-gdb] Update comment of linespec_lexer_lex_keyword.
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=32b40af94e919e235c21486110311647cbeecf2e
commit 32b40af94e919e235c21486110311647cbeecf2e
Author: Keith Seitz <keiths@redhat.com>
Date: Mon Mar 23 13:32:01 2015 -0700
Update comment of linespec_lexer_lex_keyword.
gdb/ChangeLog
* linespec.c (linespec_lexer_lex_keyword): Update comment.
Diff:
---
gdb/ChangeLog | 4 ++++
gdb/linespec.c | 3 +--
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 4a25d42..3c59d09 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,9 @@
2015-03-23 Keith Seitz <keiths@redhat.com>
+ * linespec.c (linespec_lexer_lex_keyword): Update comment.
+
+2015-03-23 Keith Seitz <keiths@redhat.com>
+
* breakpoint.c (parse_breakpoint_sals): Use
linespec_lexer_lex_keyword to ascertain if the user specified
a NULL location.
diff --git a/gdb/linespec.c b/gdb/linespec.c
index 90c07a2..d2089b5 100644
--- a/gdb/linespec.c
+++ b/gdb/linespec.c
@@ -414,8 +414,7 @@ linespec_lexer_lex_number (linespec_parser *parser, linespec_token *tokenp)
return 1;
}
-/* Does P represent one of the keywords? If so, return
- the keyword. If not, return NULL. */
+/* See linespec.h. */
const char *
linespec_lexer_lex_keyword (const char *p)