aboutsummaryrefslogtreecommitdiff
path: root/libctf/ctf-archive.c
diff options
context:
space:
mode:
authorNick Alcock <nick.alcock@oracle.com>2021-01-05 13:25:56 +0000
committerNick Alcock <nick.alcock@oracle.com>2021-01-05 14:53:40 +0000
commit8769046e5a9bb4b0d2a37e501def26941a8c710a (patch)
treeddaaf77c5207d09f3fc2e2b3fa4e2322476e6985 /libctf/ctf-archive.c
parent6c3a38777b38a2ad87e2b2bcec4567578d1c83ec (diff)
downloadgdb-8769046e5a9bb4b0d2a37e501def26941a8c710a.zip
gdb-8769046e5a9bb4b0d2a37e501def26941a8c710a.tar.gz
gdb-8769046e5a9bb4b0d2a37e501def26941a8c710a.tar.bz2
libctf: remove outdated comment about parent dict importing
Parent dicts are nowadays imported automatically in most situations, so the comment in ctf_archive_iter warning people that they need to import parents by hand is wrong. Remove it. libctf/ChangeLog 2021-01-05 Nick Alcock <nick.alcock@oracle.com> * ctf-archive.c (ctf_archive_iter): Remove outdated comment.
Diffstat (limited to 'libctf/ctf-archive.c')
-rw-r--r--libctf/ctf-archive.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/libctf/ctf-archive.c b/libctf/ctf-archive.c
index d8c4845..193fc4d 100644
--- a/libctf/ctf-archive.c
+++ b/libctf/ctf-archive.c
@@ -1021,9 +1021,7 @@ ctf_archive_iter (const ctf_archive_t *arc, ctf_archive_member_f *func,
/* Iterate over all CTF files in an archive, returning each dict in turn as a
ctf_dict_t, and NULL on error or end of iteration. It is the caller's
- responsibility to close it. Parent dicts may be skipped. Regardless of
- whether they are skipped or not, the caller must ctf_import the parent if
- need be.
+ responsibility to close it. Parent dicts may be skipped.
The archive member is cached for rapid return on future calls.