aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Alcock <nick.alcock@oracle.com>2024-04-26 17:50:20 +0100
committerNick Alcock <nick.alcock@oracle.com>2024-05-17 12:58:17 +0100
commit7bc376bb9705cf66eea7b9a39442852b173ba6eb (patch)
treea417476c6ccbf91b835a0848fb0b455c49e26cfe
parent44fc9616c2e74396395f60c9a601317e4c4c4733 (diff)
downloadgdb-7bc376bb9705cf66eea7b9a39442852b173ba6eb.zip
gdb-7bc376bb9705cf66eea7b9a39442852b173ba6eb.tar.gz
gdb-7bc376bb9705cf66eea7b9a39442852b173ba6eb.tar.bz2
libctf: typos
Some functions were renamed without the comments catching up. libctf/ * ctf-open.c (upgrade_types_v1): Fix comment typos.
-rw-r--r--libctf/ctf-open.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libctf/ctf-open.c b/libctf/ctf-open.c
index 9cbf076..03faf2d 100644
--- a/libctf/ctf-open.c
+++ b/libctf/ctf-open.c
@@ -438,7 +438,7 @@ upgrade_types_v1 (ctf_dict_t *fp, ctf_header_t *cth)
tbuf = (ctf_type_v1_t *) (fp->ctf_buf + cth->cth_typeoff);
tend = (ctf_type_v1_t *) (fp->ctf_buf + cth->cth_stroff);
- /* Much like init_types(), this is a two-pass process.
+ /* Much like init_static_types(), this is a two-pass process.
First, figure out the new type-section size needed. (It is possible,
in theory, for it to be less than the old size, but this is very
@@ -636,7 +636,7 @@ upgrade_types_v1 (ctf_dict_t *fp, ctf_header_t *cth)
/* Verify that the entire region was converted. If not, we are either
converting too much, or too little (leading to a buffer overrun either here
- or at read time, in init_types().) */
+ or at read time, in init_static_types().) */
assert ((size_t) t2p - (size_t) fp->ctf_buf == cth->cth_stroff);