This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[commit] symtab.c (filename_seen): Update comment.
- From: dje at google dot com (Doug Evans)
- To: gdb-patches at sourceware dot org
- Date: Fri, 13 Jul 2012 14:51:14 -0700 (PDT)
- Subject: [commit] symtab.c (filename_seen): Update comment.
Hi.
fyi, I committed this.
2012-07-13 Doug Evans <dje@google.com>
* symtab.c (filename_seen): Update comment.
diff -u -p -r1.317 symtab.c
--- symtab.c 13 Jul 2012 18:41:21 -0000 1.317
+++ symtab.c 13 Jul 2012 21:49:23 -0000
@@ -3153,10 +3153,9 @@ delete_filename_seen_cache (void *ptr)
xfree (cache);
}
-/* If FILE is not already in the table of files, return zero;
+/* If FILE is not already in the table of files in CACHE, return zero;
otherwise return non-zero. Optionally add FILE to the table if ADD
- is non-zero. If *FIRST is non-zero, forget the old table
- contents. */
+ is non-zero. */
static int
filename_seen (struct filename_seen_cache *cache, const char *file, int add)