diff options
author | Joel Brobecker <brobecker@gnat.com> | 2008-05-15 19:24:46 +0000 |
---|---|---|
committer | Joel Brobecker <brobecker@gnat.com> | 2008-05-15 19:24:46 +0000 |
commit | cfe9d0043a8ddc03ed5f69c0c7ca6bb56f6fa62a (patch) | |
tree | 96ae9ddfa0862fb4b36fc93e21c3ba49b39fbf38 | |
parent | ea322135f4316e94856eca80f028b695ac78de8d (diff) | |
download | gdb-cfe9d0043a8ddc03ed5f69c0c7ca6bb56f6fa62a.tar.gz |
* linespec.c (decode_line_1): Fix a couple of comments.
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/linespec.c | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index fd6d75300ae..d0e5df8c80d 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2008-05-15 Joel Brobecker <brobecker@adacore.com> + + * linespec.c (decode_line_1): Fix a couple of comments. + 2008-05-15 Alan Modra <amodra@bigpond.net.au> * dbxread.c: Formatting. diff --git a/gdb/linespec.c b/gdb/linespec.c index c63f1620e65..106cb880716 100644 --- a/gdb/linespec.c +++ b/gdb/linespec.c @@ -771,7 +771,7 @@ decode_line_1 (char **argptr, int funfirstline, struct symtab *default_symtab, return decode_compound (argptr, funfirstline, canonical, saved_arg, p); - /* No, the first part is a filename; set s to be that file's + /* No, the first part is a filename; set file_symtab to be that file's symtab. Also, move argptr past the filename. */ file_symtab = symtab_from_filename (argptr, p, is_quote_enclosed, @@ -812,7 +812,7 @@ decode_line_1 (char **argptr, int funfirstline, struct symtab *default_symtab, } #endif - /* S is specified file's symtab, or 0 if no file specified. + /* file_symtab is specified file's symtab, or 0 if no file specified. arg no longer contains the file name. */ /* Check whether arg is all digits (and sign). */ |