* linespec.c (decode_line_1): Fix a couple of comments.
authorJoel Brobecker <brobecker@gnat.com>
Thu, 15 May 2008 19:24:46 +0000 (19:24 +0000)
committerJoel Brobecker <brobecker@gnat.com>
Thu, 15 May 2008 19:24:46 +0000 (19:24 +0000)
gdb/ChangeLog
gdb/linespec.c

index fd6d753..d0e5df8 100644 (file)
@@ -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.
index c63f162..106cb88 100644 (file)
@@ -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).  */