From a2b6eff5c47ee70428e43a2b9b089d41c4913d89 Mon Sep 17 00:00:00 2001 From: Doug Evans Date: Fri, 13 Jul 2012 21:50:27 +0000 Subject: [PATCH] * symtab.c (filename_seen): Update comment. --- gdb/ChangeLog | 4 ++++ gdb/symtab.c | 5 ++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index b888489..5e96444 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2012-07-13 Doug Evans + + * symtab.c (filename_seen): Update comment. + 2012-07-13 Jan Kratochvil Doug Evans diff --git a/gdb/symtab.c b/gdb/symtab.c index e19c850..d116e57 100644 --- a/gdb/symtab.c +++ b/gdb/symtab.c @@ -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) -- 2.7.4