diff options
author | Doug Evans <dje@google.com> | 2012-07-13 21:50:27 +0000 |
---|---|---|
committer | Doug Evans <dje@google.com> | 2012-07-13 21:50:27 +0000 |
commit | a2b6eff5c47ee70428e43a2b9b089d41c4913d89 (patch) | |
tree | ac0faff70c595e987dceffba4a664ee0212a437d /gdb | |
parent | 15e539f42abd653cdee2975486c3d3c7a507f152 (diff) | |
download | gdb-a2b6eff5c47ee70428e43a2b9b089d41c4913d89.zip gdb-a2b6eff5c47ee70428e43a2b9b089d41c4913d89.tar.gz gdb-a2b6eff5c47ee70428e43a2b9b089d41c4913d89.tar.bz2 |
* symtab.c (filename_seen): Update comment.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | 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 <dje@google.com> + + * symtab.c (filename_seen): Update comment. + 2012-07-13 Jan Kratochvil <jan.kratochvil@redhat.com> Doug Evans <dje@google.com> 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) |