aboutsummaryrefslogtreecommitdiff
path: root/libctf
diff options
context:
space:
mode:
authorNick Alcock <nick.alcock@oracle.com>2024-01-05 11:12:37 +0000
committerNick Alcock <nick.alcock@oracle.com>2024-04-19 16:14:46 +0100
commitbb2a9a465e02e8cee00736351d10bde914f50758 (patch)
tree887952412c75b385f0baca1e19983886086eaeb0 /libctf
parent4fa4e3d92ac3940305b4521aef3e58555a4aa4b5 (diff)
downloadgdb-bb2a9a465e02e8cee00736351d10bde914f50758.zip
gdb-bb2a9a465e02e8cee00736351d10bde914f50758.tar.gz
gdb-bb2a9a465e02e8cee00736351d10bde914f50758.tar.bz2
libctf: fix a comment typo
ctf_update has been called ctf_serialize for years now. libctf/ * ctf-impl.h: Fix comment typo.
Diffstat (limited to 'libctf')
-rw-r--r--libctf/ctf-impl.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/libctf/ctf-impl.h b/libctf/ctf-impl.h
index dc57d6f..b712331 100644
--- a/libctf/ctf-impl.h
+++ b/libctf/ctf-impl.h
@@ -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
{