]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
libctf: fix a comment typo
authorNick Alcock <nick.alcock@oracle.com>
Fri, 5 Jan 2024 11:12:37 +0000 (11:12 +0000)
committerNick Alcock <nick.alcock@oracle.com>
Fri, 19 Apr 2024 15:14:46 +0000 (16:14 +0100)
ctf_update has been called ctf_serialize for years now.

libctf/

* ctf-impl.h: Fix comment typo.

libctf/ctf-impl.h

index dc57d6f64c7052decd145fa5402ef1c9450bcac8..b7123317c984036d8316acd40ca31b56fa64e0a7 100644 (file)
@@ -199,13 +199,13 @@ typedef struct ctf_err_warning
 } ctf_err_warning_t;
 
 /* Atoms associate strings with a list of the CTF items that reference that
-   string, so that ctf_update() can instantiate all the strings using the
+   string, so that ctf_serialize() can instantiate all the strings using the
    ctf_str_atoms and then reassociate them with the real string later.
 
    Strings can be interned into ctf_str_atom without having refs associated
    with them, for values that are returned to callers, etc.  Items are only
-   removed from this table on ctf_close(), but on every ctf_update(), all the
-   csa_refs in all entries are purged.  */
+   removed from this table on ctf_close(), but on every ctf_serialize(), all
+   the csa_refs in all entries are purged.  */
 
 typedef struct ctf_str_atom
 {