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 | bc882aa93773516867c0fb64b3e992c77787a58c (patch) | |
tree | 720a8e94820db8d2097efbf4bf940c499853c57d /gdb | |
parent | 906e58cab5ef4c02cbd341d913a3a07e4cba27df (diff) | |
download | gdb-bc882aa93773516867c0fb64b3e992c77787a58c.zip gdb-bc882aa93773516867c0fb64b3e992c77787a58c.tar.gz gdb-bc882aa93773516867c0fb64b3e992c77787a58c.tar.bz2 |
* linespec.c (decode_line_1): Fix a couple of comments.
Diffstat (limited to 'gdb')
-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 fd6d753..d0e5df8 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 c63f162..106cb88 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). */ |