diff options
author | Keith Seitz <keiths@redhat.com> | 2015-03-23 13:32:01 -0700 |
---|---|---|
committer | Keith Seitz <keiths@redhat.com> | 2015-03-23 13:32:01 -0700 |
commit | 32b40af94e919e235c21486110311647cbeecf2e (patch) | |
tree | 40e064474888bcb8f199ecf5210e314e281c48aa /gdb | |
parent | 693dca065a58bf2dd39df9cff019b0c65e15e132 (diff) | |
download | gdb-32b40af94e919e235c21486110311647cbeecf2e.zip gdb-32b40af94e919e235c21486110311647cbeecf2e.tar.gz gdb-32b40af94e919e235c21486110311647cbeecf2e.tar.bz2 |
Update comment of linespec_lexer_lex_keyword.
gdb/ChangeLog
* linespec.c (linespec_lexer_lex_keyword): Update comment.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | 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) |