aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNick Alcock <nick.alcock@oracle.com>2024-06-11 19:46:57 +0100
committerNick Alcock <nick.alcock@oracle.com>2024-06-18 13:20:31 +0100
commitf7b02dc3e12f9a8b7f04dee4b8fbcfc05305cbe7 (patch)
treeb120fcb7e8f70616dfd1bfef868a4481956ec4af /include
parent1cdcc977329d8729745ad5f1389a39b9dc423754 (diff)
downloadgdb-f7b02dc3e12f9a8b7f04dee4b8fbcfc05305cbe7.zip
gdb-f7b02dc3e12f9a8b7f04dee4b8fbcfc05305cbe7.tar.gz
gdb-f7b02dc3e12f9a8b7f04dee4b8fbcfc05305cbe7.tar.bz2
include: fix libctf ECTF_NOENUMNAM error message
ECTF_NOENUMNAM is emitted when enumerator constant names don't exist. Call them that, not 'enum elements'. include/ * ctf-api.h (ECTF_NOENUMNAM): fix error message.
Diffstat (limited to 'include')
-rw-r--r--include/ctf-api.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/ctf-api.h b/include/ctf-api.h
index 392964a..85734af 100644
--- a/include/ctf-api.h
+++ b/include/ctf-api.h
@@ -219,7 +219,7 @@ typedef struct ctf_snapshot_id
_CTF_ITEM (ECTF_NOLABEL, "No label found corresponding to name.") \
_CTF_ITEM (ECTF_NOLABELDATA, "File does not contain any labels.") \
_CTF_ITEM (ECTF_NOTSUP, "Feature not supported.") \
- _CTF_ITEM (ECTF_NOENUMNAM, "Enum element name not found.") \
+ _CTF_ITEM (ECTF_NOENUMNAM, "Enumerator name not found.") \
_CTF_ITEM (ECTF_NOMEMBNAM, "Member name not found.") \
_CTF_ITEM (ECTF_RDONLY, "CTF container is read-only.") \
_CTF_ITEM (ECTF_DTFULL, "CTF type is full (no more members allowed).") \