From: Joel Brobecker Date: Thu, 15 May 2008 19:24:46 +0000 (+0000) Subject: * linespec.c (decode_line_1): Fix a couple of comments. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bc882aa93773516867c0fb64b3e992c77787a58c;p=binutils-gdb.git * linespec.c (decode_line_1): Fix a couple of comments. --- 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 + + * linespec.c (decode_line_1): Fix a couple of comments. + 2008-05-15 Alan Modra * 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). */