summaryrefslogtreecommitdiff
path: root/gdb/linespec.c
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2008-05-15 19:24:46 +0000
committerJoel Brobecker <brobecker@gnat.com>2008-05-15 19:24:46 +0000
commitcfe9d0043a8ddc03ed5f69c0c7ca6bb56f6fa62a (patch)
tree96ae9ddfa0862fb4b36fc93e21c3ba49b39fbf38 /gdb/linespec.c
parentea322135f4316e94856eca80f028b695ac78de8d (diff)
downloadgdb-cfe9d0043a8ddc03ed5f69c0c7ca6bb56f6fa62a.tar.gz
* linespec.c (decode_line_1): Fix a couple of comments.
Diffstat (limited to 'gdb/linespec.c')
-rw-r--r--gdb/linespec.c4
1 files changed, 2 insertions, 2 deletions
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). */